joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100033de
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004d010]
inc edi
sub esi, 1
jne 0x100033ec
not edx
pop edi
mov eax, edx
pop esi
pop ebp
ret

Function at 0x1000340c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x10003470
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x10003438
cmp edi, 2
jb 0x10003438
cmp byte [esi], al
jne 0x10003438
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004d010]
test edi, edi
jne 0x10003421
jmp 0x10003477
cmp al, 0x23
jne 0x1000345e
cmp byte [esi], al
jne 0x1000345e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1004d010]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003450
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x100035a3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100035b3
and dword [edi], 0
mov edx, 0x1004c358
call fcn.10003480
mov esi, eax
test esi, esi
je 0x10003619
mov ecx, esi
call fcn.10003547
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10003612
mov ecx, ebx
call fcn.1000680d
mov dword [ebp + 8], eax
test eax, eax
je 0x10003612
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, ebx
je 0x10003602
call fcn.10003538
mov ecx, dword [ebp + 8]
call fcn.10006825
jmp 0x10003619
call fcn.10003538
test edi, edi
je 0x1000360d
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x1000361b
mov ecx, esi
call fcn.10003538
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10015dd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5c5c], 0
lea edi, [esi + 0x5c60]
mov ecx, edi
je 0x10015e35
push 0
call fcn.1001f396
push dword [ebp + 8]
mov ecx, edi
push ebx
call fcn.10003c5b
mov edx, dword [edi]
mov ecx, 0x1022d544
push dword [esi + 0x5c5c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5c68]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x10015e3e
push dword [ebp + 8]
push ebx
call fcn.10003c5b
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001639a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1022d548]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5bec], 0
test esi, esi
je 0x100163e9
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.100163ed
mov edx, 0x1004c35c
mov ecx, esi
mov edi, eax
call fcn.10003480
mov esi, eax
test esi, esi
je 0x100163e9
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.10003538
pop edi
pop esi
leave
ret
Function at 0x1001c02f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1022d548]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
test edi, edi
je 0x1001c057
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1001c057
mov ebx, edi
jmp 0x1001c066
xor edx, edx
call fcn.100183a2
mov ecx, dword [ebp - 4]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x18], esi
test edi, edi
je 0x1001c072
cmp eax, 1
jne 0x1001c07e
xor edx, edx
call fcn.100183a2
mov edi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [edi + 0x18], esi
mov ecx, edi
mov edx, esi
cmove ecx, ebx
mov dword [ebp + 0x14], ecx
call fcn.10019369
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x74]
mov edx, dword [ebp + 8]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov ecx, dword [esi + ecx*4 + 0x1c]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 0xa0]
and dword [esi + 0x74], 0
and eax, 0xffffffc9
or eax, 9
mov dword [esi + 0x4c], edx
mov dword [esi + 0xa0], eax
mov eax, dword [ebp - 8]
movss xmm1, dword [esi + edx*4 + 0x3c]
movss xmm0, dword [eax + edx*4 + 0x3844]
subss xmm1, dword [eax + 0x38f8]
addss xmm0, xmm0
comiss xmm1, xmm0
jae 0x1001c0e7
movaps xmm1, xmm0
mov eax, dword [esi + 0x3c]
movaps xmm0, xmm1
mov ecx, dword [esi + 0x40]
mulss xmm0, dword [ebp + 0x10]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [ebx + 0x44], eax
cvttss2si eax, xmm0
mov dword [ebx + 0x48], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + edx*4 + 0x44], xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esi + eax*4 + 0x1c]
movss dword [edi + edx*4 + 0x44], xmm0
mov edx, esi
call fcn.100193a5
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + eax*4 + 0x1c]
mov edx, dword [edx]
call fcn.1001d776
mov eax, dword [esi + 0x18]
mov ecx, esi
jmp 0x1001c157
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x1001c152
call fcn.100196f4
push dword [esi + 0x40]
xor edx, edx
mov ecx, esi
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.1001c32b
mov eax, dword [esi + 4]
add esp, 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
and eax, 0xc1f870
mov dword [ecx + 8], eax
and dword [esi + 8], 0xff3e078f
mov eax, dword [ebx + 0xc]
or eax, dword [ebx + 8]
or eax, dword [ebx + 4]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0xc]
or eax, dword [edi + 8]
or eax, dword [edi + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
or eax, dword [esi + 8]
or eax, dword [esi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x10]
shr eax, 0xb
test al, 1
je 0x1001c1d5
jmp 0x1001c1cb
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1001c1c9
mov dword [esi + 0x78], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10025e46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10025e60
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.10006825
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.1000111f
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10025e7d
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.10006825
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10025e9e
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.10006825
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10025eb3
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.10006825
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10025ec8
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.10006825
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100281bb
Function at 0x1002d10a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x3c
mov eax, 0x10048f50
call fcn.10047a7f
mov dword [ebp - 0x28], ecx
mov ebx, dword [0x1022d548]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1002d232
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1002d232
push 0x38
pop ecx
call fcn.1000680d
mov edi, eax
lea eax, [ebp - 0x21]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edi
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
je 0x1002d170
push 0x38
push esi
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1002d172
mov edi, esi
or dword [ebp - 4], 0xffffffff
or dword [ebx + 0xc], 0xc06
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x70], str.imgui_impl_win32
mov dword [edi], edx
mov byte [edi + 0x24], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [0x1022d548]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov eax, dword [eax + 0x48e8]
mov eax, dword [eax]
mov dword [eax + 0x40], edx
mov dword [eax + 0x3c], edx
test dword [ebx + 8], 0x400
je 0x1002d1d0
call fcn.1002f1c7
mov byte [edi + 0x26], 1
mov dword [ebp - 0x3c], str.xinput1_4.dll
mov dword [ebp - 0x38], str.xinput1_3.dll
mov dword [ebp - 0x34], str.xinput9_1_0.dll
mov dword [ebp - 0x30], str.xinput1_2.dll
mov dword [ebp - 0x2c], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x3c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1002d20f
inc esi
cmp esi, 5
jl 0x1002d1f7
jmp 0x1002d22e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
jmp 0x1002d234
xor al, al
call fcn.10047a2e
ret

Function at 0x1002d453
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1022d548]
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
lea edi, [eax + 8]
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.10002fb6
push 0x10
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.10002fb6
push 0x12
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.10002fb6
push 0x5d
call esi
shr eax, 0xf
mov ecx, edi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.10002fb6
pop edi
pop esi
ret
Function at 0x1003cb2b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1003cb81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1003cb81
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x1003cb73
cmp esi, ecx
jae 0x1003cb81
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x1003cb61
cmp esi, ecx
jae 0x1003cb81
cmp word [esi], 0
je 0x1003cb81
mov eax, esi
jmp 0x1003cb83
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1003e794
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1022d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 5]
mov dword [ebp - 0xc], ecx
push esi
mov ebx, edx
mov dword [ebp - 0x10], eax
call fcn.10046f90
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov esi, dword [ebp - 0xc]
mov eax, edx
add esi, 0xfffffffb
lea ecx, [edx + edi]
sub eax, ecx
mov byte [ecx], 0xe9
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx + 1], eax
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0xc]
sub ebx, eax
push ecx
push dword [ebp - 8]
sub ebx, 5
push edx
push eax
mov byte [eax], 0xe9
mov dword [eax + 1], ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004676c
leave
ret

Function at 0x1003e8d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1022d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov bl, dl
test esi, esi
jne 0x1003e8ee
xor al, al
jmp 0x1003e92a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push 0x40
pop ecx
push eax
push ecx
push 1
push dword [esi]
mov dword [ebp - 8], ecx
call edi
mov ecx, dword [esi]
test bl, bl
je 0x1003e915
mov al, byte [ecx]
mov byte [esi + 4], al
mov al, 0xcc
jmp 0x1003e918
mov al, byte [esi + 4]
mov byte [ecx], al
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push 1
push dword [esi]
call edi
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1004676c
leave
ret
Function at 0x1003eaf8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1022d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0x40
mov edi, ecx
mov esi, edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1003eb56
push ebx
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test eax, eax
je 0x1003eb56
mov eax, edi
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1003eb56
mov al, 1
jmp 0x1003eb58
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004676c
leave
ret

Function at 0x1003ebc8
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x100495f4
call fcn.10047ab5
xor esi, esi
mov dword [ebp - 4], esi
wait
call fcn.1002c386
cmp dword [eax + 0xc], esi
jne 0x1003ebe9
call fcn.1002cdcd
call fcn.1002dc63
call fcn.1000726b
mov eax, dword [0x1022d654]
test eax, eax
je 0x1003ec00
call eax
jmp 0x1003ec48
push esi
xor edx, edx
mov ecx, str.imdx9
call fcn.1000bac2
mov dword [esp], str.hello____
call fcn.10030cdc
pop ecx
and dword [ebp - 0x18], esi
and dword [ebp - 0x14], esi
push esi
lea edx, [ebp - 0x18]
mov ecx, 0x10226a78
call fcn.100315cf
pop ecx
test al, al
je 0x1003ec43
push esi
push esi
push esi
push 0x1003ec9e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1000dcec
call fcn.100085c0
call fcn.1000884c
mov eax, dword [0x1022d548]
mov eax, dword [eax + 0x48e8]
mov eax, dword [eax]
sub eax, 0xffffff80
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
call fcn.1002c714
wait
or dword [ebp - 4], 0xffffffff
call fcn.10047a1a
ret

Function at 0x1003f60f
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
push esi
xor esi, esi
test eax, eax
je 0x1003f62d
mov al, byte [ecx + esi + 4]
sub al, byte [ecx + 0xb]
xor al, byte [ecx + 0xa]
mov byte [ecx + esi + 4], al
inc esi
mov eax, dword [ecx]
cmp esi, eax
jb 0x1003f618
mov byte [eax + ecx + 4], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x1003fdd6
Capabilities:
Create thread

Disassembly:
call fcn.1003fe14
xor ecx, ecx
push ecx
push ecx
push eax
push 0x1003fe08
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1003fdf8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x10040459
Capabilities:
Enumerate process modules

Disassembly:
push 0x448
mov eax, 0x100497d1
call fcn.10047a7f
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x44c], eax
and dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x10040495
mov ecx, esi
call fcn.10040606
add esi, 0x10
cmp esi, edi
jne 0x1004047f
mov esi, dword [ebx]
mov eax, dword [ebp - 0x44c]
push eax
push 8
mov dword [ebx + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x454], esi
test esi, esi
je 0x100405ec
push 0x424
lea eax, [ebp - 0x444]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x448], 0x428
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x100405db
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x44c]
call fcn.1003da6b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x450]
call fcn.1003da6b
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x430]
mov esi, dword [ebp - 0x42c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.1003db02
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.1003db02
mov byte [ebp - 4], 6
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
call fcn.1003d994
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1003d994
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x450]
lea ecx, [ecx - 0x10]
call fcn.1003ccd7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44c]
lea ecx, [ecx - 0x10]
call fcn.1003ccd7
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x1004059a
push eax
lea ecx, [ebp - 0x18]
call fcn.1003fae8
test eax, eax
jne 0x100405bb
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x20]
push ecx
cmp eax, dword [ebx + 8]
je 0x100405b3
mov ecx, eax
call fcn.100410d6
add dword [ebx + 4], 0x10
jmp 0x100405bb
push eax
mov ecx, ebx
call fcn.10040f43
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10040606
mov esi, dword [ebp - 0x454]
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x100404e4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1003ccd7
mov al, bl
call fcn.10047a2e
ret
Function at 0x1004086e
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x1004989c
call fcn.10047a4c
mov ebx, edx
push 0xa4
xor esi, esi
call fcn.10046f60
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push ecx
mov ecx, eax
call fcn.100403df
mov edi, eax
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x28], 0
je 0x100408f6
mov ecx, edi
call fcn.10040714
mov esi, eax
test esi, esi
je 0x100408e7
mov dword [edi + 0xa0], esi
test ebx, ebx
je 0x100408dc
mov byte [ebx], 1
mov dword [ebx + 4], esi
cmp dword [ebp + 0x20], 0
je 0x100408e7
push edi
call dword [ebp + 0x20]
pop ecx
push 0xa4
push edi
call fcn.10046ed4
pop ecx
pop ecx
jmp 0x10040911
push esi
push esi
push edi
push 0x10040919
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10040911
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.10047a1a
ret
Function at 0x10043429
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x1022d8fc], 0
je 0x1004362c
cmp dword [0x1022d84c], 0
push esi
je 0x1004352c
cmp dword [0x1022d850], 0
jne 0x10043512
mov eax, dword [0x1022d8b4]
xor esi, esi
inc eax
mov dword [0x1022d8b8], esi
mov dword [0x1022d8b4], eax
cmp eax, 2
jne 0x10043480
cmp byte [0x1022d8a4], 0
je 0x10043480
call fcn.10041df5
mov eax, dword [0x1022d8b4]
movzx ecx, byte [0x1022d85e]
sub ecx, 1
je 0x10043502
sub ecx, 1
je 0x100434d3
sub ecx, 1
jne 0x10043540
cmp byte [0x1022d8a0], cl
je 0x1004353a
mov eax, dword [0x1022d858]
cmp eax, dword [0x1022d8ac]
jle 0x10043540
mov eax, dword [0x1022d8bc]
cmp eax, dword [0x1022d8b0]
jl 0x100434cb
call fcn.10041d51
jmp 0x1004353a
inc eax
mov dword [0x1022d8bc], eax
jmp 0x10043540
cmp byte [0x1022d8a1], 0
je 0x10043540
and eax, 0x80000003
jns 0x100434ea
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x100434f5
cmp byte [0x1022d860], 0
jne 0x10043540
push ecx
xor dl, dl
mov cl, 2
call fcn.10041cd7
pop ecx
jmp 0x10043540
cmp byte [0x1022d8a2], 0
je 0x10043540
push ecx
mov dl, 2
mov cl, 1
jmp 0x100434fa
mov eax, dword [0x1022d8b8]
inc eax
mov dword [0x1022d8b8], eax
cmp eax, 1
jne 0x10043528
inc dword [0x1022d8c4]
xor esi, esi
jmp 0x10043534
xor esi, esi
mov dword [0x1022d8b8], esi
mov dword [0x1022d8b4], esi
mov dword [0x1022d8bc], esi
cmp byte [0x1022d8a3], 0
je 0x10043557
cmp dword [0x1022d850], 0
jne 0x10043557
call fcn.10042035
cmp byte [0x1022db81], 0
push edi
je 0x100435aa
mov eax, dword [0x1022db8c]
test eax, eax
jne 0x100435a4
cmp dword [0x1022d850], eax
jne 0x100435aa
mov eax, dword [0x1022db94]
mov edi, dword [0x1022db90]
cmp edi, eax
je 0x100435aa
mov esi, eax
push dword [edi + 0x14]
mov edx, dword [edi + 0xc]
push dword [edi + 4]
mov ecx, dword [edi + 8]
push dword [edi]
call fcn.10042945
add edi, 0x18
add esp, 0xc
cmp edi, esi
jne 0x10043583
xor esi, esi
jmp 0x100435aa
dec eax
mov dword [0x1022db8c], eax
cmp byte [0x1022d8a8], 0
pop edi
je 0x100435ca
mov eax, dword [0x1022d8c0]
mov ecx, 0x258
cdq
idiv ecx
test edx, edx
jne 0x100435ca
call fcn.1004216e
cmp byte [0x1022d8a7], 0
je 0x1004362b
mov eax, dword [0x1022d8c4]
cmp eax, dword [0x1022d8c8]
jl 0x1004362b
cmp dword [0x1022d850], 0
mov eax, dword [0x1022d8d0]
jne 0x10043601
test eax, eax
jne 0x10043605
push 0x12
pop eax
mov byte [0x1022d8a9], 1
mov dword [0x1022d8d0], eax
test eax, eax
je 0x1004362b
sub eax, 1
mov dword [0x1022d8d0], eax
jne 0x1004362b
cmp dword [0x1022d8cc], 0
jne 0x1004361f
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.shutdown__s__t_0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
pop ecx
pop esi
leave
ret