joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed8e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ed9b0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x4ed93e
cmp dword [ebp - 0x18], 0x6060801
je 0x4ed958
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0x14]
push edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4ed93f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4ed9af
mov ecx, dword [0x6cf914]
test ecx, ecx
je 0x4ed9af
mov edx, dword [ebp - 0xc]
push edx
call fcn.0048df40
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x6cf914]
push eax
call fcn.0048d2c0
fld dword [ebp - 8]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6fdeb8
call fcn.005584e0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 4

Function at 0x4ed9d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6cf914]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4eda63
call fcn.0048df30
fld dword [0x6fdef8]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [0x6cf914]
mov cx, word [eax + 0x688]
fstp dword [ebp - 8]
push 0
push 0x40000000
push esi
mov word [ebp - 0x10], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4eda63
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0x6060801
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 4
Function at 0x4ee920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4eea15
push ebx
push edi
push 0
mov ecx, 0x6fe7e0
call fcn.00565890
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x6fe7e0
call fcn.00565890
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov bl, byte [ebp + 8]
test bl, 1
je 0x4ee9dd
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6fe7e0
call fcn.00565890
push eax
lea edx, [ebp - 0x108]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.004ee2d0
test bl, 2
je 0x4eea13
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6fe7e0
call fcn.00565890
push eax
lea ecx, [ebp - 0x108]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.004ed9d0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 4
Function at 0x504380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6bef0c]
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.005841d0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea edx, [ebp - 0x108]
push edx
call fcn.00585b60
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.005841d0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x308]
push edx
call fcn.00585b60
add esp, 8
lea eax, [ebp - 0x308]
push eax
push str.admin
lea ecx, [ebp - 0x108]
push ecx
call fcn.005047e0
add esp, 0xc
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.005842e0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push str.Power
push str.AddPoint
call fcn.00518f80
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.00584c8a
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x24c], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.005842e0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5afb38
push str.AddPoint
call fcn.00518f80
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.00584c8a
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x250], eax
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.005842e0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x5afb34
push str.AddPoint
call fcn.00518f80
add esp, 0x10
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.00584c8a
add esp, 4
mov edx, dword [ebp - 0x3e8]
mov dword [edx + 0x254], eax
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.005842e0
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5afb30
push str.AddPoint
call fcn.00518f80
add esp, 0x10
lea edx, [ebp - 0x3d0]
push edx
call fcn.00584c8a
add esp, 4
mov ecx, dword [ebp - 0x3e8]
mov dword [ecx + 0x258], eax
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret
Function at 0x504590
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3e8], ecx
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.005842e0
add esp, 0xc
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ecx + 0x24c]
push edx
push 0x5a3f40
lea eax, [ebp - 0x3d0]
push eax
call fcn.0058408f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push str.Power
push str.AddPoint
call fcn.00518f00
add esp, 0x10
push 0xc8
push 0
lea edx, [ebp - 0x3d0]
push edx
call fcn.005842e0
add esp, 0xc
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax + 0x250]
push ecx
push 0x5a3f40
lea edx, [ebp - 0x3d0]
push edx
call fcn.0058408f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea eax, [ebp - 0x3d0]
push eax
push 0x5afb38
push str.AddPoint
call fcn.00518f00
add esp, 0x10
push 0xc8
push 0
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.005842e0
add esp, 0xc
mov edx, dword [ebp - 0x3e8]
mov eax, dword [edx + 0x254]
push eax
push 0x5a3f40
lea ecx, [ebp - 0x3d0]
push ecx
call fcn.0058408f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea edx, [ebp - 0x3d0]
push edx
push 0x5afb34
push str.AddPoint
call fcn.00518f00
add esp, 0x10
push 0xc8
push 0
lea eax, [ebp - 0x3d0]
push eax
call fcn.005842e0
add esp, 0xc
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ecx + 0x258]
push edx
push 0x5a3f40
lea eax, [ebp - 0x3d0]
push eax
call fcn.0058408f
add esp, 0xc
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x3d0]
push ecx
push 0x5afb30
push str.AddPoint
call fcn.00518f00
add esp, 0x10
push 0xff
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x108]
push eax
call fcn.005841d0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0x108]
push ecx
call fcn.00585b60
add esp, 8
push 0xff
lea edx, [ebp - 0x308]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x308]
push eax
call fcn.005841d0
add esp, 8
mov byte [eax + 1], 0
push str.._Ini_AdvancedSet_Cfg.ini
lea ecx, [ebp - 0x308]
push ecx
call fcn.00585b60
add esp, 8
lea edx, [ebp - 0x308]
push edx
push str.admin
lea eax, [ebp - 0x108]
push eax
call fcn.005048f0
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret
Function at 0x5068e0
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 0x5afdb4
mov eax, dword [ebp + 8]
push eax
call fcn.00583ee0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5069ee
mov ecx, dword [ebp - 8]
push ecx
push 0x118
push 1
mov edx, dword [ebp - 0x14]
add edx, 0x14
push edx
call fcn.00587ed3
add esp, 0x10
cmp eax, 0x118
je 0x506938
jmp 0x5069e0
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 0x50695d
jmp 0x5069e0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x124]
push ecx
call fcn.00583458
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 0x506983
jmp 0x5069e0
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.00587ed3
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x124], eax
je 0x5069af
jmp 0x5069e0
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.00583c96
add esp, 4
jmp 0x5069f2
xor al, al
jmp 0x506a31
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x506a22
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
je 0x506a22
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005843d5
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 0x5080c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 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.005841d0
add esp, 8
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00585b60
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.00583b0e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x513420
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 0x518f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6bef0c]
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.005841d0
add esp, 8
mov byte [eax + 1], 0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00585b60
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.00583b0e
mov esp, ebp
pop ebp
ret

Function at 0x51a6b0
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.0053bb80
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 0x51ab60
push 0
push 0
call fcn.00587fb5
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 0x51ae00
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a4], ecx
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18e
push 0
lea ecx, [ebp - 0x196]
push ecx
call fcn.005842e0
add esp, 0xc
lea edx, [ebp - 0x198]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x51ae54
xor al, al
jmp 0x51aefb
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 0x51ae7b
xor al, al
jmp 0x51aefb
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 0x51aeba
xor al, al
jmp 0x51aefb
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 0x51aef9
xor al, al
jmp 0x51aefb
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret
Function at 0x525cf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x6bef0c]
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 0x525d47
push 0x7c9
mov ecx, 0x6d18c8
call fcn.004c65f0
push eax
push 0x1d
push 0x6d18c8
call fcn.004c7880
add esp, 0xc
xor eax, eax
jmp 0x525f71
mov dword [ebp - 4], 0
mov ecx, dword [0x6fbd24]
mov edx, dword [ecx]
mov eax, dword [0x6fbd24]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x74c], eax
lea edx, [ebp - 4]
push edx
push 0x5b1128
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 0x525d92
xor eax, eax
jmp 0x525f71
mov ecx, dword [ebp - 0x748]
xor edx, edx
cmp dword [ecx + 0xc], 0
setne dl
test edx, edx
jne 0x525dfd
push str.bdcap32.dll
mov ecx, dword [ebp - 0x748]
call fcn.00526760
test eax, eax
jge 0x525ddf
push 0x7ca
mov ecx, 0x6d18c8
call fcn.004c65f0
push eax
push 0x1d
push 0x6d18c8
call fcn.004c7880
add esp, 0xc
xor eax, eax
jmp 0x525f71
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 0x525f6c
lea ecx, [ebp - 0x378]
call fcn.00526650
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.00526030
push 0
mov ecx, 0x6fe7e0
call fcn.00565890
push eax
push str._sScreenShot
lea ecx, [ebp - 0x480]
push ecx
call fcn.0058408f
add esp, 0xc
push 0
lea edx, [ebp - 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x525ea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x525ea9
push 0x7cc
mov ecx, 0x6d18c8
call fcn.004c65f0
push eax
push 0x1d
push 0x6d18c8
call fcn.004c7880
add esp, 0xc
xor eax, eax
jmp 0x525f71
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5b125c
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.00584113
add esp, 0x34
lea ecx, [ebp - 0x110]
push ecx
push 0x7cd
mov ecx, 0x6d18c8
call fcn.004c65f0
push eax
push 0x1d
push 0x6d18c8
call fcn.004c7880
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.00526920
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x525f6c
xor eax, eax
jmp 0x525f71
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret
Function at 0x526cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
test eax, eax
jne 0x526d24
mov eax, dword [ebp + 8]
push 0x5b12f4
push eax
call fcn.00583ee0
mov esi, eax
add esp, 8
test esi, esi
je 0x526d58
mov edx, dword [ebp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x526d00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x526d00
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.00587c0f
push esi
call fcn.00583c96
add esp, 0x14
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
cmp eax, 1
jne 0x526d58
mov ecx, dword [ebp + 8]
push 0x5b12f0
push ecx
call fcn.00583ee0
mov esi, eax
add esp, 8
test esi, esi
je 0x526d58
mov edx, dword [ebp + 0xc]
push edx
push 0x5b12ec
push esi
call fcn.00583b1d
push esi
call fcn.00583c96
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x529f40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x529f5c.10
movzx eax, byte [eax + 0x52a0c8]
jmp dword [eax*4 + 0x52a094]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x529f5c.10
call fcn.005292e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529360
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005293e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529450
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x529f5c.10
call fcn.005294c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005294d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529210
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x529f5c.10
push 8
call fcn.00435d70
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529510
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00529700
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6cf010
call fcn.00436570
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x529f5c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x529f5c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x529f5c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00529e10
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x52c000
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x104]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52c024
movsx eax, byte [esi]
push eax
call fcn.005887ca
add esp, 4
test eax, eax
je 0x52c0e8
lea ecx, [ebp - 0x104]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x52c07b
call sub.WSOCK32.dll_WSAGetLastError
push eax
push str.Error:__u_n
call fcn.00585f50
add esp, 8
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 8
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
mov ecx, dword [esi + 4]
push edi
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push str.name_s_naliases_s_naddrtype_d_nlength_d_n
call fcn.00585f50
mov eax, dword [esi + 0xc]
xor edi, edi
add esp, 0x14
cmp dword [eax], edi
je 0x52c0e7
movsx ecx, word [esi + 0xa]
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.005843e0
mov ecx, dword [ebp - 0x110]
add esp, 0xc
push ecx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea edx, [ebp - 0x104]
push 0x5a167c
push edx
call fcn.0058408f
mov eax, dword [esi + 0xc]
inc edi
lea eax, [eax + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x52c0a3
pop edi
lea ecx, [ebp - 0x104]
push ecx
push 0x20
push 0x6dfa24
call fcn.00588715
mov edx, dword [0x6dfa80]
mov esi, dword [ebp + 0xc]
imul edx, edx, 0x58
add esp, 0xc
cmp si, word [edx + 0x6fadd8]
jne 0x52c12f
cmp dword [0x6dfa48], 0
je 0x52c12f
cmp dword [0x6dfa7c], 0
jne 0x52c12f
mov ecx, 0x6dfa48
call fcn.0051bb30
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x104]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 8
Function at 0x52c1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6bef0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 1], 0x52
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
jb 0x52c207
push 0
push 0xb9
push str.MHNetwork.cpp
call fcn.0052d720
add esp, 0xc
lea eax, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x2c], 0x56734661
mov dword [ebp - 0x28], 0x31313561
mov dword [ebp - 0x24], 0x76465341
mov dword [ebp - 0x20], 0x534d6163
mov dword [ebp - 0x1c], 0x215e5953
mov dword [ebp - 0x18], 0x76732440
mov dword [ebp - 0x14], 0x3172415a
mov dword [ebp - 0x10], 0x21405e26
mov dword [ebp - 0xc], 0x7866732a
mov byte [ebp - 8], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52c251
sub eax, ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
xor edx, edx
lea ebx, [ecx - 1]
div ebx
lea ebx, [ecx - 1]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
movzx edx, byte [ebp + edx - 0x2c]
xor byte [esi + 1], dl
xor edx, edx
div ebx
pop ebx
mov al, byte [ebp + edx - 0x2c]
xor byte [esi + 2], al
movzx edx, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x52c2ac
mov edi, dword [edi + 0x114]
mov edx, dword [edi]
push ecx
push esi
push eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00583b0e
mov esp, ebp
pop ebp
ret 8