joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4498c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x490503
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004833db
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00488a79
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00489f95
test eax, eax
je 0x4499dc
mov ecx, dword [esp + 0x3c]
call fcn.00488aa6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4499a0
push edi
mov ecx, esi
call fcn.00486105
mov ecx, esi
call fcn.00449b80
cmp dword [esp + 0x38], 1
jne 0x4499d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00486240
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44bbd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44bc03
push esi
call fcn.00459fa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44bbfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44bc89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44bc72
mov eax, dword [esi + 8]
test eax, eax
je 0x44bc27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44bc6e
cmp eax, 2
je 0x44bc72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44bc1a
cmp eax, 3
je 0x44bc4d
cmp eax, 1
jne 0x44bc1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44bc1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44bc1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044bcb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44bc98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044bcb0
add esp, 4
pop esi
ret

Function at 0x44c530
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44c551
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44c551
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44c551
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4694b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x469553
test eax, eax
jbe 0x469553
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x469553
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4694fe
xor esi, esi
jmp 0x469504
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46952f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00407860
add esi, eax
push esi
mov ebx, esi
call fcn.00407860
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x469510
pop ebp
test edi, edi
pop edi
jne 0x469553
test ebx, ebx
je 0x469553
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00471ff0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x469675
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46978d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46978d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048382d
mov esi, eax
test esi, esi
je 0x46978d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46978d
mov ecx, esi
call fcn.00469600
cmp edi, eax
jge 0x46978d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x469713
mov dword [esp + 0x34], 1
jmp 0x46976e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46978d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00468bf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46d020
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46d086
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46d086
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46d067
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46d410
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46d448
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46e0d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46e119
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46e590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046e140
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046e1c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046e1c0
lea ecx, [esi + 0xc]
call fcn.00481db7
lea ecx, [esi + 0x10]
call fcn.00481db7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046f760
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046f760
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046f760
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00481e2c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00481e2c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4841d0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x484208
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00482287
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048225f
jmp 0x484214
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4858c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x485904
call fcn.0048b63b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x485904
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4858fb
xor eax, eax
jmp 0x48590c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00485912
pop edi
pop esi
pop ebx
ret 4

Function at 0x48bb6b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48bb99
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48bbb7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048bad1
jmp 0x48bbb7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48bbb7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048bad1
test edi, edi
mov eax, edi
jne 0x48bba1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401069
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401080
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4010b5
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4010b1
cmp edi, eax
jae 0x4010b5
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4010a3
cmp edi, eax
jb 0x4010b9
xor eax, eax
jmp 0x4010c3
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x402105
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x402118
push 0x80004005
call fcn.0040101c
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40211f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40214f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x49e390]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x214]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x40226c
xor eax, eax
cmp dword [ebp - 0x210], esi
je 0x4021bd
push dword [ebp - 0x210]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0x214]
mov edi, eax
mov dword [ebp - 0x210], ecx
jne 0x40226c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
jmp 0x402230
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.0040214f
cmp eax, esi
mov dword [ebp - 0x214], eax
jne 0x40228f
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x4021f5
cmp dword [ebp - 0x210], esi
je 0x402256
push dword [ebp - 0x210]
call ebx
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 0x210], esi
je 0x40227c
push dword [ebp - 0x210]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e9ff
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x40229f
push dword [ebp - 0x210]
call ebx
mov eax, dword [ebp - 0x214]
jmp 0x40227e
Function at 0x40622c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
push 0x48a4f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 4]
push eax
call fcn.0045ea10
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x40abef
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x49e390]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4b164c]
cmp eax, 0x2710
jae 0x40ac24
mov al, 1
jmp 0x40ac9e
push edi
call esi
push 0
push 2
mov dword [0x4b164c], eax
call fcn.0045d7f0
mov edi, eax
cmp edi, 0xffffffff
je 0x40ac9b
mov esi, 0x22c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0045f080
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push edi
mov dword [ebp - 0x80], esi
call fcn.0045d7f6
test eax, eax
je 0x40ac94
mov esi, 0x4a9ef8
cmp dword [0x4a9f0c], 8
mov eax, dword [0x4a9ef8]
jae 0x40ac76
mov eax, esi
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00461969
test eax, eax
pop ecx
pop ecx
jne 0x40acb4
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.0045d7fc
test eax, eax
jne 0x40ac66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
mov ecx, dword [ebp + 0x1ac]
xor ecx, ebp
pop esi
call fcn.0045e9ff
add ebp, 0x1b0
leave
ret
mov al, 1
jmp 0x40ac9d

Function at 0x40bc70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x49e390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov word [ebp - 0x1c], 0x2f
mov word [ebp - 0x1a], 0x2f2f
mov word [ebp - 0x18], 0x2f22
mov word [ebp - 0x16], 0x3a
mov word [ebp - 0x14], 0x2a
mov word [ebp - 0x12], 0x3f
mov word [ebp - 0x10], 0x3c
mov word [ebp - 0xe], 0x3e
mov word [ebp - 0xc], 0x7c
mov word [ebp - 0xa], 0x2f74
mov word [ebp - 8], 0x22
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x1c]
push eax
push edi
call fcn.0045fddf
test eax, eax
pop ecx
pop ecx
jne 0x40bcec
inc esi
cmp esi, 0xb
jb 0x40bcc5
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045e9ff
leave
ret
xor al, al
jmp 0x40bcdf
Function at 0x40c6cc
Capabilities:
Create process on windows

Disassembly:
push 0
mov eax, 0x47e2cc
call fcn.00466a72
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x77c]
cmp eax, ecx
je 0x40c729
mov edx, dword [eax + 0xb0]
cmp byte [edx + 0x5d], cl
je 0x40c729
add eax, 0x94
cmp dword [eax + 0x18], 8
jb 0x40c704
mov eax, dword [eax + 4]
jmp 0x40c707
add eax, 4
push ecx
push ecx
push eax
push dword [ebp + 8]
push 0x48ab78
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x77c]
push dword [eax + 4]
push dword [eax]
call fcn.00401411
mov eax, dword [esi + 0x780]
xor ecx, ecx
cmp eax, ecx
je 0x40c775
mov edx, dword [eax + 0xb0]
cmp byte [edx + 0x5d], cl
je 0x40c775
add eax, 0x94
cmp dword [eax + 0x18], 8
jb 0x40c750
mov eax, dword [eax + 4]
jmp 0x40c753
add eax, 4
push ecx
push ecx
push eax
push dword [ebp + 8]
push 0x48ab78
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x780]
push dword [eax + 4]
push dword [eax]
call fcn.00401411
lea ebx, [esi + 0x784]
mov eax, dword [ebx + 4]
mov edi, dword [eax]
cmp ebx, ebx
mov esi, dword [ebx + 4]
je 0x40c78c
call fcn.0045fa67
cmp edi, esi
je 0x40c7dd
cmp edi, dword [ebx + 4]
jne 0x40c79a
call fcn.0045fa67
mov esi, dword [edi + 8]
lea eax, [esi + 0x94]
cmp dword [eax + 0x18], 8
jb 0x40c7ae
mov eax, dword [eax + 4]
jmp 0x40c7b1
add eax, 4
xor ecx, ecx
push ecx
push ecx
push eax
push dword [ebp + 8]
push 0x48ab78
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [esi + 4]
push dword [esi]
call fcn.00401411
cmp edi, dword [ebx + 4]
jne 0x40c7d9
call fcn.0045fa67
mov edi, dword [edi]
jmp 0x40c780
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401160
call fcn.00466b4a
ret 4

Function at 0x459fb0
Capabilities:
Encode data using xor

Disassembly:
pop es
mov ecx, 0xa91e19d9
xor eax, 0xe091d528
inc esi
leave
mov byte [eax], bl
mov cl, 0xa2
inc byte [edx + 6]
xor edi, ecx
jecxz 0x459fbd
pop ss
cwde
sub cl, byte [ebp + edx*8 + 0x55]
invalid

Function at 0x475b48
Capabilities:
Encode data using xor

Disassembly:
scasd eax, dword es:[edi]
and cl, byte [ebx]
cmp cl, 0x9d
push es
lodsb al, byte [esi]
add edi, dword [bx + di + 0x46]
jnp 0x475b9d
iretd
invalid
Function at 0x475d50
Capabilities:
Encode data using xor

Disassembly:
sbb al, byte [esi]
jl 0xa25b069e
push edi
fld qword [edx - 0x721be7c7]
xchg dl, al
int3
push ds
mov bl, 0x4f
scasb al, byte es:[edi]
push ss
shr dword [ecx], cl
scasb al, byte es:[edi]
pop es
sbb al, cl
mov ebp, 0x4038709e
adc byte [ebp + 0x7d1ecb8d], cl
and dword [ecx + 0x15], esp
scasd eax, dword es:[edi]
in eax, dx
and dword [edx - 0x46], esp
or al, 0xb4
movsd dword es:[edi], dword [esi]
inc ebp
push ebp
das
pop ebx
loopne 0x475da6
cmc
insb byte es:[edi], dx
shl byte [ebx], 0x63
mov edi, 0xac57181
invalid
jbe 0x475d38
jle 0x475e1f
loop 0x475daa
invalid
jg 0x475e26
xor dword [edi - 0x3ba4e8ff], 0xffffff81
and byte [edx + ebx + 0x42d61eda], dl
les eax, [ecx + 0x1a9420f3]
ficomp dword [esi]
salc
inc edx
imul ebp, dword [ebx + 0xc4cbad2], 0xe260a9e0
adc esi, dword [ebx]
rol dword [ecx + 0x56], cl
out dx, al
mov byte [0xa63bc513], al
xor dword [eax - 0x1e25e2bc], ebp
lea ebx, [esi + 0xd]
adc dl, ah
inc ebx
invalid
Function at 0x401000
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
inc esi
push esi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 4], ebx
call sub.iphlpapi.dll_GetIpForwardTable
cmp dword [ebp - 4], ebx
je 0x4010d4
push dword [ebp - 4]
call fcn.0045b82e
mov edi, eax
cmp edi, ebx
pop ecx
je 0x4010d4
push dword [ebp - 4]
push ebx
push edi
call fcn.0045c2f0
add esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push edi
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
je 0x401079
cmp dword [0x4b1b70], 2
jne 0x401071
push str.GetIpForwardTable_fail_n
call fcn.00461b52
add eax, 0x40
push eax
call fcn.0045f40d
pop ecx
pop ecx
push edi
call fcn.0045b8f1
jmp 0x4010f1
cmp dword [edi], ebx
mov dword [ebp - 8], ebx
jbe 0x4010bd
lea esi, [edi + 4]
cmp dword [0x4b1b70], 2
jne 0x4010a7
push dword [esi + 4]
push dword [esi]
push str.MIB_IPFORWARDROW__lu__lu_n
call fcn.00461b52
add eax, 0x40
push eax
call fcn.0045f40d
add esp, 0x10
cmp dword [esi], ebx
jne 0x4010b0
cmp dword [esi + 4], ebx
je 0x4010c8
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add esi, 0x38
cmp eax, dword [edi]
jb 0x401083
push edi
call fcn.0045b8f1
pop ecx
xor eax, eax
jmp 0x4010f4
push edi
call fcn.0045b8f1
xor eax, eax
pop ecx
inc eax
jmp 0x4010f4
cmp dword [0x4b1b70], 2
jne 0x4010f2
push str.size__0__malloc_fail_n
call fcn.00461b52
add eax, 0x40
push eax
call fcn.0045f40d
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4010f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4ac13c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x7fe
lea eax, [ebp - 0x802]
push edi
push eax
mov word [ebp - 0x804], di
call fcn.0045c2f0
push 0xffffffffffffffff
push str.SOFTWARETencent_bugReport_
mov esi, 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0045ba89
push 0x4b1b98
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0045da61
add esp, 0x28
lea eax, [ebp - 0x810]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x804]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4011d8
push 4
pop esi
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x80c]
push eax
push edi
push str.lcdbg
push dword [ebp - 0x810]
mov dword [ebp - 0x808], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x80c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80c], esi
je 0x4011d0
mov dword [ebp - 0x808], edi
mov eax, dword [ebp - 0x808]
jmp 0x4011da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045b7a6
leave
ret