joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4812b5
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 0x4813cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4813cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ad4b7
mov esi, eax
test esi, esi
je 0x4813cd
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 0x4813cd
mov ecx, esi
call fcn.00481220
cmp edi, eax
jge 0x4813cd
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 0x481353
mov dword [esp + 0x34], 1
jmp 0x4813ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4813cd
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.0047fa40
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 0x4884e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x488523
mov eax, dword [esi]
jmp 0x488525
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x488546
push 0x558720
push edi
push eax
call fcn.004a8551
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x4885a6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4885a6
mov eax, dword [esi]
test eax, eax
je 0x48858d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x48859d
push eax
call fcn.004ab7a6
add esp, 4
push esi
call fcn.004ab7a6
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x48b2e0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48b32a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x48b359
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48b39b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x48e290
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 0x48e2f6
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 0x48e2f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x48e2d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x48eee0
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 0x48ef29
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 0x48f3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb5f0
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.0048ef50
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0048efd0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0048efd0
lea ecx, [esi + 0xc]
call fcn.004ab9c7
lea ecx, [esi + 0x10]
call fcn.004ab9c7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00490560
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00490560
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00490560
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004aba3c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004aba3c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ade5a
Capabilities:
Get graphical window text

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

Function at 0x4af54c
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 0x4af58e
call fcn.004b5109
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4af58e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4af585
xor eax, eax
jmp 0x4af596
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004af59c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b5638
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 0x4b5666
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b5684
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b559e
jmp 0x4b5684
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b5684
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b559e
test edi, edi
mov eax, edi
jne 0x4b566e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401297
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13a4
call fcn.0041fe70
mov eax, dword [0x429014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x13a4], eax
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4012c3
sub esi, ecx
cmp esi, 0x139c
jb 0x4012e9
push 0x9d
mov edx, str...public_tier0dbg.cpp
mov ecx, str.Assertion_failed__tcslen_pMsgFormat____sizeof_pTempBuffer_
call fcn.004014b9
pop ecx
xor esi, esi
cmp edi, 2
jne 0x401324
push dword [0x42bea8]
lea eax, [ebp - 0x13a0]
push dword [0x42bea4]
push str._s___d__:
push 0x139b
push eax
call fcn.00401605
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
jne 0x401324
push 2
pop eax
jmp 0x4013f4
push dword [ebp - 0x13a4]
mov edx, 0x139b
push ecx
lea ecx, [ebp - 0x13a0]
sub edx, esi
push ebx
add ecx, esi
call fcn.004015d8
add esp, 0xc
cmp eax, 0xffffffff
je 0x40131c
add esi, eax
cmp esi, 0x139c
jb 0x401367
push 0xb5
mov edx, str...public_tier0dbg.cpp
mov ecx, str.Assertion_failed_len__sizeof_pMsgFormat____sizeof_pTempBuffer_
call fcn.004014b9
pop ecx
cmp edi, 2
jne 0x401390
lea eax, [ebp - 0x13a0]
add eax, esi
push 0x426cdc
push eax
call fcn.004015bd
pop ecx
add esi, eax
lea eax, [ebp - 0x13a0]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 0x139b
jb 0x4013ad
push 0xc1
mov edx, str...public_tier0dbg.cpp
mov ecx, str.Assertion_failed__uint32_t_len____sizeof_pTempBuffer____sizeof_pTempBuffer_0_____1_
call fcn.004014b9
pop ecx
lea eax, [ebp - 0x13a0]
push eax
push 0x426bf0
call fcn.00401626
pop ecx
xor ebx, ebx
pop ecx
cmp edi, 2
je 0x4013ce
cmp edi, 3
sete bl
inc ebx
mov eax, ebx
sub eax, 0
je 0x4013ec
dec eax
sub eax, 1
jne 0x4013f2
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4013f2
cmp edi, 2
je 0x4013f2
int3
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af01
mov esp, ebp
pop ebp
ret
Function at 0x402b38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x5c
mov eax, 0x420684
call fcn.0041faba
mov edi, ecx
mov dword [ebp - 0x5c], edi
xor ebx, ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x54], ebx
call fcn.0040a934
push ebx
push 0x2710
push edx
push eax
call fcn.004204e0
push eax
call fcn.00411408
movaps xmm0, xmmword [0x4272f0]
xor esi, esi
mov eax, dword [0x42bec4]
inc esi
mov dword [ebp - 0x20], 0x5a595857
mov dword [ebp - 0x1c], 0x34333231
mov dword [ebp - 0x18], 0x38373635
mov word [ebp - 0x14], 0x3039
mov byte [ebp - 0x12], bl
movups xmmword [ebp - 0x50], xmm0
pop ecx
movaps xmm0, xmmword [0x4272d0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x4272e0]
movups xmmword [ebp - 0x30], xmm0
test al, 1
jne 0x402bf9
or eax, esi
mov dword [0x42bec4], eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x50]
mov dword [0x42bedc], 0xf
lea edx, [ecx + 1]
mov dword [0x42bed8], ebx
mov byte [0x42bec8], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402bdb
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
call fcn.0040a81b
push 0x4208d7
call fcn.0040b1c3
pop ecx
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0x402c0d
mov eax, dword [edi]
jmp 0x402c0f
mov eax, edi
mov byte [eax], bl
push 8
mov dword [ebp - 4], ebx
pop eax
mov dword [ebp - 0x54], esi
cmp dword [edi + 0x10], eax
jb 0x402c33
mov dword [edi + 0x10], eax
cmp dword [edi + 0x14], 0x10
jb 0x402c2c
mov eax, dword [edi]
jmp 0x402c2e
mov eax, edi
mov byte [eax + 8], bl
jmp 0x402c3f
sub eax, dword [edi + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0040a4a4
mov esi, dword [0x42bed8]
call fcn.004113e7
xor edx, edx
mov ecx, 0x42bec8
div esi
cmp dword [0x42bedc], 0x10
cmovae ecx, dword [0x42bec8]
cmp dword [edi + 0x14], 0x10
jb 0x402c6b
mov eax, dword [edi]
jmp 0x402c6d
mov eax, edi
mov cl, byte [ecx + edx]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 8
jl 0x402c3f
mov eax, edi
call fcn.0041fa75
ret

Function at 0x402e6f
Capabilities:
Check os version

Disassembly:
push esi
push edi
mov esi, 0x9c
mov edi, 0x42aa78
push esi
push 0
push edi
call fcn.0040d670
add esp, 0xc
mov dword [0x42aa78], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
call esi
test eax, eax
jne 0x402ea7
push edi
mov dword [0x42aa78], 0x94
call esi
cmp dword [0x42aa88], 2
pop edi
pop esi
jne 0x402eca
mov eax, dword [0x42aa7c]
cmp eax, 5
jb 0x402eca
jne 0x402ec7
cmp dword [0x42aa80], 0
je 0x402eca
mov al, 1
ret
push 0x10
push str.Fatal_Error
push str.ERROR:_Unfortunately__this_doesnt_support_Win95___98___ME___2000___NT_4.0_environment.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
ret
Function at 0x402ee1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x429014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402f0d
mov al, 1
jmp 0x403022
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402f32
cmp eax, 2
sete al
jmp 0x403022
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [edi + eax]
cmp byte [esi - 1], 0x5c
je 0x402fca
mov byte [esi], 0x5c
inc esi
xor ecx, ecx
mov byte [esi], cl
jmp 0x402fcc
mov ecx, edi
mov byte [esi], 0
call fcn.00401250
lea ecx, [ebp - 0x108]
call fcn.00401250
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x402f6b
sub edx, ecx
lea ecx, [ebp - 0x108]
lea eax, [ecx + 1]
mov dword [ebp - 0x114], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402f83
sub ecx, dword [ebp - 0x114]
lea eax, [ecx + edx]
cmp eax, 0x208
jb 0x402fa1
mov ecx, 0x207
sub ecx, edx
test ecx, ecx
je 0x402fbd
push ecx
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.00410ae0
add esp, 0xc
mov byte [eax + 0x207], 0
mov edx, edi
mov ecx, ebx
call fcn.00402ee1
test al, al
je 0x403003
xor ecx, ecx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x10c], 0x104
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push ecx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402f51
mov byte [esi - 1], 0
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
pop esi
sbb al, al
inc al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040af01
mov esp, ebp
pop ebp
ret

Function at 0x403095
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 0x18], 0
jne 0x4030a5
xor eax, eax
jmp 0x4030d6
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4030a1
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [ebp - 0xc], 4
cmovne eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x409da8
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x429014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x42aa84], 0x23f0
push edi
mov edi, ecx
jae 0x409dce
xor al, al
jmp 0x409edc
push ebx
push esi
push 7
xor ebx, ebx
mov dword [ebp - 0x2c], 0x72656977
pop eax
mov dword [ebp - 0x28], 0x3e6e72
lea edx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 5
mov dword [ebp - 8], 6
test eax, eax
je 0x409e2e
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + 0x38]
xor byte [ebp + ecx - 0x2c], al
inc esi
cmp esi, 7
jne 0x409e1c
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], 1
push eax
mov ecx, 0x429ea0
call fcn.00403095
cmp eax, 1
je 0x409ebb
push 7
pop eax
mov dword [ebp - 0x2c], 0x72656977
lea edx, [ebp - 0x20]
mov dword [ebp - 0x28], 0x3e6e72
mov esi, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 5
mov dword [ebp - 8], 6
test eax, eax
je 0x409ea4
push eax
pop ebx
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx + 0x38]
xor byte [ebp + ecx - 0x2c], al
inc esi
cmp esi, ebx
jne 0x409e91
xor ebx, ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], 1
push eax
mov ecx, 0x429ea0
call fcn.00403095
cmp eax, 2
jne 0x409ebf
xor al, al
jmp 0x409eda
push ebx
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push ecx
push 0x404bdf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040af01
mov esp, ebp
pop ebp
ret
Function at 0x4182bb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417f7b
Function at 0x4010a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
lea edi, [edx + 3]
sub edx, ecx
lea esi, [ecx + 1]
pop ebx
mov al, byte [edi - 3]
mov byte [esi - 1], al
mov al, byte [edx + esi]
mov byte [esi], al
lea esi, [esi + 4]
mov al, byte [edi - 1]
mov byte [esi - 3], al
mov al, byte [edi]
lea edi, [edi + 4]
mov byte [esi - 2], al
sub ebx, 1
jne 0x4010b2
push 4
pop ebx
lea edx, [ecx + 0xd]
mov ah, byte [edx - 1]
mov al, byte [edx]
mov cl, byte [edx + 1]
mov ch, byte [edx + 2]
mov byte [ebp - 4], ah
mov byte [ebp - 3], al
mov byte [ebp - 1], cl
mov byte [ebp - 2], ch
test bl, 3
jne 0x401136
movzx ecx, al
movzx eax, byte [ebp - 1]
mov al, byte [eax + 0x41de08]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
mov al, byte [eax + 0x41de08]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 4]
mov al, byte [eax + 0x41de08]
mov byte [ebp - 2], al
mov eax, ebx
shr eax, 2
mov ah, byte [eax + 0x41e008]
xor ah, byte [ecx + 0x41de08]
mov cl, byte [ebp - 1]
mov ch, byte [ebp - 2]
mov al, byte [edx - 0xd]
xor al, ah
mov byte [edx + 3], al
mov al, byte [edx - 0xc]
xor al, byte [ebp - 3]
mov byte [edx + 4], al
mov al, byte [edx - 0xb]
xor al, cl
mov byte [edx + 5], al
mov al, byte [edx - 0xa]
xor al, ch
inc ebx
mov byte [edx + 6], al
add edx, 4
cmp ebx, 0x2c
jb 0x4010d9
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401169
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
movzx ecx, cl
shl ecx, 4
add ecx, dword [ebp + 8]
push 4
pop edi
push 4
pop esi
mov al, byte [ecx]
xor byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x40117d
sub edi, 1
jne 0x40117a
pop edi
pop esi
pop ebp
ret

Function at 0x401191
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
lea esi, [ecx + 2]
pop edi
mov bh, byte [esi + 1]
mov al, byte [esi - 2]
mov bl, bh
mov ch, byte [esi]
mov cl, al
mov dl, byte [esi - 1]
xor bl, ch
mov byte [ebp - 1], al
xor cl, dl
mov dh, bl
xor dh, al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
xor dh, dl
imul eax, eax, 0x1b
xor al, cl
mov cl, dl
xor al, byte [ebp - 1]
xor cl, ch
xor al, dh
mov byte [esi - 2], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
mov cl, byte [ebp - 1]
xor al, dl
xor cl, bh
xor al, dh
mov byte [esi - 1], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
xor al, ch
xor al, dh
mov byte [esi], al
mov al, cl
shr al, 7
lea esi, [esi + 4]
movzx eax, al
add cl, cl
imul eax, eax, 0x1b
xor al, cl
xor al, bh
xor al, dh
mov byte [esi - 3], al
sub edi, 1
jne 0x40119e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41154b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4191ed
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ab00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi], 0x49b26c
mov eax, dword [ecx]
call dword [eax + 0x34]
lea ecx, [esi + 0x38]
call fcn.00412856
lea ecx, [esi + 0x34]
call fcn.00412856
lea ecx, [esi + 0x30]
call fcn.00412856
lea ecx, [esi + 0x10]
call dword [0x41d370]
lea ecx, [esi + 0xc]
call dword [0x41d370]
lea ecx, [esi + 8]
call dword [0x41d3c0]
mov ecx, esi
call dword [0x41d358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Print debug messages
Set current directory

Disassembly:
sub esp, 0x66c
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x5c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x58]
push 0x5c
push ecx
call fcn.0040122d
add esp, 8
test eax, eax
jne 0x401055
lea edx, [esp + 0x58]
push 0x2f
push edx
call fcn.0040122d
add esp, 8
test eax, eax
je 0x40105a
mov word [eax], 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 4], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [esp + 0x262]
mov dword [esp + 8], ecx
lea edx, [esp + 0x58]
mov dword [esp + 0xc], ecx
push edx
mov dword [esp + 0x14], ecx
mov word [esp + 0x264], cx
mov ecx, 0x103
push str._s_tclsClient.exe
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x268]
push 0x410
push eax
mov dword [esp + 0x24], 0x44
call fcn.004011bd
add esp, 0x10
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
lea eax, [esp + 0x260]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x40111a
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x5c]
push str.get_last_error___d__buf___s
push edx
call fcn.0040114e
add esp, 0x10
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
add esp, 0x66c
ret 0x10
Function at 0x40ec80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f227e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 0xaf
mov dword [esp + 0x14], esi
call fcn.004c5df5
mov ecx, dword [esp + 0x20]
xor edi, edi
push ecx
lea ecx, [esi + 0x60]
mov dword [esp + 0x1c], edi
call fcn.004c6628
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x64]
push edx
mov byte [esp + 0x1c], 1
call fcn.004c6628
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push fcn.0041eff0
mov dword [esi + 0x68], eax
push fcn.0041ef50
push 7
lea eax, [esi + 0x74]
push 0x58
push eax
mov byte [esp + 0x2c], 2
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edx
call fcn.004a6848
mov cl, byte [esp + 0x34]
mov dword [esi + 0x2e0], edi
mov byte [esi + 0x2dc], cl
mov dword [esi + 0x2e4], edi
mov dword [esi + 0x2e8], edi
lea ebx, [esi + 0x2fc]
mov byte [esp + 0x18], 4
mov ecx, ebx
mov dword [esi + 0x2ec], edi
mov dword [esi + 0x2f0], edi
call fcn.004c784d
mov dword [ebx], vtable.CComboBox.0
lea ebx, [esi + 0x338]
mov byte [esp + 0x18], 5
mov ecx, ebx
call fcn.004c784d
mov dword [ebx], vtable.CComboBox.0
lea ecx, [esi + 0x374]
mov byte [esp + 0x18], 6
call fcn.0042fe10
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x5c], edi
mov dword [esi], vtable.CDialogEzPosition.0
mov dword [esi + 0x2f8], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18