joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43035c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], edi
mov dword [0x4afe40], 0
mov dword [0x4afe44], 0x4aee90
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43039c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x430385
add eax, 0xffffffff
lea edx, [ebp - 4]
push edx
push 0
add eax, 1
push eax
call fcn.00421dfc
add esp, 0xc
mov ecx, edi
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4303c9
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4303b2
add eax, 0xffffffff
lea edx, [edi + eax - 1]
cmp edi, edx
ja 0x430511
mov dword [ebp - 0x14], ebx
mov ebx, edx
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov eax, 1
mov esi, eax
mov dword [ebp - 8], ecx
movsx ecx, byte [edi]
cmp ecx, 0x20
je 0x430555
cmp ecx, 9
je 0x430555
mov edx, dword [0x4afe40]
add edx, 1
mov dword [0x4afe40], edx
cmp edx, esi
jle 0x430446
cmp esi, 1
je 0x4304b9
add esi, 0xa
mov eax, esi
shl eax, 2
lea ecx, [esi*4 - 0x28]
push ecx
push 0x4afe44
push eax
call fcn.00421e34
add esp, 0xc
test eax, eax
jne 0x430568
mov edx, dword [0x4afe40]
mov eax, dword [0x4afe44]
mov ecx, dword [ebp - 4]
mov dword [eax + edx*4 - 4], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp edi, ebx
ja 0x43051a
movsx ecx, byte [edi]
cmp ecx, 0x22
je 0x43046e
test eax, eax
jne 0x430491
jmp 0x430483
add edi, 1
test eax, eax
je 0x4304a6
movsx ecx, byte [edi]
cmp ecx, 0x22
je 0x430522
xor eax, eax
cmp ecx, 0x20
je 0x43051a
cmp ecx, 9
je 0x4304f1
mov ecx, edi
movzx edx, byte [ecx]
mov ecx, dword [ebp - 4]
add edi, 1
lea esi, [ecx + 1]
mov dword [ebp - 4], esi
mov byte [ecx], dl
jmp 0x430458
movsx eax, byte [edi]
cmp eax, 0x22
jne 0x43054b
mov eax, 1
jmp 0x43046e
push 0x4afe44
push 0
add esi, 0xa
mov ecx, esi
shl ecx, 2
push ecx
call fcn.00421dfc
add esp, 0xc
test eax, eax
jne 0x430568
mov eax, dword [0x4afe44]
mov ecx, dword [0x4aee90]
mov dword [eax], ecx
mov edx, dword [0x4afe40]
jmp 0x430446
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 1]
mov dword [ebp - 4], ecx
cmp edi, ebx
mov byte [eax], 0
jbe 0x4303e9
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x4304f7
cmp edi, ebx
ja 0x43053d
mov ecx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
add edi, 1
mov byte [ecx], 0x22
movsx ecx, byte [edi]
cmp ecx, 0x22
jne 0x430544
xor eax, eax
jmp 0x43046e
xor eax, eax
jmp 0x430483
mov eax, 1
jmp 0x430491
add edi, 1
cmp edi, ebx
jbe 0x4303e9
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x430511
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x45236c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov dword [ebp - 4], esi
mov esi, eax
cmp edx, 2
jne 0x4523a3
push 0x70
call dword [sym.imp.USER32.dll_GetKeyState]
test eax, 0x8000
je 0x4523a3
mov dword [0x4a29ac], 1
push 0
push 0xd
push 0x100
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x455a64
Capabilities:
Get thread local storage value
Log keystrokes
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov eax, dword [0x4aeff4]
test eax, eax
je 0x455c6c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
test edi, edi
je 0x455c4f
push dword [0x4a24b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x455aab
mov edi, dword [ebp - 8]
mov eax, esi
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push dword [0x4aeff4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x4a24c4]
cmp edi, edx
je 0x455b60
push 1
push edx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4a24c8]
test ecx, ecx
je 0x455be0
mov eax, dword [ecx]
lea edx, [eax*4 + 8]
push edx
push ecx
call fcn.0046e531
mov esi, eax
add dword [esi], 1
mov edi, dword [0x4aeff8]
mov edx, dword [edi]
lea ecx, [edx*4 + 8]
push ecx
push edi
call fcn.0046e531
add esp, 0x10
mov dword [0x4aeff8], eax
add dword [eax], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0xc]
xor edx, edx
push edx
push edx
push 2
push ecx
push eax
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebp - 0xc]
push 0x20
mov ecx, dword [esi]
mov dword [esi + ecx*4], edx
mov dword [0x4a24c8], esi
call fcn.0046e46e
pop ecx
mov esi, eax
test esi, esi
je 0x455bc0
mov edx, dword [0x4aeff8]
mov ecx, dword [edx]
mov dword [edx + ecx*4], esi
jmp 0x455b72
push 0x20
call fcn.0046e46e
pop ecx
mov esi, eax
test esi, esi
je 0x455c2f
push esi
push dword [0x4a24b8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x455c09
mov dword [esi], 0x400
push 0xffffffffffffffff
xor edx, edx
push esi
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
call fcn.0044dd90
add esp, 8
push dword [0x4aeff4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x455a9f
push 0x6d2
push 0x4b7314
push 4
call fcn.004580ec
add esp, 0xc
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 8
call fcn.0046e46e
mov esi, eax
mov dword [esi], 1
push 8
call fcn.0046e46e
add esp, 8
mov dword [0x4aeff8], eax
mov dword [eax], 1
jmp 0x455b13
push 0x6e5
push 0x4b7314
push 5
call fcn.004580ec
push esi
call fcn.0046e793
add esp, 0x10
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x6de
push 0x4b7314
push 4
call fcn.004580ec
add esp, 0xc
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x676
push 0x4b7314
push 5
call fcn.004580ec
add esp, 0xc
mov edi, dword [ebp - 8]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.0046e46e
pop ecx
mov dword [0x4aeff4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x455a7d
Function at 0x456400
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x4a24c8]
test eax, eax
je 0x45646f
mov edx, dword [0x4a2898]
cmp edx, 0x44d
jle 0x456447
mov dword [ebp - 4], ebx
mov eax, 0x44d
mov ebx, eax
push 1
push ebx
push dword [0x4a2428]
call dword [sym.imp.USER32.dll_EnableMenuItem]
add ebx, 1
cmp ebx, dword [0x4a2898]
jl 0x456425
mov ebx, dword [ebp - 4]
mov eax, dword [0x4a24c8]
mov edx, dword [eax]
test edx, edx
jle 0x45646f
mov dword [ebp - 4], ebx
mov edx, 1
mov ebx, edx
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [0x4a24c8]
add ebx, 1
cmp ebx, dword [eax]
jle 0x456457
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x456474
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x4a24c8]
test eax, eax
je 0x4564e3
mov edx, dword [0x4a2898]
cmp edx, 0x44d
jle 0x4564bb
mov dword [ebp - 4], ebx
mov eax, 0x44d
mov ebx, eax
push 0
push ebx
push dword [0x4a2428]
call dword [sym.imp.USER32.dll_EnableMenuItem]
add ebx, 1
cmp ebx, dword [0x4a2898]
jl 0x456499
mov ebx, dword [ebp - 4]
mov eax, dword [0x4a24c8]
mov edx, dword [eax]
test edx, edx
jle 0x4564e3
mov dword [ebp - 4], ebx
mov edx, 1
mov ebx, edx
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x4a24c8]
add ebx, 1
cmp ebx, dword [eax]
jle 0x4564cb
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x457fcc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
push eax
push eax
call fcn.0046fe5f
add esp, 8
mov dword [0x4aff40], eax
lea edx, [ebp - 0x1c]
push 1
xor eax, eax
push eax
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x45804e
mov eax, dword [ebp - 0x18]
cmp eax, 0x12
je 0x458045
lea eax, [ebp - 0x1c]
push eax
push dword [0x4a28d0]
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
test eax, eax
jne 0x458028
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [ebp - 0x1c]
push 1
xor eax, eax
push eax
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x45804e
mov eax, dword [ebp - 0x18]
cmp eax, 0x12
jne 0x458000
push dword [ebp - 0x14]
call fcn.0046dde9
pop ecx
mov eax, dword [0x4a29a0]
cmp eax, 1
je 0x457fe3
push 0xffffffffffffffff
push dword [0x4aff40]
call fcn.0046fe5f
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x45a8d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x45a944
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
call fcn.0046e46e
mov dword [ebp - 0x10], eax
add esp, 4
mov edx, eax
test edx, edx
je 0x45a9a0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp - 0x10]
mov edi, eax
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x45a920
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
call fcn.0045a9c0
mov byte [0x4af024], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
movsx eax, byte [0x4af024]
test eax, eax
je 0x45a95e
mov byte [0x4af024], 0
jmp 0x45a96e
mov eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x45a993
mov eax, dword [eax + 0x1ec]
test eax, eax
je 0x45a981
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x45a993
movsx eax, byte [0x4af024]
test eax, eax
je 0x45a993
mov byte [0x4af024], 0
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push 0x1f8
push 0x4b7448
push 4
call fcn.004580ec
add esp, 0xc
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45bae0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x84]
cmp eax, 2
jne 0x45bb47
mov eax, dword [ebp - 0x90]
cmp eax, 4
jbe 0x45bb20
mov dword [0x4af014], 1
mov edx, dword [sym.imp.GDI32.dll_SetPixelV]
mov dword [0x4aefe0], 0
mov eax, 1
mov dword [0x4af010], eax
mov dword [0x4af00c], eax
mov dword [0x4aefe4], edx
jmp 0x45bb86
mov eax, dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [ebp - 0x8c]
mov dword [0x4af00c], 0
cmp edx, 0xa
mov dword [0x4aefe0], 1
mov dword [0x4aefe4], eax
jae 0x45bb7c
mov dword [0x4af018], 1
jmp 0x45bb86
mov dword [0x4af01c], 1
mov esp, ebp
pop ebp
ret

Function at 0x45e438
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov edi, eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test eax, 0x8000
je 0x45e45c
mov esi, 1
jmp 0x45e45e
xor esi, esi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test eax, 0x8000
je 0x45e474
mov edx, 1
jmp 0x45e476
xor edx, edx
cmp esi, 1
je 0x45e5b0
cmp edx, 1
je 0x45e5b0
mov ecx, 1
cmp edi, 0x7a
je 0x45e497
cmp edi, 0x7b
jne 0x45e4c2
cmp ecx, 1
je 0x45e57a
cmp esi, 1
je 0x45e572
cmp edx, 1
jne 0x45e4b1
add edi, 0xf
and edi, 0xff
or edi, 0xe000
jmp 0x45e566
cmp edi, 0x70
jb 0x45e4f8
cmp edi, 0x79
ja 0x45e566
cmp ecx, 1
je 0x45e58a
cmp esi, 1
je 0x45e582
cmp edx, 1
jne 0x45e4ea
add edi, 0xffffffee
and edi, 0xff
or edi, 0xe000
jmp 0x45e566
cmp edi, 0x21
jb 0x45e566
cmp edi, 0x28
ja 0x45e534
cmp ecx, 1
je 0x45e592
cmp esi, 1
je 0x45e592
cmp edx, 1
jne 0x45e526
add edi, 0xf
and edi, 0xf
mov edi, dword [edi*4 + 0x4973a0]
and edi, 0xff
or edi, 0xf000
jmp 0x45e566
cmp edi, 0x2d
je 0x45e53e
cmp edi, 0x2e
jne 0x45e566
cmp ecx, 1
je 0x45e5a1
cmp esi, 1
je 0x45e5a1
cmp edx, 1
jne 0x45e55a
add edi, 0xf
and edi, 0xf
mov edi, dword [edi*4 + 0x4973a0]
and edi, 0xff
or edi, 0xf000
mov esi, dword [ebp - 4]
mov eax, edi
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
add edi, 0xd
jmp 0x45e4b1
add edi, 0xb
jmp 0x45e4b1
add edi, 0xffffffe4
jmp 0x45e4ea
add edi, 0xffffffcb
jmp 0x45e4ea
add edi, 0xf
and edi, 0xf
mov edi, dword [edi*4 + str.IQOGKHMP]
jmp 0x45e526
add edi, 0xf
and edi, 0xf
mov edi, dword [edi*4 + str.IQOGKHMP]
jmp 0x45e55a
xor ecx, ecx
jmp 0x45e48d

Function at 0x45f380
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x45f38c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
mov edi, edx
mov esi, eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
cmp eax, 0x8000
je 0x45f4c4
xor ebx, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
cmp eax, 0x8000
je 0x45f4ba
xor edx, edx
cmp ebx, 1
je 0x45f4b3
cmp edx, 1
je 0x45f4b3
mov ecx, 1
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x45f42e
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esi + 0x160], edi
mov eax, edi
mov edx, esi
call fcn.0045f4dc
test eax, eax
je 0x45f469
movzx ecx, byte [esi + 0x160]
mov dword [esi + 0x15c], 0
or ecx, 0xe000
mov dword [esi + 0x160], ecx
jmp 0x45f4a1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
call fcn.00450a38
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, 1
je 0x45f469
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x45f469
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esi + 0x160], edi
mov eax, edi
mov edx, esi
call fcn.0045f4dc
test eax, eax
jne 0x45f478
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
xor eax, eax
mov esp, ebp
pop ebp
ret
push dword [esi + 0x1ec]
call dword [sym.imp.KERNEL32.dll_SetEvent]
movzx ecx, byte [esi + 0x160]
mov dword [esi + 0x15c], 0
or ecx, 0xe000
mov dword [esi + 0x160], ecx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov eax, 1
mov esp, ebp
pop ebp
ret
xor ecx, ecx
jmp 0x45f3ea
mov edx, 1
jmp 0x45f3d3
mov ebx, 1
jmp 0x45f3b9
Function at 0x46044c
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esi
mov esi, eax
call fcn.00450a38
cmp eax, 1
je 0x4604b1
mov edx, dword [0x4af078]
test edx, edx
je 0x460472
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call fcn.00450a38
cmp eax, 2
je 0x4604a7
lea edx, [ebp - 8]
push edx
push 4
xor ecx, ecx
push esi
push 0x4604c4
push ecx
push ecx
call fcn.0047094d
add esp, 0x18
mov dword [0x4af078], eax
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, esi
call fcn.004604c8
jmp 0x4604a0
mov esi, dword [ebp - 4]
mov dword [0x4af080], 1
mov esp, ebp
pop ebp
ret
Function at 0x4610b8
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], esi
mov esi, eax
mov eax, esi
call fcn.0046044c
call fcn.00450a38
cmp eax, 2
je 0x4610fa
lea edx, [ebp - 8]
push edx
push 4
xor ecx, ecx
push esi
push 0x461104
push ecx
push ecx
call fcn.0047094d
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, esi
call fcn.00461108
jmp 0x4610f3

Function at 0x461244
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], esi
mov esi, eax
mov eax, esi
call fcn.0046044c
call fcn.00450a38
cmp eax, 2
je 0x461286
lea edx, [ebp - 8]
push edx
push 4
xor ecx, ecx
push esi
push 0x461290
push ecx
push ecx
call fcn.0047094d
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, esi
call fcn.00461294
jmp 0x46127f

Function at 0x461338
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], esi
mov esi, eax
mov eax, esi
call fcn.0046044c
call fcn.00450a38
cmp eax, 2
je 0x46137a
lea edx, [ebp - 8]
push edx
push 4
xor ecx, ecx
push esi
push 0x461384
push ecx
push ecx
call fcn.0047094d
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, esi
call fcn.00461388
jmp 0x461373

Function at 0x47055a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x470587
call fcn.0046f896
mov dword [eax], esi
call fcn.0046f883
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00473807
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x470563
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4705b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046f8a9
pop ecx
call fcn.0046f883
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4705dd
test al, 1
je 0x4705dd
test byte [esp + 0xc], 2
je 0x4705dd
call fcn.0046f896
mov dword [eax], 5
call fcn.0046f883
mov dword [eax], 0xd
jmp 0x4705ad
xor eax, eax
pop esi
ret

Function at 0x476e1a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a41f0]
jne 0x476e24
repz ret
jmp fcn.0047e400
Function at 0x47afe8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00472cad
xor ebx, ebx
cmp dword [0x4af868], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x47b0bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x47b028
xor eax, eax
jmp 0x47b181
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49d818
push edi
call esi
cmp eax, ebx
je 0x47b021
push eax
call fcn.00472c4a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4af868], eax
call esi
push eax
call fcn.00472c4a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4af86c], eax
call esi
push eax
call fcn.00472c4a
mov dword [0x4af870], eax
lea eax, [ebp - 8]
push eax
call fcn.0046dc16
test eax, eax
pop ecx
pop ecx
je 0x47b08b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047370b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x47b0bd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00472c4a
cmp eax, ebx
pop ecx
mov dword [0x4af878], eax
je 0x47b0bd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00472c4a
pop ecx
mov dword [0x4af874], eax
mov eax, dword [0x4af874]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x47b136
cmp dword [0x4af878], esi
je 0x47b136
push eax
call fcn.00472cb6
pop ecx
call eax
cmp eax, ebx
je 0x47b103
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4af878]
call fcn.00472cb6
pop ecx
call eax
test eax, eax
je 0x47b103
test byte [ebp - 0x18], 1
jne 0x47b136
lea eax, [ebp - 0xc]
push eax
call fcn.0046dc4d
test eax, eax
pop ecx
je 0x47b11e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047370b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x47b12d
or dword [ebp + 0x10], 0x200000
jmp 0x47b167
or dword [ebp + 0x10], 0x40000
jmp 0x47b167
mov eax, dword [0x4af86c]
cmp eax, esi
je 0x47b167
push eax
call fcn.00472cb6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47b167
mov eax, dword [0x4af870]
cmp eax, esi
je 0x47b167
push dword [ebp - 4]
push eax
call fcn.00472cb6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4af868]
call fcn.00472cb6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48829c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ecx, edx
add ecx, dword [eax + 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x4882b4
mov ebx, dword [eax + 8]
xor eax, eax
jmp 0x4882ce
mov ebx, dword [eax + 8]
xor eax, eax
cmp eax, ebx
jae 0x4882da
add ecx, 1
movzx edx, byte [ecx]
add eax, 1
cmp edx, 0xcc
je 0x4882b9
cmp eax, ebx
jae 0x4882da
cmp edx, 0xe9
je 0x4882de
xor eax, eax
pop ebx
ret
mov eax, 1
pop ebx
ret
Function at 0x4882e8
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x38
lea eax, [esp + 8]
push 0x1c
push eax
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4883ff
mov edi, dword [esp + 0xc]
movzx eax, word [edi]
cmp eax, 0x5a4d
je 0x488323
mov eax, 0xffffffff
add esp, 0x38
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [edi + 0x3c]
movzx ebx, word [ecx + edi + 0x14]
movzx ebp, word [ecx + edi + 6]
lea eax, [edi + ecx + 0x18]
add eax, ebx
test ebp, ebp
jbe 0x488436
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edi
xor ebp, ebp
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x30], esi
mov edi, eax
mov dword [esp + 0x24], ebx
jmp 0x488360
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x34]
push 7
push str..trace
push edi
call fcn.0047b5a8
add esp, 0xc
test eax, eax
jne 0x488392
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx ebx, word [edx + ecx + 6]
mov esi, edi
add ebp, 1
add edi, 0x28
cmp ebp, ebx
jae 0x4883e3
mov ebx, 1
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4883c3
push 6
push str..text
push edi
call fcn.0047b5a8
add esp, 0xc
test eax, eax
jne 0x4883c3
mov dword [esp + 0x24], edi
add edi, 0x28
add ebp, 1
mov esi, 1
jmp 0x4883c9
add edi, 0x28
add ebp, 1
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
movzx edx, word [edx + ecx + 6]
cmp ebp, edx
jae 0x488428
test ebx, ebx
jne 0x48839a
jmp 0x488358
mov edx, dword [esp + 0x24]
mov edi, ecx
mov eax, edx
mov edx, edi
call fcn.0048829c
cmp eax, 1
je 0x4883ff
mov eax, dword [esi + 8]
cmp eax, 0x16
jae 0x48840c
mov eax, 0xffffffff
add esp, 0x38
pop ebx
pop ebp
pop esi
pop edi
ret
add edi, dword [esi + 0xc]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [ecx], edi
mov edx, dword [esi + 8]
mov dword [eax], edx
xor eax, eax
add esp, 0x38
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov edi, ecx
test ebx, ebx
jne 0x4883e9
mov eax, 0xffffffff
add esp, 0x38
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x1001e6ab
Capabilities:
Encode data using xor

Disassembly:
or byte [ecx], dl
and esi, dword [ebp - 0x75]
inc ebp
adc byte [ebx + 0x45390c1f], cl
or byte [ebp + 9], dh
cmp ecx, dword [ebp + 0x14]
jne 0x1001e6c5
xor eax, eax
jmp 0x1001e6d6
ja 0x1001e6d3
jb 0x1001e6ce
cmp dword [ebp + 8], eax
jae 0x1001e6d3
or eax, 0xffffffff
jmp 0x1001e6d6
xor eax, eax
inc eax
inc eax
inc ebp
adc byte [eax], cl
push 8
mov eax, 0x1004fe24
call fcn.10040620
mov esi, ecx
mov dword [ebp - 0x10], esi
dec eax
or dword [ecx + 0x4468906], ecx
mov bl, 0x46
or byte [ecx - 0x766b7cc0], cl
push edi
mov ebx, dword [eax + 4]
push ebx
call 0x58584eab
xor esi, dword [edi + 0x3c74db85]
push 0x20
call fcn.1004077e
pop ecx
mov dword [eax], eax
in al, dx
mov byte [ebp - 4], 1
xor al, 2
clc
call 0x9b3a4daa
or edi, edi
xor al, 0xb9
invalid