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

Disassembly:
push 0xffffffffffffffff
push 0x472533
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.00465f0b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.0046b5a4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046cac0
test eax, eax
je 0x4400ac
mov ecx, dword [esp + 0x3c]
call fcn.0046b5d1
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 0x440070
push edi
mov ecx, esi
call fcn.00468c36
mov ecx, esi
call fcn.00440210
cmp dword [esp + 0x38], 1
jne 0x4400a5
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.00468d71
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 0x442ad0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442b03
push esi
call fcn.00445bc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442afc
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 0x442b89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442b72
mov eax, dword [esi + 8]
test eax, eax
je 0x442b27
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 0x442b6e
cmp eax, 2
je 0x442b72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442b1a
cmp eax, 3
je 0x442b4d
cmp eax, 1
jne 0x442b1a
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 0x442b1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442b1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442bb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442b98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442bb0
add esp, 4
pop esi
ret

Function at 0x44ebb0
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 0x44ec53
test eax, eax
jbe 0x44ec53
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44ec53
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 0x44ebfe
xor esi, esi
jmp 0x44ec04
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44ec2f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004077d0
add esi, eax
push esi
mov ebx, esi
call fcn.004077d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44ec10
pop ebp
test edi, edi
pop edi
jne 0x44ec53
test ebx, ebx
je 0x44ec53
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004556d0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44ed95
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 0x44eead
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44eead
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046635d
mov esi, eax
test esi, esi
je 0x44eead
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 0x44eead
mov ecx, esi
call fcn.0044ed00
cmp edi, eax
jge 0x44eead
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 0x44ee33
mov dword [esp + 0x34], 1
jmp 0x44ee8e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44eead
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.0044e2b0
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 0x466d01
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466d39
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.00464db8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464d90
jmp 0x466d45
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4683f3
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 0x468435
call fcn.0046deb0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x468435
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46842c
xor eax, eax
jmp 0x46843d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468443
pop edi
pop esi
pop ebx
ret 4
Function at 0x46e3e0
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 0x46e40e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e42c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e346
jmp 0x46e42c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46e42c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e346
test edi, edi
mov eax, edi
jne 0x46e416
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403fbc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405ad4
test esi, esi
jne 0x403ff2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405c10
jmp 0x404010
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403ea0
mov edi, eax
test esi, esi
je 0x404010
cmp dword [ebx], 0
je 0x404010
dec esi
jmp 0x403ff9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405854
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43f04c], 0
je 0x4058bb
cmp word [0x43f338], 0xd7b2
jne 0x40587d
cmp dword [0x43f340], 0
jbe 0x40587d
mov eax, 0x43f334
call dword [0x43f350]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4058e8
call fcn.00405f74
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43a022], 0
jne 0x4058d7
push 0
push 0x43a99a
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4071b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407315
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405ad4
cmp si, word [0x43a9d8]
jb 0x407248
cmp si, word [0x43abd8]
ja 0x407248
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407248
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x43a9d8]
jae 0x407222
mov edi, ebx
dec edi
jmp 0x407243
cmp si, word [ebx*8 + 0x43a9d8]
jbe 0x407232
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407243
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x43a9dc]
call fcn.004070d0
jmp 0x407248
cmp edi, dword [ebp - 8]
jae 0x40720c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4072f7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4072f7
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004060b0
push dword [ebp - 0x160]
push 0x407330
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004060b0
push dword [ebp - 0x164]
push 0x407340
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004060b0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40731c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405b34
ret
Function at 0x4074c8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4075cb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x441b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x441b94]
jne 0x407514
mov eax, esi
mov edx, 0x441b96
mov ecx, 0x55
call fcn.004060b0
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4075b5
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405ad4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407583
cmp byte [0x441b78], 0
je 0x407548
mov edx, esi
mov eax, ebx
call fcn.004073ac
jmp 0x407583
mov edx, esi
mov eax, ebx
call fcn.004071b0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407583
cmp dword [esi], 0
je 0x40756c
mov eax, esi
mov edx, 0x4075e4
call fcn.00406188
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004071b0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406188
push 0x441b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x441b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.0040601c
push eax
push 0x441b96
call sub.kernel32.dll_lstrcpynW
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4075d2
lea eax, [ebp - 4]
call fcn.00405ad4
ret
Function at 0x417e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x417f65
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00417c48
mov esi, eax
mov eax, dword [0x43e414]
cmp byte [eax], 0
je 0x417f0d
mov eax, dword [0x43e338]
call fcn.004044d8
call fcn.00403d50
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417e10]
call fcn.00406c4c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x417f80
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x417f49
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x43e314]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x441c44]
call fcn.00406d04
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417f6c
lea eax, [ebp - 4]
mov edx, dword [0x417e10]
call fcn.00406c58
ret

Function at 0x419024
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405e88
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040832c
mov edi, eax
cmp edi, 0x104
jbe 0x418fcb
mov eax, edi
add eax, eax
call fcn.00403bfc
mov esi, eax
jmp 0x418fcd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040832c
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x419008
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418ff2
mov eax, esp
cmp esi, eax
je 0x419015
mov eax, esi
call fcn.00403c18
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x419050
cmp bl, 0
je 0x41904c
cmp bl, 0x41
jl 0x419047
cmp bl, 0x5a
jg 0x419047
or bl, 0x20
xor al, bl
inc esi
jmp 0x41902b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x418f8c

Function at 0x419270
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004060b0
add esp, 0x800
pop ebx
ret
Function at 0x41955c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00405ad4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040601c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x4195a1
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00405c10
jmp 0x4195ba
mov edx, ebx
dec edx
mov eax, esi
call fcn.00406108
push ebx
mov eax, dword [esi]
call fcn.0040601c
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41c820
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x43c20c
test edx, edx
jne 0x41c83f
xor eax, eax
jmp 0x41c95d
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x41c85c
push esi
push edx
push eax
call fcn.0041c964
add esp, 0xc
jmp 0x41c95d
push esi
push edx
push eax
call fcn.0041cc24
add esp, 0xc
jmp 0x41c95d
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x435724
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x14], edi
push edi
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, ebx
pop ecx
call fcn.00435778
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4359cc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435a61
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x435a7c
push ebx
push 0x435a8c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00406268
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404548
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040601c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x435a4b
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435a68
lea eax, [ebp - 4]
call fcn.00405ad4
ret
Function at 0x435a94
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x435c7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x338]
call fcn.004357dc
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 4]
mov ecx, 0x435c94
call fcn.004061e0
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.004043f0
call fcn.00403d50
lea eax, [ebp - 0x2e0]
call fcn.004040b0
call fcn.00403d50
mov edx, 0x435cbc
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
push 0x435cd4
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00403fbc
push dword [ebp - 0x340]
push 0x435cec
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.00406268
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
push 0x435cfc
lea edx, [ebp - 0x348]
xor eax, eax
call fcn.00403fbc
push dword [ebp - 0x348]
push 0x435cec
push 0x435d20
lea eax, [ebp - 0x344]
mov edx, 4
call fcn.00406268
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
mov edx, 0x435d40
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
lea eax, [ebp - 0x2e0]
call fcn.004044f0
call fcn.00403d50
lea eax, [ebp - 0x334]
xor ecx, ecx
mov edx, 0x44
call fcn.00404548
mov dword [ebp - 0x308], 1
mov word [ebp - 0x304], 0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040601c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x435c55
mov eax, dword [ebp - 0x2ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x2f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435c82
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.00405b34
lea eax, [ebp - 4]
call fcn.00405ad4
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x45b6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4602c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47c860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004599f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], vtable.CTcpFlowTest.0
mov ecx, dword [ebp - 0x28]
add ecx, 0x80
call fcn.00407ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xa4
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push 0x45b460
push 0
push 0
call fcn.0042f0b1
add esp, 0x18
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x9c], eax
push 0x268
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x45b7a8
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00449fc0
mov dword [ebp - 0x2c], eax
jmp 0x45b7af
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x98], ecx
mov dword [ebp - 0x10], 0
jmp 0x45b7d7
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x45b847
push 0x290
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0
je 0x45b812
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00449b20
mov dword [ebp - 0x30], eax
jmp 0x45b819
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0x45b1c0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x80
call fcn.00406290
jmp 0x45b7ce
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx