joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500850
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x500939
push ebp
push edi
push 0
mov ecx, 0x720e88
call fcn.0056e940
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x720e88
call fcn.0056e940
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x500905
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x720e88
call fcn.0056e940
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005001a0
test bl, 2
je 0x500937
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x720e88
call fcn.0056e940
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004ff8e0
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x108
ret 4
Function at 0x515e40
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x5c2f6c
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.00444980
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.00583630
mov ecx, esi
call fcn.00515650
pop edi
mov dword [0x6e5634], esi
mov ecx, esi
pop esi
jmp 0x515e40
sub esp, 0x2cc
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push esi
push edi
push 0xff
lea eax, [esp + 0x1dc]
push eax
push 0
mov ebp, ecx
call ebx
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.0058cbc0
lea edi, [esp + 0x1e0]
add esp, 8
mov byte [eax + 1], 0
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x515e90
mov ecx, 6
mov esi, 0x5cefb0
rep movsd dword es:[edi], dword [esi]
push 0xff
lea edx, [esp + 0xdc]
push edx
push 0
movsw word es:[edi], word [esi]
call ebx
lea eax, [esp + 0xd8]
push 0x5c
push eax
call fcn.0058cbc0
lea edi, [esp + 0xe0]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x515ed5
mov ecx, 7
mov esi, 0x5cefcc
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x1dc]
push 0x5cefec
push edx
movsb byte es:[edi], byte [esi]
call fcn.00516240
push 0xc8
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005899a0
push 0x5ceff4
lea ecx, [esp + 0x2c]
push ecx
push 0x5cf014
push 0x5cf01c
call fcn.0051c070
lea edx, [esp + 0x38]
push edx
call fcn.0058a676
push 0xc8
mov dword [ebp + 0x24c], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.005899a0
push 0x5cf028
lea ecx, [esp + 0x4c]
push ecx
push 0x5cf048
push 0x5cf04c
call fcn.0051c070
lea edx, [esp + 0x58]
add esp, 0x48
push edx
call fcn.0058a676
push 0xc8
mov dword [ebp + 0x250], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.005899a0
push 0x5cf058
lea ecx, [esp + 0x24]
push ecx
push 0x5cf078
push 0x5cf07c
call fcn.0051c070
lea edx, [esp + 0x30]
push edx
call fcn.0058a676
push 0xc8
mov dword [ebp + 0x254], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.005899a0
push 0x5cf088
lea ecx, [esp + 0x44]
push ecx
push 0x5cf0a8
push 0x5cf0ac
call fcn.0051c070
lea edx, [esp + 0x50]
add esp, 0x40
push edx
call fcn.0058a676
mov dword [ebp + 0x258], eax
add esp, 4
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x2cc
ret
Function at 0x5172b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x5cf43c
push eax
mov esi, ecx
xor bl, bl
call fcn.0058a01b
mov edi, eax
add esp, 8
test edi, edi
je 0x51737d
push edi
push 0x118
lea ecx, [esi + 0x14]
push 1
push ecx
call fcn.0058a499
add esp, 0x10
cmp eax, 0x118
jne 0x51734b
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
lea ecx, [eax + edx*2]
cmp dword [esi + 0x120], ecx
jne 0x51734b
mov edx, dword [esi + 0x124]
push edx
call fcn.00588a8a
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x51734b
push ebp
mov ebp, dword [esi + 0x124]
push edi
push ebp
push 1
push eax
call fcn.0058a499
add esp, 0x10
cmp ebp, eax
jne 0x51734a
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
mov bl, 1
pop ebp
push edi
call fcn.00589d1a
add esp, 4
test bl, bl
jne 0x51736f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x51736f
push eax
call fcn.00589a25
add esp, 4
mov dword [esi + 0x10], 0
pop edi
mov byte [esi + 0x128], bl
pop esi
mov al, bl
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4

Function at 0x5187e0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x519530
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x5196c0
cmp byte [esi + 0x49], 0
je 0x5196c0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x519575
xor al, al
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00589b64
add esp, 0x30
ret
push ebx
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.0042c680
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.005196e0
push ebp
lea ebx, [esi + 0x4c]
push edi
lea ecx, [esp + 0x20]
call fcn.0042c380
cmp dword [esp + 0x34], 0x10
mov ebp, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x20]
jae 0x5195b3
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00519d00
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
add edi, ebp
push edi
push eax
push ebx
call edx
sub eax, 0
je 0x51960d
dec eax
je 0x519611
sub eax, 2
push 0
lea ecx, [esp + 0x24]
push 1
je 0x5196a6
call fcn.0042c680
pop edi
pop ebp
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00589b64
add esp, 0x30
ret
mov byte [esi + 0x49], 0
mov eax, dword [esp + 0x20]
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
jae 0x519624
lea eax, [esp + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00519d00
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x10]
je 0x519672
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x51964b
lea eax, [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00519d00
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 0x18]
push eax
push edi
push 1
push ecx
call fcn.00589ee5
add esp, 0x10
cmp edi, eax
jne 0x519691
cmp byte [esi + 0x49], 0
je 0x51969e
test edi, edi
jne 0x519595
push edi
push 8
lea ecx, [esp + 0x28]
call fcn.00519280
jmp 0x519595
push 0
push 1
lea ecx, [esp + 0x28]
jmp 0x5195f3
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.0042c680
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00589b64
add esp, 0x30
ret
mov ecx, dword [esp + 0x30]
pop esi
xor ecx, esp
mov al, 1
call fcn.00589b64
add esp, 0x30
ret
Function at 0x51c070
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x124]
push edi
push 0xff
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0058cbc0
mov byte [eax + 1], 0
mov eax, esi
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x51c0d1
lea edi, [esp + 0x14]
sub eax, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x51c0e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
push eax
push 0xff
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x108
ret

Function at 0x51d080
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [esi], vtable.PingManager.0
push edi
xor edi, edi
push 0x1e
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0051d410
push edi
push edi
push edi
push 0x51d340
push edi
push edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], edi
call fcn.0058d102
add esp, 0x18
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x51d610
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x198
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
xor eax, eax
push 0x18e
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.005899a0
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x51d66c
xor al, al
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00589b64
add esp, 0x198
ret
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x51d654
push 4
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
je 0x51d654
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 8]
push edx
push 0x1005
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esp + 0x198]
cmp eax, 0xffffffff
setne al
pop esi
xor ecx, esp
call fcn.00589b64
add esp, 0x198
ret
Function at 0x525460
Capabilities:
Create directory

Disassembly:
sub esp, 0x480
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x47c], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x5254ba
push 0x7c9
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x1d
push 0x6f5218
call fcn.004d8470
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.00589b64
add esp, 0x480
ret
mov eax, dword [0x71e37c]
mov dword [esp + 4], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x5d07f0
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x5254a2
cmp dword [esi + 0xc], 0
jne 0x525521
push 0x5d08a0
mov ecx, esi
call fcn.00525b60
test eax, eax
jns 0x525505
push 0x7ca
jmp 0x525488
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
cmp dword [esi + 0xc], 0
je 0x525631
lea ecx, [esp + 0x18]
call fcn.00525ac0
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.005256d0
push 0
mov ecx, 0x720e88
call fcn.0056e940
push eax
lea edx, [esp + 0x27c]
push str._sScreenShot
push edx
call fcn.0058a079
add esp, 0xc
push 0
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x52558a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x52558a
push 0x7cc
jmp 0x525488
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x12]
push 0x5d08e0
push edx
movzx edx, word [esp + 0x18]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
push str.Capture
lea eax, [esp + 0x29c]
push eax
push str._s_s__d__02d__02d__02d__02d__02d__03d._s
lea ecx, [esp + 0x3a8]
push 0x104
push ecx
call fcn.0058a119
add esp, 0x34
lea edx, [esp + 0x37c]
push edx
push 0x7cd
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x1d
push 0x6f5218
call fcn.004d8470
mov eax, dword [esp + 0x14]
add esp, 0x10
push eax
push 4
push 0
lea ecx, [esp + 0x388]
push ecx
push esi
call fcn.00525cb0
test eax, eax
js 0x5254a2
mov ecx, dword [esp + 0x480]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00589b64
add esp, 0x480
ret
Function at 0x526020
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x526073
mov eax, dword [esp + 8]
push 0x5d0bdc
push eax
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x5260a9
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x526050
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x526050
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.00589ee5
push esi
call fcn.00589d1a
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x5260a9
mov ecx, dword [esp + 8]
push 0x5d0be0
push ecx
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x5260a9
mov edx, dword [esp + 0xc]
push edx
push 0x5d0be4
push esi
call fcn.0058b181
push esi
call fcn.00589d1a
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x527860
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x208
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push edi
mov edi, dword [esp + 0x214]
mov esi, ecx
mov dword [esp + 8], edi
test edi, edi
jne 0x52788e
xor eax, eax
jmp 0x52794a
push 0x5d0c70
push edi
call fcn.0058a01b
lea edx, [esi + 0x30]
add esp, 8
mov dword [esi + 4], eax
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5278a6
mov eax, dword [esi + 4]
test eax, eax
je 0x527887
push ebx
push ebp
push 2
push 0
push eax
call fcn.0058d22c
mov eax, dword [esi + 4]
push eax
call fcn.0058d574
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
mov ebx, eax
call fcn.0058d22c
add esp, 0x1c
mov ecx, esi
call fcn.00526dc0
mov edx, dword [esi + 4]
push edx
push 1
lea edi, [esi + 0x18]
push 0xc
push edi
call fcn.0058a499
mov eax, dword [edi]
sub eax, dword [esi + 0x1c]
add esp, 0x10
sub eax, dword [esi + 0x20]
lea ecx, [esi + 0x148]
push eax
call fcn.00582370
test eax, eax
jne 0x527963
push eax
push 0x38
push 0x5d0c8c
call fcn.0052c780
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str.Bin_File_Version_Error_____s
push edx
call fcn.0058a079
add esp, 0x18
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.00589b64
add esp, 0x208
ret 4
lea ecx, [esi + 0x148]
call fcn.00582350
test eax, eax
je 0x527a07
lea edi, [ebx - 0xe]
push edi
call fcn.00588a8a
add esp, 4
mov dword [esi + 0x28], eax
test eax, eax
jne 0x52799b
push eax
push 0x49
push 0x5d0cdc
call fcn.0052c780
add esp, 0xc
jmp 0x527946
push edi
push 0
push eax
call fcn.005899a0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 4]
add esp, 0xc
push ecx
push edi
push edx
push eax
lea ecx, [esi + 0x148]
call fcn.00582610
test eax, eax
jne 0x5279e7
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push str.File_Open_Error_:__s
push edx
call fcn.0058a079
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x1c]
jmp 0x52793d
mov ecx, dword [esi + 4]
push ecx
call fcn.00589d1a
mov eax, 1
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 0x2c], eax
jmp 0x527948
mov edx, dword [esi + 4]
push edx
push 1
lea eax, [esi + 0x24]
push 1
push eax
call fcn.0058a499
mov eax, dword [esi + 0x20]
add esp, 0x10
test eax, eax
je 0x527a3e
push eax
call fcn.00588a8a
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
push 1
push eax
mov dword [esi + 0x28], eax
call fcn.0058a499
add esp, 0x14
mov eax, dword [esi + 4]
push eax
push 1
lea ecx, [esi + 0x25]
push 1
push ecx
call fcn.0058a499
mov edx, dword [esi + 4]
push edx
call fcn.00589d1a
add esp, 0x14
mov ecx, esi
mov dword [esi + 4], 0
call fcn.00527230
test eax, eax
je 0x527946
call fcn.00526d80
test eax, eax
je 0x527946
mov eax, 1
mov dword [esi + 0x2c], eax
jmp 0x527948
Function at 0x52b3d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x114
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x18]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52b3f7
movsx eax, byte [esi]
push eax
call fcn.0058d99a
add esp, 4
test eax, eax
je 0x52b46f
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x52b4da
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x52b46e
nop
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0058b7c0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x20]
push 0x5d0fbc
push eax
call fcn.0058a079
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x52b430
pop edi
lea edx, [esp + 0x18]
push edx
push 0x20
push 0x702098
call fcn.0058d8e5
mov eax, dword [0x7020d8]
mov esi, dword [esp + 0x130]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x71d430]
jne 0x52b4b7
cmp dword [0x7020b8], 0
je 0x52b4b7
cmp dword [0x7020d4], 0
jne 0x52b4b7
mov ecx, 0x7020b8
call fcn.0051e030
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
pop esi
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x114
ret 8

Function at 0x52b560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov bl, 0x53
push edi
mov edi, ecx
cmp byte [esi + 1], bl
jb 0x52b597
push 0
push 0xb6
push 0x5d0fc0
call fcn.0052c780
add esp, 0xc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x56734661
mov dword [esp + 0x14], 0x31313561
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x19], bl
mov dword [esp + 0x1a], 0x61637646
mov byte [esp + 0x1e], 0x4d
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov dword [esp + 0x21], 0x40215e59
mov dword [esp + 0x25], 0x5a767324
mov dword [esp + 0x29], 0x26317241
mov dword [esp + 0x2d], 0x2a21405e
mov dword [esp + 0x31], 0x786673
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52b5f4
sub eax, ecx
mov ecx, eax
xor edx, edx
lea ebx, [ecx - 1]
mov eax, ebp
div ebx
dec ecx
mov al, byte [esp + edx + 0x10]
xor byte [esi + 1], al
xor edx, edx
mov eax, ebp
div ecx
mov cl, byte [esp + edx + 0x10]
xor byte [esi + 2], cl
mov dl, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x52b646
mov edi, dword [edi + 0x114]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push ebp
push esi
push eax
push edi
call edx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x2c
ret 8
Function at 0x52c780
Capabilities:
Get file size

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x29c], eax
cmp dword [0x703ad8], 0
mov ecx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x2ac]
je 0x52c7fb
push eax
mov eax, dword [esp + 0x2ac]
push eax
push ecx
push 0x5d1130
push 0x7039d8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x7039d8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x52c996
int3
mov edx, dword [esp + 0x2a8]
test eax, eax
je 0x52c820
push eax
push edx
push ecx
lea eax, [esp + 0x1a8]
push 0x5d115c
push eax
call fcn.0058a079
add esp, 0x14
jmp 0x52c837
push edx
push ecx
lea eax, [esp + 0x1a4]
push 0x5d1174
push eax
call fcn.0058a079
add esp, 0x10
push 0xff
lea ecx, [esp + 0xa1]
push 0
push ecx
mov byte [esp + 0xa8], 0
call fcn.005899a0
add esp, 0xc
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0xa]
movzx ecx, word [esp + 6]
movzx edx, word [esp + 4]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0058a079
add esp, 0x14
cmp dword [0x703b30], 0
jne 0x52c996
push esi
push edi
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52c912
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xa4]
push 0x5d11a4
push eax
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x52c994
call fcn.0052cac0
push eax
lea ecx, [esp + 0x1a8]
push ecx
push 0x5d11a8
push esi
call fcn.0058b181
push esi
call fcn.00589d1a
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00589b64
add esp, 0x2a0
ret
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 8]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x52c98a
lea eax, [esp + 0xa4]
push 0x5d11b4
push eax
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x52c994
call fcn.0052cac0
push eax
lea ecx, [esp + 0x1a8]
push ecx
push 0x5d11b8
push esi
call fcn.0058b181
push esi
call fcn.00589d1a
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00589b64
add esp, 0x2a0
ret
mov dword [0x703b30], 1
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00589b64
add esp, 0x2a0
ret
Function at 0x52d9d0
Capabilities:
Get file size

Disassembly:
sub esp, 0x3a0
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x39c], eax
push esi
mov esi, dword [esp + 0x3b0]
push edi
mov edi, dword [esp + 0x3ac]
push 0x1ff
lea eax, [esp + 0x1a9]
push 0
push eax
mov byte [esp + 0x1b0], 0
call fcn.005899a0
add esp, 0xc
test esi, esi
je 0x52da38
mov ecx, dword [esp + 0x3b0]
push esi
push ecx
push edi
lea edx, [esp + 0x1b0]
push str._s_line:_d__msg:_s_
push edx
call fcn.0058a079
add esp, 0x14
jmp 0x52da56
mov eax, dword [esp + 0x3b0]
push eax
push edi
lea ecx, [esp + 0x1ac]
push str._s_line:_d_
push ecx
call fcn.0058a079
add esp, 0x10
push 0xff
lea edx, [esp + 0xa9]
push 0
push edx
mov byte [esp + 0xb0], 0
call fcn.005899a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0xe]
movzx eax, word [esp + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0xb0]
push str.._Log_Debug__4d_02d_02d.txt
push ecx
call fcn.0058a079
add esp, 0x14
cmp dword [0x703e78], 0
jne 0x52dbb1
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52db2f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xa4]
push 0x5d1294
push ecx
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x52dbb1
call fcn.0052cac0
push eax
lea edx, [esp + 0x1a8]
push edx
push 0x5d1298
push esi
call fcn.0058b181
push esi
call fcn.00589d1a
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.00589b64
add esp, 0x3a0
ret
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 8]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x52dba7
lea ecx, [esp + 0xa4]
push 0x5d12a4
push ecx
call fcn.0058a01b
mov esi, eax
add esp, 8
test esi, esi
je 0x52dbb1
call fcn.0052cac0
push eax
lea edx, [esp + 0x1a8]
push edx
push str._stime:_s_n
push esi
call fcn.0058b181
push esi
call fcn.00589d1a
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.00589b64
add esp, 0x3a0
ret
mov dword [0x703e78], 1
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
xor ecx, esp
call fcn.00589b64
add esp, 0x3a0
ret