joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c4a8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x4b058e
call fcn.0049af0c
mov word [ebp - 0x14], 8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.00420308
pop ecx
add dword [ebp - 8], 3
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.004043a4
pop ecx
inc dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0x2bc
push edx
call fcn.004074e8
pop ecx
add dword [ebp - 8], 2
mov ecx, dword [ebp + 8]
add ecx, 0x2dc
push ecx
call fcn.004074e8
pop ecx
add dword [ebp - 8], 2
mov eax, dword [ebp + 8]
add eax, 0x2fc
push eax
call fcn.004074e8
pop ecx
add dword [ebp - 8], 2
push pe_nt_image_headers32
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xb8
push ecx
call fcn.004989f4
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [eax + 0x2b7], 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041c944
pop ecx
push eax
call fcn.0049b9e8
pop ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c63c
pop ecx
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x41d560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push esi
push edi
mov esi, 0x4b0f48
lea edi, [ebp - 0x70]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
lea ecx, [ebp - 0x70]
push ecx
call fcn.004986dc
add esp, 8
lea eax, [esi + 0xb8]
push eax
push edi
push ebx
push str._DEF_PASS_
push 0x4b0fdb
lea edx, [ebp - 0x70]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 4], ebx
push str._DEF_PASS_
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41d669
lea eax, [esi + 0xb8]
push eax
push edi
push ebx
push str._DEF_PASS_
push 0x4b0fef
lea edx, [ebp - 0x70]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 8], ebx
push str._DEF_PASS_
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
je 0x41d637
push esi
push edi
mov esi, 0x4b0ff5
lea edi, [ebp - 0x70]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push ebx
lea edx, [ebp - 0x70]
push edx
call fcn.004986dc
add esp, 8
lea ecx, [esi + 0xb8]
push ecx
push edi
push ebx
push str._DEF_PASS_
push 0x4b0fdb
lea eax, [ebp - 0x70]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebp - 0xc], ebx
push str._DEF_PASS_
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41d669
add esi, 0xb8
push esi
push edi
push ebx
push str._DEF_PASS_
push 0x4b0fdb
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, ebx
push str._DEF_PASS_
push esi
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
jne 0x41d67e
xor eax, eax
jmp 0x41d680
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dd2c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
xor eax, eax
lea ecx, [ebp - 0x268]
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, 0x4b0f1c
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [edi + 0x2c]
lea edi, [ebp - 0x268]
mov ebx, 1
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
mov edx, dword [ebp + 0xc]
add edx, 8
pop esi
push edx
push ecx
call fcn.004986dc
add esp, 8
cmp dword [ebp - 4], 0
jne 0x41dde7
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.0049d914
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x268]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41dde7
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push eax
push esi
call fcn.0041e29c
add esp, 0xc
test eax, eax
jne 0x41df3e
inc ebx
cmp dword [ebp - 4], 0
je 0x41dd78
cmp dword [esi + 0x2b8], 0
jne 0x41df3e
lea edx, [esi + 0xb8]
lea ecx, [ebp - 0x204]
push edx
push pe_nt_image_headers32
push ecx
lea eax, [edi + 8]
push eax
lea edx, [edi + 0xd3]
push edx
lea ecx, [ebp - 0x268]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41dec8
push esi
push edi
lea esi, [edi + 0xd9]
lea edi, [ebp - 0x268]
mov eax, edi
lea edx, [ebp - 0x204]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edx
lea ecx, [ebp - 0x268]
push ecx
call fcn.004986dc
add esp, 8
mov ebx, 1
cmp dword [ebp - 4], 0
jne 0x41dec8
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.0049d914
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x268]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41dec8
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push eax
push esi
call fcn.0041e29c
add esp, 0xc
test eax, eax
jne 0x41df3e
inc ebx
cmp dword [ebp - 4], 0
je 0x41de5d
cmp dword [ebp - 4], 0
mov ebx, 1
jne 0x41df3e
push ebx
lea eax, [edi + 0x114]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x284]
push ecx
call fcn.0049d914
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x204]
lea ecx, [edi + 8]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0x284]
lea edx, [edi + 0xe0]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41df3e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push eax
push esi
call fcn.0041e29c
add esp, 0xc
test eax, eax
jne 0x41df3e
inc ebx
cmp dword [ebp - 4], 0
je 0x41ded3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc70
mov eax, 0x4b06bc
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ebx, dword [ebp + 8]
call fcn.0049af0c
push ebx
call fcn.0041e9d8
pop ecx
mov esi, 1
push esi
push str.ClientCheckDLL
push 0x4b102b
lea eax, [ebp - 0x50]
push eax
call fcn.0049d914
add esp, 0x10
lea edx, [ebx + 0xb8]
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0x50]
push edx
push 0xa0
push ecx
push 0x4b0f24
push eax
push 0x4b1046
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41e9c6
inc esi
mov word [edi + 0x10], 8
lea edx, [ebp - 4]
push edx
call fcn.004a7930
pop ecx
inc dword [edi + 0x1c]
inc dword [edi + 0x1c]
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x14
lea ecx, [ebp - 0xf0]
push ecx
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e8d0
push 0xa0
lea edx, [ebp - 0x190]
push edx
push 0x7ff
mov ecx, dword [ebx + 4]
push ecx
call sub.USER32.dll_LoadStringA
jmp 0x41e975
push str.HandleClientEvent
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 8], eax
test eax, eax
jne 0x41e90a
push 0xa0
lea edx, [ebp - 0x190]
push edx
push 0x800
mov ecx, dword [ebx + 4]
push ecx
call sub.USER32.dll_LoadStringA
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_FreeLibrary
jmp 0x41e975
push 0xa0
lea edx, [ebp - 0x190]
push edx
push 0x7fe
mov ecx, dword [ebx + 4]
push ecx
call sub.USER32.dll_LoadStringA
mov word [edi + 0x10], 0x20
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004a79d0
add esp, 8
lea ecx, [ebp - 0x10]
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a7618
add esp, 0x10
dec dword [edi + 0x1c]
push 2
lea edx, [ebp - 0x10]
push edx
call fcn.004a8304
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebx + 8]
push eax
call fcn.00420418
add esp, 8
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x190]
push ecx
lea eax, [ebp - 0x390]
push eax
call fcn.0049d914
add esp, 0xc
lea edx, [ebp - 0x390]
push edx
push 0x12
push 0x403
mov ecx, dword [ebx]
push ecx
call sub.USER32.dll_SendMessageA
sub dword [edi + 0x1c], 2
add dword [edi + 0x1c], 2
dec dword [edi + 0x1c]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004a8304
add esp, 8
jmp 0x41e838
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ea70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
lea ecx, [ebp - 0x64]
push ebx
push esi
push edi
lea edi, [ebp - 0x64]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, edi
mov byte [ebx + 0x31c], 0
push esi
mov esi, 0x4b0f48
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [ebp + 0xc]
pop esi
add edx, 8
push edx
push ecx
call fcn.004986dc
add esp, 8
lea eax, [ebx + 0xb8]
lea edx, [ebx + 0x31c]
lea ecx, [ebp - 0x64]
push eax
push pe_nt_image_headers32
push edx
push 0x4b0f24
push esi
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41eb6b
cmp dword [ebx + 0x2b8], 0
jne 0x41eb6b
lea edi, [ebx + 0xb8]
lea eax, [ebp - 0xc8]
push edi
push 0x64
push eax
push 0x4b0f24
lea edx, [ebp - 0x64]
push 0x4b0fef
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41eb4a
push esi
push edi
lea edi, [ebp - 0x64]
mov esi, 0x4b0ff5
mov eax, edi
lea edx, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edx
lea ecx, [ebp - 0x64]
push ecx
call fcn.004986dc
add esp, 8
lea eax, [ebx + 0x31c]
lea edx, [ebp - 0x64]
push edi
push pe_nt_image_headers32
push eax
push 0x4b0f24
push esi
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41eb6b
push edi
add ebx, 0x31c
push pe_nt_image_headers32
push ebx
push 0x4b0f24
push esi
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41eb76
mov eax, 1
jmp 0x41eb78
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ee9c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
mov eax, 0x4b0738
push ebx
push esi
push edi
mov edi, 0x4b0f1c
mov ebx, dword [ebp + 8]
call fcn.0049af0c
lea edx, [ebx + 0x2bc]
push edx
call fcn.00407b90
pop ecx
mov esi, 1
push esi
lea eax, [edi + 0x19a]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0049d914
add esp, 0x10
lea eax, [ebx + 0xb8]
lea edx, [ebp - 0x2c8]
lea ecx, [edi + 0x1a6]
push eax
push pe_nt_image_headers32
push edx
push ecx
lea eax, [ebp - 0xc8]
lea edx, [edi + 0x19f]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [edi + 0x1a6]
push ecx
lea eax, [ebp - 0x2c8]
push eax
call sub.KERNEL32.dll_lstrcmpA
test eax, eax
je 0x41ef74
mov word [ebp - 0x18], 8
lea edx, [ebp - 0x2c8]
push edx
lea ecx, [ebp - 4]
push ecx
call fcn.004a79d0
add esp, 8
inc dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
lea edx, [ebx + 0x2bc]
push edx
call fcn.0040773c
add esp, 8
dec dword [ebp - 0xc]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.004a8304
add esp, 8
inc esi
jmp 0x41eecc
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f28c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
mov eax, 0x4b079c
push ebx
push esi
push edi
mov edi, 0x4b0f1c
mov esi, dword [ebp + 8]
call fcn.0049af0c
lea edx, [esi + 0x2dc]
push edx
call fcn.00407b90
pop ecx
mov ebx, 1
push ebx
lea eax, [edi + 9]
push eax
lea edx, [edi + 0x10f]
push edx
lea ecx, [ebp - 0x44]
push ecx
call fcn.0049d914
add esp, 0x10
lea eax, [esi + 0xb8]
lea edx, [ebp - 0x144]
lea ecx, [edi + 8]
push eax
push 0xff
push edx
push ecx
lea eax, [ebp - 0x44]
lea edx, [edi + 0x1cc]
push eax
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41f362
movsx eax, byte [ebp - 0x144]
cmp eax, 0x44
je 0x41f310
cmp eax, 0x41
jne 0x41f35c
movsx edx, byte [ebp - 0x143]
cmp edx, 0x2c
jne 0x41f35c
mov word [ebp - 0x18], 8
lea ecx, [ebp - 0x144]
push ecx
lea eax, [ebp - 4]
push eax
call fcn.004a79d0
add esp, 8
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
lea ecx, [esi + 0x2dc]
push ecx
call fcn.0040773c
add esp, 8
dec dword [ebp - 0xc]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004a8304
add esp, 8
inc ebx
jmp 0x41f2bc
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f614
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x4b07e0
push ebx
push esi
push edi
call fcn.0049af0c
mov word [ebp - 0x1c], 8
lea edx, [ebp - 4]
push edx
call fcn.004a7930
pop ecx
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x2fc
push ecx
call fcn.00407b90
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xb8
lea edx, [ebp - 0x130]
push eax
push 0xff
push edx
push 0x4b0f24
push 0x4b10f9
push 0x4b10f2
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov byte [ebp - 0x32], 0
test eax, eax
jne 0x41f6a3
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.004a8304
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
jmp 0x41f76f
lea edi, [ebp - 0x130]
push 0x2c
push edi
call fcn.004988ed
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41f6c3
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
xor esi, esi
mov word [ebp - 0x1c], 0x14
mov ebx, edi
jmp 0x41f6de
movsx eax, byte [ebx]
test byte [eax*2 + 0x4cf547], 1
jne 0x41f6e9
inc esi
inc ebx
push edi
call fcn.004987e8
pop ecx
cmp eax, esi
ja 0x41f6cf
mov word [ebp - 0x1c], 0x20
push edi
call fcn.00454ca4
pop ecx
push eax
lea edx, [ebp - 8]
push edx
call fcn.004a79d0
add esp, 8
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
lea eax, [ebp - 4]
push 0xffffffffffffffff
push 0
push ecx
push eax
call fcn.004a7618
add esp, 0x10
dec dword [ebp - 0x10]
push 2
lea edx, [ebp - 8]
push edx
call fcn.004a8304
add esp, 8
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x2fc
push eax
call fcn.0040773c
add esp, 8
cmp dword [ebp - 0x30], 0
je 0x41f74a
mov edi, dword [ebp - 0x30]
inc edi
cmp dword [ebp - 0x30], 0
jne 0x41f6a9
dec dword [ebp - 0x10]
push 2
lea eax, [ebp - 4]
push eax
call fcn.004a8304
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4211f4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x421ce4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x42fa04
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1a4], 6
jne 0x42fb18
test esi, esi
je 0x42fa3d
cmp esi, 0x17
je 0x42fa3d
push 0
push 0x422
push 1
push ebx
call fcn.0042e1a4
add esp, 0x10
jmp 0x42fb18
mov eax, dword [ebx + 0x9b]
test eax, eax
je 0x42fb06
add dword [ebx + 0x8f], eax
mov edx, dword [ebx + 0x9b]
neg edx
push edx
mov ecx, dword [ebx + 0x178]
push ecx
call fcn.0044f2e4
add esp, 8
test eax, eax
jne 0x42fa84
push 0
push 0x46f
push 1
push ebx
call fcn.0042e1a4
add esp, 0x10
jmp 0x42fb18
push 0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebx + 0x9b]
push edx
mov ecx, dword [ebx + 0x83]
push ecx
mov eax, dword [ebx + 0x97]
push eax
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x42fab3
mov edx, dword [ebp - 4]
cmp edx, dword [ebx + 0x9b]
je 0x42fad4
mov ecx, dword [ebx + 0x178]
push ecx
call fcn.0044f474
pop ecx
push 0
push 0x424
push 1
push ebx
call fcn.0042e1a4
add esp, 0x10
jmp 0x42fb18
xor eax, eax
cmp esi, 0x17
mov dword [ebx + 0x9b], eax
je 0x42fb18
push 0
lea edx, [ebx + 0x9b]
push edx
mov ecx, dword [ebx + 0x9f]
push ecx
mov eax, dword [ebx + 0x83]
push eax
mov edx, dword [ebx + 0x33]
push edx
call fcn.004570a8
add esp, 0x14
jmp 0x42fb18
push 0
push 0x423
push 0
push ebx
call fcn.0042e1a4
add esp, 0x10
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42fb20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x4b4f3e
push ebx
mov ebx, dword [ebp + 8]
call fcn.0049af0c
mov eax, dword [ebx + 0x1a4]
cmp eax, 5
je 0x42fb55
cmp eax, 7
je 0x42fb55
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, edx
jmp 0x42fd0f
cmp dword [ebp + 0xc], 0
je 0x42fbae
cmp dword [ebx + 0x1a4], 5
jne 0x42fb89
push 0
push 0x40a
push 1
push 1
push ebx
call fcn.0042ea50
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x42fd0f
push 0
push 0x40c
push 0
push 1
push ebx
call fcn.0042ea50
add esp, 0x14
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, edx
jmp 0x42fd0f
cmp dword [ebx + 0x1a4], 7
jne 0x42fc96
cmp dword [ebx + 0x73], 0
jne 0x42fbe6
push 0
push 0x40d
push 0
push 0
push ebx
call fcn.0042ea50
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x42fd0f
cmp byte [0x4b4f2d], 0
jne 0x42fc0c
mov word [ebp - 0x14], 8
push 0x4d1036
call fcn.004a7930
pop ecx
inc dword [ebp - 8]
dec dword [ebp - 8]
inc byte [0x4b4f2d]
push 0x4d1036
lea edx, [ebx + 0x63]
push edx
call fcn.00407a6c
add esp, 8
mov eax, dword [0x4d1036]
mov edx, dword [eax + 2]
push edx
mov ecx, dword [ebx + 0x33]
push ecx
call fcn.004572dc
add esp, 8
test eax, eax
je 0x42fc62
cmp eax, 0x10
je 0x42fc62
cmp eax, 0x1a
je 0x42fc62
push 0
push 0x40c
push 0
push 1
push ebx
call fcn.0042ea50
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
jmp 0x42fd0f
test eax, eax
je 0x42fc6b
cmp eax, 0x1a
jne 0x42fc8b
mov edx, dword [0x4d1036]
mov ecx, dword [edx + 6]
add ecx, 2
add dword [ebx + 0x8f], ecx
push 0
add ebx, 0x63
push ebx
call fcn.0040781c
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
jmp 0x42fd0f
mov edx, dword [ebx + 0x9b]
lea ecx, [ebp - 0x28]
add dword [ebx + 0x8f], edx
push 0
push ecx
push 0x8000
mov eax, dword [ebx + 0x83]
push eax
mov edx, dword [ebx + 0x97]
push edx
call sub.KERNEL32.dll_ReadFile
cmp dword [ebp - 0x28], 0
je 0x42fce6
lea ecx, [ebx + 0x9b]
push ecx
mov eax, dword [ebp - 0x28]
push eax
mov edx, dword [ebx + 0x83]
push edx
mov ecx, dword [ebx + 0x33]
push ecx
call fcn.00456fac
add esp, 0x10
jmp 0x42fd05
push 0
push 0x40b
push 1
push 0
push ebx
call fcn.0042ea50
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
jmp 0x42fd0f
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4341b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff78c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x5ac]
lea esi, [ebx + 0x7ac]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x434215
push esi
call fcn.00454f50
pop ecx
test eax, eax
je 0x434215
push esi
mov ecx, dword [ebx + 0x178]
push ecx
call fcn.0044f4a0
add esp, 8
push esi
call fcn.0049ea84
pop ecx
test eax, eax
je 0x434215
mov eax, dword [ebx + 0x178]
push eax
call fcn.0044f474
pop ecx
push esi
push edi
call sub.KERNEL32.dll_MoveFileA
test eax, eax
jne 0x434288
push 0xa0
lea edx, [ebp - 0x20c]
push edx
push 0x432
mov ecx, dword [ebx + 0x3b]
push ecx
call sub.USER32.dll_LoadStringA
cmp dword [ebx + 0x194], 0
setne al
and eax, 1
lea edx, [ebx + 0x3ac]
push eax
push edx
push esi
lea ecx, [ebp - 1]
push ecx
call fcn.004057fc
add esp, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
lea edx, [ebp - 0x40c]
push edx
call fcn.0049d914
add esp, 0xc
lea ecx, [ebp - 0x40c]
push ecx
push ebx
call fcn.0042d938
add esp, 8
jmp 0x434347
push 0xa0
lea eax, [ebp - 0x20c]
push eax
push 0x433
mov edx, dword [ebx + 0x3b]
push edx
call sub.USER32.dll_LoadStringA
lea ecx, [ebp - 0x20c]
push ecx
push ebx
call fcn.0042d938
add esp, 8
mov edx, edi
mov eax, dword [ebx + 0x17c]
cmp dword [eax], 0
je 0x4342d4
push pe_nt_image_headers32
push edx
mov ecx, dword [eax + 4]
add ecx, 0x68
push ecx
call fcn.004985c0
add esp, 0xc
mov edx, esi
mov eax, dword [ebx + 0x17c]
cmp dword [eax], 0
je 0x4342f9
push pe_nt_image_headers32
push edx
mov ecx, dword [eax + 4]
add ecx, 0x268
push ecx
call fcn.004985c0
add esp, 0xc
mov ebx, dword [ebx + 0x17c]
cmp dword [ebx], 0
je 0x434347
mov esi, dword [ebx + 4]
mov dword [esi], 0xf
xor eax, eax
mov dword [esi + 4], eax
push 0x468
push esi
lea edx, [ebp - 0x874]
push edx
call fcn.004985c0
add esp, 0xc
lea ecx, [ebp - 0x874]
push ecx
mov eax, dword [0x4be8ac]
push eax
call fcn.00454234
add esp, 8
mov edx, dword [ebp - 0x810]
mov dword [ebx + 8], edx
mov edi, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b478
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x64
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.00498630
add esp, 0xc
add edi, 0x4b
lea eax, [ebp - 0x118]
push edi
push 0xfa
push eax
push 0x4b68c6
push str.LogFont
push 0x4b68d1
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x43b55b
lea edx, [ebp - 0x17c]
lea ecx, [ebp - 0x18]
push edx
push ecx
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x10]
push eax
push edx
lea ecx, [ebp - 0xc]
lea eax, [ebp - 8]
push ecx
push eax
lea edx, [ebp - 4]
lea ecx, [ebp - 0x118]
push edx
push str._d__d__d__d__d__d__98c
push ecx
call fcn.0049d988
add esp, 0x24
cmp eax, 6
jl 0x43b55b
cmp byte [ebp - 0x17c], 0
je 0x43b55b
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x17c]
mov dword [esi], eax
mov bl, 1
mov edx, dword [ebp - 8]
mov dword [esi + 0x10], edx
mov cl, byte [ebp - 0xc]
mov byte [esi + 0x14], cl
mov al, byte [ebp - 0x10]
mov byte [esi + 0x15], al
lea eax, [esi + 0x1c]
mov dl, byte [ebp - 0x14]
mov byte [esi + 0x16], dl
mov cl, byte [ebp - 0x18]
mov byte [esi + 0x17], cl
push esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
test bl, bl
jne 0x43b5ce
push 0
push 0
push 0
push 0x4b6abb
call sub.GDI32.dll_CreateICA
mov ebx, eax
push 0x5a
push ebx
call sub.GDI32.dll_GetDeviceCaps
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x180]
fld xword [0x43b5f0]
fmulp st(1)
fstp dword [ebp - 0x1c]
push ebx
call sub.GDI32.dll_DeleteDC
fld dword [0x43b5fc]
fmul dword [ebp - 0x1c]
call fcn.004a2d8c
mov dword [esi], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x10], 0x1f4
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 0
mov byte [esi + 0x16], 0
mov byte [esi + 0x17], 0
push esi
mov edi, edx
mov eax, edi
mov esi, 0x4b68cb
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi + 8], edx
mov dword [esi + 4], edx
mov byte [esi + 0x18], 4
mov byte [esi + 0x19], 0
mov byte [esi + 0x1a], 0
mov byte [esi + 0x1b], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret