joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c90
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.00414c20
add esp, 4
test eax, eax
jne 0x414cb3
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x414cd7
push esi
call fcn.00414b90
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x414ce0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
mov esi, 1
push ebp
push str.Mozilla_4.0__compatible_
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
jne 0x414d23
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x428]
push ebp
push bind
push ebp
push ebp
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
cmp ebx, ebp
jne 0x414d4d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov ecx, dword [esp + 0x42c]
push ebp
push ebp
push 2
push ebp
push ebp
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x414ddf
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x28]
push 0x400
push eax
push ebx
call ebp
test esi, esi
je 0x414da1
cmp word [esp + 0x24], 0x5a4d
jne 0x414dc8
mov edx, dword [esp + 0x10]
xor esi, esi
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x414dd0
jmp 0x414d75
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x414
ret
Function at 0x415a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov al, 0x69
push ebx
mov byte [esp + 6], al
mov byte [esp + 0xc], al
mov al, 0x65
push ebp
push esi
mov byte [esp + 0x18], al
mov byte [esp + 0x1c], al
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov cl, 0x74
push eax
push str.KERNEL32.dll
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x46
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x53
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x67
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x25], 0x4f
mov byte [esp + 0x26], 0x62
mov byte [esp + 0x27], 0x6a
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.InterlockedExchange
push str.KERNEL32.dll
mov ebp, eax
call edi
push eax
call ebx
lea ebx, [esi + 0x10]
push 0
mov edi, eax
push ebx
call edi
mov ecx, dword [esi + 0x2c]
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push 1
push ebx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
call edi
push 1
push 0
push 0
push esi
push 0x4158c0
push 0
push 0
call fcn.00414750
add esp, 0x1c
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x415dd0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edi
push eax
xor edi, edi
push 0x8004667e
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test esi, esi
jle 0x415e15
mov ebp, dword [esp + 0x18]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x415e15
sub esi, eax
add edi, eax
test esi, esi
jg 0x415dfb
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x415e20
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x2104
call fcn.0041bda0
mov eax, dword [esp + 0x2108]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x427da0]
test al, al
je 0x415f42
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 1
xor eax, eax
lea ecx, [esp + 0x14]
cmp dword [ecx], ebx
je 0x415e87
inc eax
add ecx, 4
cmp eax, 1
jb 0x415e7a
cmp eax, 1
jne 0x415e98
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 2
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x415f42
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x415ef4
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebp
call edi
mov esi, eax
test esi, esi
jle 0x415f42
lea eax, [esp + 0x114]
push esi
push eax
push ebx
call fcn.00415dd0
add esp, 0xc
test eax, eax
je 0x415f42
cmp eax, esi
jne 0x415f42
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x415f35
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebx
call edi
mov esi, eax
test esi, esi
jle 0x415f42
lea eax, [esp + 0x114]
push esi
push eax
push ebp
call fcn.00415dd0
add esp, 0xc
test eax, eax
je 0x415f42
cmp eax, esi
jne 0x415f42
mov al, byte [0x427da0]
test al, al
jne 0x415e68
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2104
ret 4

Function at 0x415f60
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x415f7e
xor eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x415fbe
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x416090
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1038
call fcn.0041bda0
push ebx
push ebp
push esi
push edi
mov ecx, 0x40c
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x18], 0x41d590
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1054]
lea ecx, [esp + 0x1c]
push eax
push 0x4228f4
push 0x20
push ecx
call sub.MSVCRT.dll__snprintf
mov eax, dword [esp + 0x1060]
mov ecx, dword [esp + 0x105c]
mov dx, word [esp + 0x1068]
push eax
push ecx
mov word [esp + 0x54], dx
call fcn.00415fd0
mov edi, eax
add esp, 0x18
test edi, edi
jbe 0x4161af
mov al, byte [0x427da0]
mov dword [esp + 0x40], edi
test al, al
je 0x4161af
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [esp + 0x16]
push 2
push edx
push edi
call ebx
test eax, eax
jle 0x4161af
mov edx, dword [0x426d9c]
mov eax, dword [esp + 0x44]
inc edx
cmp eax, 0x800
mov dword [0x426d9c], edx
jge 0x41615d
mov cx, word [esp + 0x12]
inc eax
mov dword [esp + 0x44], eax
mov word [esp + eax*2 + 0x48], cx
mov edx, dword [0x427da4]
lea eax, [esp + 0x18]
inc edx
mov dword [0x427da4], edx
lea edx, [esp + 0x14]
push edx
push 0
push eax
push 0x415ff0
push 0
push 0
call esi
mov ecx, dword [0x427da4]
test eax, eax
mov dword [ecx*4 + 0x426da0], eax
je 0x416197
push eax
call ebp
jmp 0x4161a2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x427da0]
test al, al
jne 0x416126
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1038
ret 0x10

Function at 0x4161d0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x80
mov byte [0x427da0], 0
push esi
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x426d98]
test eax, eax
je 0x416233
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x426d98]
lea ecx, [esp + 8]
push eax
push str.nsocket_di:_d
push ecx
call esi
mov edx, dword [0x426d98]
add esp, 0xc
mov eax, dword [edx*4 + 0x425d98]
cmp eax, 0xffffffff
je 0x416226
push eax
call edi
mov eax, dword [0x426d98]
dec eax
mov dword [0x426d98], eax
jne 0x4161fc
mov eax, dword [0x427da4]
test eax, eax
je 0x416272
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x427da4]
mov eax, dword [eax*4 + 0x426da0]
cmp eax, 0xffffffff
je 0x416265
push 0
push eax
call esi
push 0x426da0
call edi
mov eax, dword [0x427da4]
dec eax
mov dword [0x427da4], eax
jne 0x416248
pop edi
mov dword [0x427da4], 0
mov dword [0x426d98], 0
mov byte [0x427da0], 1
pop esi
add esp, 0x80
ret
Function at 0x401830
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
push esi
call edi
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x10
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call edi
test eax, eax
jne 0x4019bc
push eax
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer_bak
push esi
call edi
test eax, eax
jne 0x4019bc
mov eax, dword [esi]
test eax, eax
je 0x4019ae
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov dword [esi], 0
xor al, al
pop esi
pop ebp
ret 4
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x4019d0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 1
push eax
mov ebx, ecx
mov dword [ebp - 0x1c], 4
push 8
push ebx
mov esi, edx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
jne 0x401a12
xor al, al
mov byte [ebp - 1], al
jmp 0x401b21
mov ecx, dword [ebp - 8]
shr ecx, 3
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push edi
mov edi, ecx
test ecx, ecx
jne 0x401a48
mov ecx, 1
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], ecx
mov edi, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [esi + 0x10]
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x24], ebx
div ecx
xor edx, edx
mov ecx, eax
mov eax, ebx
div dword [ebp - 0x10]
mov eax, edx
test eax, eax
je 0x401a66
inc ecx
test eax, eax
mov edx, dword [ebp - 0x14]
cmove edx, dword [ebp - 0x18]
test eax, eax
cmove edi, dword [ebp - 0x1c]
cmp dword [esi + 0x14], 0xf
jbe 0x401a86
mov eax, dword [esi]
imul ecx, edx
mov edx, eax
sub ecx, ebx
add eax, ebx
jmp 0x401a90
imul ecx, edi
lea eax, [esi + ebx]
mov edx, esi
sub ecx, ebx
push 0
push ecx
sub eax, edx
mov ecx, esi
push eax
call fcn.00402560
mov ecx, 0x3e8
xor edx, edx
mov eax, ecx
xor ebx, ebx
div dword [ebp - 8]
sub ecx, edx
xor edi, edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x24]
sub eax, edi
cmp eax, ecx
jg 0x401ac3
mov dword [ebp - 0xc], eax
mov ebx, 1
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x401acd
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
add eax, edi
push ecx
push eax
push 0
push ebx
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x401af1
mov ecx, dword [ebp - 0xc]
add edi, ecx
test ebx, ebx
je 0x401ab2
jmp 0x401af6
xor al, al
mov byte [ebp - 1], al
mov eax, dword [esi + 0x10]
cmp edi, eax
ja 0x401b0e
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0xf
jbe 0x401b08
mov esi, dword [esi]
mov byte [esi + edi], 0
jmp 0x401b1a
push 0
sub edi, eax
mov ecx, esi
push edi
call fcn.00402800
mov ebx, dword [ebp - 0x20]
mov al, byte [ebp - 1]
pop edi
test ebx, ebx
je 0x401b2f
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b40
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0
jne 0x401b68
push esi
call fcn.00401830
test al, al
je 0x401c04
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0x8003
push dword [esi]
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401bd4
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x401b9e
mov ecx, dword [eax]
push 0
push dword [eax + 0x10]
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401bd4
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 4]
push 0x6801
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x401beb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x401beb
mov dword [ebp - 4], eax
jmp 0x401bf6
mov dword [ebp - 4], 0
test bl, bl
jne 0x401c18
mov eax, dword [ebp - 8]
test eax, eax
je 0x401c04
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004019d0
add esp, 4
mov bl, al
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ce80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505470
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x564040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.004d1b6b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004d37bd
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0040d090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415460
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x564040]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [ecx + 0x10], 0
je 0x4154b0
cmp dword [ecx + 0x14], 0xf
jbe 0x415488
mov ecx, dword [ecx]
lea eax, [esp + 4]
push eax
push ecx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x4154b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004d1b1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
or eax, 0xffffffff
xor ecx, esp
call fcn.004d1b1e
mov esp, ebp
pop ebp
ret

Function at 0x417ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506f10
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x564040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], edi
push 0
push eax
mov dword [ebp - 0x234], 0
call fcn.004d6cd0
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x418119
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x234]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
test esi, esi
je 0x41811c
push 1
push 0x520f18
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
call fcn.00416e30
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x218]
mov ecx, edi
call fcn.0041bd80
mov ecx, dword [ebp - 0x21c]
add esp, 4
cmp ecx, 7
jbe 0x41813b
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41810d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418158
push ecx
push edx
call fcn.004d1b31
add esp, 8
jmp 0x41813b
xorps xmm0, xmm0
push 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x520f50
mov dword [edi + 0x14], 0
call fcn.00416e30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1b1e
mov esp, ebp
pop ebp
ret
call fcn.004e183c
int3
Function at 0x418a90
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 1
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
push 0
mov dword [ebp - 4], 0
xor bl, bl
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov eax, dword [ebp - 4]
test eax, eax
je 0x418b23
push esi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x418b1b
push 1
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
jne 0x418b14
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
je 0x418b14
lea eax, [esi + 4]
cmp dword [eax], 0
je 0x418b00
inc ecx
add eax, 0x38
cmp ecx, edx
jb 0x418ae4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx*8]
mov bl, 1
sub eax, ecx
mov ecx, dword [ebp - 8]
mov eax, dword [esi + eax*8 + 0x10]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a3d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x42a404
mov esi, dword [edi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageWnd::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x42a404
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x42a420
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x42a422
xor esi, esi
push 0x2800
call fcn.004ecc01
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ecc01
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageWnd::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004297d0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x42a490
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004e9fe1
add esp, 4
test esi, esi
je 0x42a4e5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x42a4e5
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004e9fe1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ecc01
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00429830
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004e9fe1
add esp, 4
push edi
call fcn.004e9fe1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8