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

Disassembly:
sub esp, 0x108
mov eax, dword [0x6c6060]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x4fc279
push ebp
push edi
push 0
mov ecx, 0x703638
call fcn.0056c350
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 + 0x16]
push edx
push 0
mov ecx, 0x703638
call fcn.0056c350
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 0x4fc245
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x703638
call fcn.0056c350
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.004fbae0
test bl, 2
je 0x4fc277
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x703638
call fcn.0056c350
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.004fb220
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.0058a6b9
add esp, 0x108
ret 4
Function at 0x511250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
push 0xff
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call fcn.0058ed60
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea edx, [ebp - 0x108]
push edx
call fcn.0058b080
add esp, 8
push 0xff
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x308]
push ecx
call fcn.0058ed60
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x308]
push edx
call fcn.0058b080
add esp, 8
lea eax, [ebp - 0x308]
push eax
push str.admin
lea ecx, [ebp - 0x108]
push ecx
call fcn.005116b0
add esp, 0xc
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0058a530
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push str.Power
push str.AddPoint
call fcn.0051b010
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0058b17e
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x246], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0058a530
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5b6cf0
push str.AddPoint
call fcn.0051b010
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0058b17e
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x24a], eax
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.0058a530
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x5b6cec
push str.AddPoint
call fcn.0051b010
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0058b17e
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x24e], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.0058a530
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5b6ce8
push str.AddPoint
call fcn.0051b010
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.0058b17e
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x252], eax
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret
Function at 0x5131a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
push 0x5b6f44
mov eax, dword [ebp + 8]
push eax
call fcn.0058ab70
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5132ae
mov ecx, dword [ebp - 8]
push ecx
push 0x116
push 1
mov edx, dword [ebp - 0x14]
add edx, 0x14
push edx
call fcn.0058aeba
add esp, 0x10
cmp eax, 0x116
je 0x5131f8
jmp 0x5132a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x118]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x11c]
lea ecx, [eax + ecx*2]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x120], ecx
je 0x51321d
jmp 0x5132a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x124]
push ecx
call fcn.00589e28
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x513243
jmp 0x5132a0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x124]
push eax
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0058aeba
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x124], eax
je 0x51326f
jmp 0x5132a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x118]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x11c]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x124]
mov dword [edx + 0xc], ecx
mov byte [ebp - 1], 1
mov edx, dword [ebp - 8]
push edx
call fcn.0058a86f
add esp, 4
jmp 0x5132b2
xor al, al
jmp 0x5132f1
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x5132e2
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
je 0x5132e2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0058a5b5
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 1]
mov byte [eax + 0x128], cl
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4

Function at 0x515490
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x51b010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call fcn.0058ed60
add esp, 8
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0058b080
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
push 0xff
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret

Function at 0x51c740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.PingManager.0
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [edx], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
push 0x1e
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.0053dad0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
push 0
push 0
push 0
push 0x51cbf0
push 0
push 0
call fcn.0058f06a
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a4], ecx
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18c
push 0
lea ecx, [ebp - 0x196]
push ecx
call fcn.0058a530
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x51ce34
xor al, al
jmp 0x51cedb
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
cmp dword [edx + 4], 0xffffffff
jne 0x51ce5b
xor al, al
jmp 0x51cedb
mov dword [ebp - 0x19c], 0x7d0
push 4
lea eax, [ebp - 0x19c]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_setsockopt
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x51ce9a
xor al, al
jmp 0x51cedb
mov dword [ebp - 0x19c], 0x7d0
push 4
lea eax, [ebp - 0x19c]
push eax
push 0x1005
push 0xffff
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_setsockopt
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
jne 0x51ced9
xor al, al
jmp 0x51cedb
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret
Function at 0x5279b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x748], ecx
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x527a07
push 0x7c9
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 0x1d
push 0x6d7fb8
call fcn.004d5710
add esp, 0xc
xor eax, eax
jmp 0x527c31
mov dword [ebp - 4], 0
mov ecx, dword [0x700b34]
mov edx, dword [ecx]
mov eax, dword [0x700b34]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x74c], eax
lea edx, [ebp - 4]
push edx
push 0x5b7df8
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [ebp - 0x74c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
call eax
test eax, eax
jne 0x527a52
xor eax, eax
jmp 0x527c31
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
jne 0x527abd
push str.bdcap32.dll
mov ecx, dword [ebp - 0x748]
call fcn.00528420
test eax, eax
jge 0x527a9f
push 0x7ca
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 0x1d
push 0x6d7fb8
call fcn.004d5710
add esp, 0xc
xor eax, eax
jmp 0x527c31
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
je 0x527c2c
lea ecx, [ebp - 0x378]
call fcn.00528310
push 0x3c
push 0x1e
mov eax, dword [ebp - 0x748]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x748]
push edx
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [ebp - 0x748]
call fcn.00527cf0
push 0
mov ecx, 0x703638
call fcn.0056c350
push eax
push str._sScreenShot
lea ecx, [ebp - 0x480]
push ecx
call fcn.0058abce
add esp, 0xc
push 0
lea edx, [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x527b69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x527b69
push 0x7cc
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 0x1d
push 0x6d7fb8
call fcn.004d5710
add esp, 0xc
xor eax, eax
jmp 0x527c31
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5b7f1c
movzx ecx, word [ebp - 0x526]
push ecx
movzx edx, word [ebp - 0x528]
push edx
movzx eax, word [ebp - 0x52a]
push eax
movzx ecx, word [ebp - 0x52c]
push ecx
movzx edx, word [ebp - 0x52e]
push edx
movzx eax, word [ebp - 0x532]
push eax
movzx ecx, word [ebp - 0x534]
push ecx
push str.Capture
lea edx, [ebp - 0x480]
push edx
push str._s_s__d__02d__02d__02d__02d__02d__03d._s
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.0058ac52
add esp, 0x34
lea ecx, [ebp - 0x110]
push ecx
push 0x7cd
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 0x1d
push 0x6d7fb8
call fcn.004d5710
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
push 4
push 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x748]
push ecx
call fcn.005285e0
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x527c2c
xor eax, eax
jmp 0x527c31
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret
Function at 0x528970
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x5289c3
mov eax, dword [esp + 8]
push 0x5b7fb4
push eax
call fcn.0058ab70
mov esi, eax
add esp, 8
test esi, esi
je 0x5289f9
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x5289a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5289a0
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.0058aa3a
push esi
call fcn.0058a86f
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x5289f9
mov ecx, dword [esp + 8]
push 0x5b7fb0
push ecx
call fcn.0058ab70
mov esi, eax
add esp, 8
test esi, esi
je 0x5289f9
mov edx, dword [esp + 0xc]
push edx
push 0x5b7fac
push esi
call fcn.0058be11
push esi
call fcn.0058a86f
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x52a170
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x208
mov eax, dword [0x6c6060]
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 0x52a19e
xor eax, eax
jmp 0x52a25a
push 0x5a8680
push edi
call fcn.0058ab70
lea edx, [esi + 0x2e]
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 0x52a1b6
mov eax, dword [esi + 4]
test eax, eax
je 0x52a197
push ebx
push ebp
push 2
push 0
push eax
call fcn.0058f194
mov eax, dword [esi + 4]
push eax
call fcn.0058f4dc
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
mov ebx, eax
call fcn.0058f194
add esp, 0x1c
mov ecx, esi
call fcn.005296d0
mov edx, dword [esi + 4]
push edx
push 1
lea edi, [esi + 0x18]
push 0xc
push edi
call fcn.0058aeba
mov eax, dword [edi]
sub eax, dword [esi + 0x1c]
add esp, 0x10
sub eax, dword [esi + 0x20]
lea ecx, [esi + 0x144]
push eax
call fcn.00583a60
test eax, eax
jne 0x52a273
push eax
push 0x38
push str.MHFile.cpp
call fcn.0052f1d0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push str.Bin_File_Version_Error_____s
push edx
call fcn.0058abce
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.0058a6b9
add esp, 0x208
ret 4
lea ecx, [esi + 0x144]
call fcn.00583a10
test eax, eax
je 0x52a317
lea edi, [ebx - 0xe]
push edi
call fcn.00589e28
add esp, 4
mov dword [esi + 0x26], eax
test eax, eax
jne 0x52a2ab
push eax
push 0x49
push str.MHFile.cpp
call fcn.0052f1d0
add esp, 0xc
jmp 0x52a256
push edi
push 0
push eax
call fcn.0058a530
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x26]
mov eax, dword [esi + 4]
add esp, 0xc
push ecx
push edi
push edx
push eax
lea ecx, [esi + 0x144]
call fcn.00583e20
test eax, eax
jne 0x52a2f7
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push str.File_Open_Error_:__s
push edx
call fcn.0058abce
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x1c]
jmp 0x52a24d
mov ecx, dword [esi + 4]
push ecx
call fcn.0058a86f
mov eax, 1
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 0x2a], eax
jmp 0x52a258
mov edx, dword [esi + 4]
push edx
push 1
lea eax, [esi + 0x24]
push 1
push eax
call fcn.0058aeba
mov eax, dword [esi + 0x20]
add esp, 0x10
test eax, eax
je 0x52a34e
push eax
call fcn.00589e28
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
push 1
push eax
mov dword [esi + 0x26], eax
call fcn.0058aeba
add esp, 0x14
mov eax, dword [esi + 4]
push eax
push 1
lea ecx, [esi + 0x25]
push 1
push ecx
call fcn.0058aeba
mov edx, dword [esi + 4]
push edx
call fcn.0058a86f
add esp, 0x14
mov ecx, esi
mov dword [esi + 4], 0
call fcn.00529b40
test eax, eax
je 0x52a256
call fcn.00529690
test eax, eax
je 0x52a256
mov eax, 1
mov dword [esi + 0x2a], eax
jmp 0x52a258
Function at 0x52db00
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x114
mov eax, dword [0x6c6060]
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 0x52db27
movsx eax, byte [esi]
push eax
call fcn.0058f87a
add esp, 4
test eax, eax
je 0x52db9f
lea ecx, [esp + 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x52dc0a
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x52db9e
nop
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0058b1f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x20]
push 0x5a893c
push eax
call fcn.0058abce
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x52db60
pop edi
lea edx, [esp + 0x18]
push edx
push 0x20
push 0x6e4e24
call fcn.0058f7c5
mov eax, dword [0x6e4e68]
mov esi, dword [esp + 0x130]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x6ffbe4]
jne 0x52dbe7
cmp dword [0x6e4e48], 0
je 0x52dbe7
cmp dword [0x6e4e64], 0
jne 0x52dbe7
mov ecx, 0x6e4e48
call fcn.0051dad0
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.0058a6b9
add esp, 0x114
ret 8

Function at 0x52dc90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6c6060]
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 0x52dcc7
push 0
push 0xb6
push str.MHNetwork.cpp
call fcn.0052f1d0
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 0x52dd24
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 0x52dd76
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.0058a6b9
add esp, 0x2c
ret 8
Function at 0x52f1d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e6858], 0
je 0x52f22a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x6e6758
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6e6758
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x52f225
int3
jmp 0x52f3f6
cmp dword [ebp + 0x10], 0
je 0x52f252
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d__msg:_s_
lea eax, [ebp - 0x118]
push eax
call fcn.0058abce
add esp, 0x14
jmp 0x52f26e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_line:_d_
lea eax, [ebp - 0x118]
push eax
call fcn.0058abce
add esp, 0x10
mov byte [ebp - 0x218], 0
push 0xff
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0058a530
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx ecx, word [ebp - 0x12]
push ecx
movzx edx, word [ebp - 0x14]
push edx
push str.._Log_Assert__4d_02d_02d.txt
lea eax, [ebp - 0x218]
push eax
call fcn.0058abce
add esp, 0x14
cmp dword [0x6e68b0], 0
jne 0x52f3f6
push 0
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x52f34f
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b84fc
lea ecx, [ebp - 0x218]
push ecx
call fcn.0058ab70
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x52f34a
call fcn.0052f550
push eax
lea edx, [ebp - 0x118]
push edx
push str._stime:_s_n
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0058be11
add esp, 0x10
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0058a86f
add esp, 4
jmp 0x52f3f6
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x224]
shl ecx, 0x10
or ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], 0xf4240
ja 0x52f3ec
push 0x5b84fc
lea eax, [ebp - 0x218]
push eax
call fcn.0058ab70
add esp, 8
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x52f3ea
call fcn.0052f550
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._stime:_s_n
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.0058be11
add esp, 0x10
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0058a86f
add esp, 4
jmp 0x52f3f6
mov dword [0x6e68b0], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret