joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dd00
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 0x11
push 2
push 2
mov word [esp + 0x14], 2
mov word [esp + 0x16], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], 0x10000
je 0x44dd73
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0xc]
push edx
push 0x1002
push 0xffff
push esi
call edi
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call edi
pop edi
cmp byte [esp + 0x28], 0
je 0x44ddb7
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x44ddb7
cmp esi, 0xffffffff
je 0x44dda4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048c010
add esp, 0x18
ret
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x44dd98
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0048c010
add esp, 0x18
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4c053e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov eax, dword [esp + 0x14]
push eax
push 0x4e83bc
push 0x4e8384
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.00410590
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.00410330
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x4501c1
push eax
call fcn.0048c049
add esp, 4
push edi
mov ecx, ebp
call fcn.00410330
mov edx, dword [str.www.tencent.com.]
mov dword [esi + 0x24], edx
mov eax, dword [0x4cdfdc]
mov dword [esi + 0x28], eax
mov ecx, dword [0x4cdfe0]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4cdfe4]
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x451130
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], 0x10000
je 0x45118d
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x10]
push eax
push 0x1002
push 0xffff
push edi
call ebp
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1001
push 0xffff
push edi
call ebp
pop ebp
lea edx, [esp + 8]
push edx
push 0x8004667e
push edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x45120f
mov eax, dword [esp + 0x24]
mov cx, word [eax + 4]
mov edx, dword [eax]
push 0x10
lea eax, [esp + 0x10]
mov word [esp + 0x12], cx
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], edx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push edx
mov dword [esi + 0x10], 1
call fcn.004506c0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push esi
push eax
call fcn.00450d10
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048c010
add esp, 0x18
ret 4
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x45121e
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0xc], 0xffffffff
pop esi
xor ecx, esp
xor al, al
call fcn.0048c010
add esp, 0x18
ret 4

Function at 0x451245
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 2
push edi
jne 0x4512d6
mov eax, dword [esi + 0x4018]
test eax, eax
je 0x451267
mov ecx, dword [esi + 0x401c]
sub ecx, eax
jne 0x4512d6
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x451286
push 0
push ebx
push ebp
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
jmp 0x451289
or edi, 0xffffffff
cmp edi, ebx
je 0x4512ca
jge 0x4512d6
cmp edi, 0xffffffff
je 0x4512d6
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x4014]
call fcn.00446e10
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [ebx + ebp]
push ecx
add edi, ebp
push edi
push edx
push eax
lea ecx, [esi + 0x4014]
call fcn.00446440
mov ecx, dword [esi + 0xc]
push esi
push ecx
mov ecx, dword [esi + 4]
call fcn.004506c0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
Function at 0x451f90
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x452094
cmp byte [edi], 0
jne 0x452094
cmp byte [edi + 1], 0
jne 0x452094
cmp byte [edi + 2], 0
jne 0x452094
cmp byte [edi + 3], 1
jne 0x452094
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x452090
cmp eax, 0x34
jbe 0x452090
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x452090
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x452090
cmp eax, 0x4000
jae 0x452090
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x452090
mov ecx, esi
call fcn.0044dc60
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.0048cac0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00451d70
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x451fc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x452094
cmp byte [edi], 0
jne 0x452094
cmp byte [edi + 1], 0
jne 0x452094
cmp byte [edi + 2], 0
jne 0x452094
cmp byte [edi + 3], 1
jne 0x452094
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x452090
cmp eax, 0x34
jbe 0x452090
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x452090
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x452090
cmp eax, 0x4000
jae 0x452090
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x452090
mov ecx, esi
call fcn.0044dc60
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.0048cac0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00451d70
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x451fc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x46d5e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
jne 0x46d600
mov eax, dword [esi + 4]
cmp eax, edi
je 0x46d600
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
cmp dword [esi + 4], edi
je 0x46d60b
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 8]
push ecx
push edi
push esi
push 0x46d5a0
push edi
push edi
mov dword [esp + 0x20], edi
call fcn.0048ca0b
add esp, 0x18
cmp eax, edi
jle 0x46d605
cmp dword [esi + 0x10], edi
mov dword [esi + 4], eax
je 0x46d644
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esi + 0x18], edi
mov eax, 1
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ecx
ret

Function at 0x46d660
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esi + 0x18], 1
je 0x46d6b5
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46d699
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
test eax, eax
je 0x46d6b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
pop esi
ret 4

Function at 0x46d770
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], fcn.004111b0
je 0x46d7ab
cmp dword [esi + 0xc], ebp
je 0x46d79b
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x46d7ab
push eax
call edi
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
mov eax, dword [esi + 8]
push eax
call edi
mov ecx, dword [esi + 0x14]
push ecx
call edi
mov edi, dword [esi + 0x24]
add esi, 0x1c
cmp dword [esi + 4], edi
jbe 0x46d7c7
call fcn.0048c687
push ebx
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x46d7d5
call fcn.0048c687
push edi
push esi
push ebx
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0046d6e0
mov eax, dword [esi + 4]
cmp eax, ebp
pop ebx
je 0x46d7f6
push eax
call fcn.0048c049
add esp, 4
pop edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
pop esi
pop ebp
add esp, 8
ret
Function at 0x470740
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c3127
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea edx, [esi + 0x10]
mov dword [esi], 0x4cf0ac
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
push edx
mov dword [esi + 0xc], 0x4cdf54
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 0x6c]
push 0x4d39d0
push ebx
push eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x68], 1
call fcn.0046ec50
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x68], 2
call fcn.0046c300
push ebx
push ebx
push ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x68], 3
call fcn.0046c300
lea ecx, [esp + 0x64]
push ecx
push ebx
push esi
push 0x470010
push ebx
push ebx
mov byte [esp + 0x74], 4
call fcn.0048ca0b
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x47083a
push 0x14
push str.create_thread_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.0040229b
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 5
call fcn.004079b0
push eax
mov byte [esp + 0x60], 6
call fcn.0046ec20
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x54
ret 0xc

Function at 0x470851
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
push eax
mov dword [esi], 0x4cf0ac
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x470884
mov edx, dword [esi + 0x5c]
push 0xff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x54]
push ecx
mov dword [esi + 0x50], 0x4cf000
call edi
mov ebx, 0x4cda14
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x48]
push edx
mov dword [esi + 0x44], 0x4cf000
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x3c], 0x4cf000
call edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x3c], ebx
call fcn.0046de60
lea ecx, [esi + 0x10]
push ecx
mov dword [esi + 0xc], 0x4cdf54
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov dword [esi + 0xc], ebx
pop esi
pop ebx
ret
Function at 0x472fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3423
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.004a9e72
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x473021
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048c049
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x475b90
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3788
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4e880c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x420]
xor edi, edi
cmp eax, edi
jne 0x475c86
lea eax, [esi + 0x210]
push eax
lea ecx, [esi + 0x424]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00441210
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], di
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 1
call fcn.00454f60
mov eax, dword [ebp - 0x28]
add esp, 0x14
cmp dword [ebp - 0x14], 8
jae 0x475c16
lea eax, [ebp - 0x28]
jmp 0x475c1a
cmp eax, edi
je 0x475c4b
cmp word [eax], di
je 0x475c4b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x475c4b
test al, 0x10
jne 0x475c4b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x475c3b
lea eax, [ebp - 0x28]
push edi
push edi
push str.__install
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
jb 0x475c5d
mov edx, dword [ebp - 0x28]
push edx
call fcn.0048c049
add esp, 4
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], di
mov dword [ebp - 4], 0xffffffff
jb 0x475cf1
mov eax, dword [ebp - 0x60]
push eax
call fcn.0048c049
add esp, 4
jmp 0x475cf1
cmp eax, 1
jne 0x475cf1
lea ecx, [ebp - 0x48]
push edi
push ecx
call fcn.004463c0
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], 2
call fcn.004462a0
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x68], esp
push str.qqdownload_config.xml
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.0040dae0
add esp, 0xc
lea ecx, [esi + 0x1f4]
call fcn.0040c6b0
cmp dword [ebp - 0x30], 8
mov dword [ebp - 4], 0xffffffff
jb 0x475ce3
mov edx, dword [ebp - 0x44]
push edx
call fcn.0048c049
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], di
mov ecx, esi
call fcn.00475020
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.0048c010
mov esp, ebp
pop ebp
ret
Function at 0x482230
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x482298
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x482273
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x482273
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48228f
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x48228f
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4eb270], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x4828a0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push str.Shell_TrayWnd
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x4828e8
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x482903
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x482933
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x482913
add ecx, 0xffffff00
jmp 0x48292d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x482926
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x482933
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x489d90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.004893f0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x4a9662
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4ec114], 0
push esi
jne 0x4a95d5
call fcn.004a9500
test eax, eax
je 0x4a9618
mov eax, dword [0x4ec114]
cmp eax, 1
jne 0x4a95f6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4a9618
pop esi
ret
push eax
call dword [0x4ec11c]
test eax, eax
jne 0x4a9660
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4a961c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4ec114]
call dword [0x4ec11c]
mov edi, eax
test edi, edi
je 0x4a9643
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4a965f
lea edi, [esi + 0xff0]
push esi
push dword [0x4ec114]
call dword [0x4ec118]
add esi, 0x10
cmp esi, edi
jb 0x4a9649
mov eax, esi
pop edi
pop esi
ret
jmp 0x4a95c2

Function at 0x4a97b3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e880c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a9748
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0048c300
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4a9802
cmp dword [ebp - 0x1c], 5
jb 0x4a981a
jmp 0x4a9816
cmp dword [ebp - 0x10], 1
jne 0x4a981a
cmp dword [ebp - 0x1c], 4
ja 0x4a9816
jne 0x4a981a
cmp dword [ebp - 0x18], 0
jbe 0x4a981a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4d282c
call fcn.00411b20
test eax, eax
jge 0x4a983b
mov byte [0x4eaca0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048c010
add ebp, 0x78
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x21c84c60
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5d09613c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x20492b57
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x7d3c5a94
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219