joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449514
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4496bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4496a0
mov dl, 1
mov eax, dword [0x411664]
call fcn.0040311c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e84
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44968f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437438
test al, al
je 0x449682
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4496d0
lea eax, [ebp - 0x254]
call fcn.004087fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449682
xor eax, eax
push ebp
push 0x44967b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449708
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449664
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449664
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449682
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449585
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415140
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4496c6
lea eax, [ebp - 0x260]
call fcn.00403e84
ret

Function at 0x449ff4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44a065
cmp dword [0x451bc8], 0
jne 0x44a026
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449fb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44a041
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44a065
push esp
push 0
push 0
push 0x449f54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44a15c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a173
add esp, 0xfffffff0
call fcn.00403458
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f50
mov eax, dword [0x44ff70]
cmp word [eax + 2], 0
jne 0x44a19b
mov eax, dword [0x44ff70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b834
mov eax, dword [0x450018]
cmp word [eax + 2], 0
jne 0x44a1b5
mov eax, dword [0x450018]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ba2c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411248]
call fcn.0040311c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.0040311c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b124]
call fcn.00420dec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44a33c
mov eax, dword [0x44fe98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004211bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bfcc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe98]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be38
test eax, eax
je 0x44a2aa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be60
test eax, eax
je 0x44a2be
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
mov eax, dword [0x44fd9c]
cmp byte [eax], 0
jne 0x44a2f2
mov eax, ebx
call fcn.0044a464
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044c1a8
mov eax, ebx
call fcn.0044cb6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a332
call fcn.004034b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a6e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44a78e
cmp dword [ebx + 0x94], 0
jne 0x44a788
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a674
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a788
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a74e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a788
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004135b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a75d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b2f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b325
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f74
jmp 0x44b332
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ed8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c384
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c3c5
mov eax, esi
call fcn.00432bfc
test al, al
je 0x44c3c5
mov eax, dword [ebx + 0x84]
call fcn.0043299c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c3c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043299c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x50c040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb7000]
push edi
jmp 0x50c05a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c050
mov eax, 1
add ebx, ebx
jne 0x50c073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c084
jne 0x50c0a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c0a3
dec eax
add ebx, ebx
jne 0x50c090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50c068
add ebx, ebx
jne 0x50c09f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50c0f5
xor ecx, ecx
sub eax, 3
jb 0x50c0bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c12a
sar eax, 1
mov ebp, eax
jmp 0x50c0c6
add ebx, ebx
jne 0x50c0c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c094
inc ecx
add ebx, ebx
jne 0x50c0d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c094
add ebx, ebx
jne 0x50c0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c0d6
jne 0x50c0f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c0d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c106
jmp 0x50c056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c114
add edi, ecx
jmp 0x50c056
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50c132
cmp byte [edi], 0x11
jne 0x50c132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50c137
lea edi, [esi + 0x105000]
mov eax, dword [edi]
or eax, eax
je 0x50c1af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140b50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140ccc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c164
mov ecx, edi
jns 0x50c193
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x140cd0]
or eax, eax
je 0x50c1a9
mov dword [ebx], eax
add ebx, 4
jmp 0x50c181
call dword [esi + 0x140ce0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50c1e0
cmp al, 0xef
ja 0x50c1d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50c1b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50c1c2
mov ebp, dword [esi + 0x140cd4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50c214
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x1001e000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1001e021
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1001dd33
mov ebp, 0x8d326fe0
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1001e180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1001dd43
push eax
push esi
push dword [ebp + 8]
invalid
push ebp

Function at 0x1001e410
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1001e40a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1001e428
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1001e486
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1001e46d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1001e476
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1001e480
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1001e462
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1001e3ec
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x1001f1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec eax
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1001dd33
cmpsb byte [esi], byte es:[edi]
and ah, byte [ebp - 0x2b7a724d]
clc
invalid
Function at 0x10021930
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.100218e0
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esi], eax
je 0x10021997
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
call edi
test eax, eax
mov dword [esi + 4], eax
je 0x10021980
push 0
push 0
push 1
push 0
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x10021987
mov eax, dword [esi + 4]
test eax, eax
je 0x10021980
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop edi
xor al, al
pop esi
ret 4
push esi
push 0
push 0x10021870
call fcn.1002ca38
add esp, 0xc
pop edi
mov al, 1
pop esi
ret 4
Function at 0x1002b01c
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x10049644]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp + 0x39c]
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp + 0x39c]
push 0x5c
push eax
call fcn.1002d04e
cmp eax, edi
pop ecx
pop ecx
je 0x1002b06f
mov word [eax + 2], di
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 0x78], edi
pop edi
pop esi
jne 0x1002b0a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x78], eax
call fcn.1002afbb
mov edx, dword [ebp - 0x78]
mov ecx, 0xefffffff
and eax, ecx
and edx, ecx
mov ecx, dword [ebp + 0x5a4]
xor ecx, ebp
add eax, edx
call fcn.1002b5d1
add ebp, 0x5a8
leave
ret

Function at 0x1002b5d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10049644]
jne 0x1002b5db
repz ret
jmp fcn.1002e43c
Function at 0x1002f409
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10049888]
je 0x1002f424
inc edi
cmp edi, 0x17
jb 0x1002f415
cmp edi, 0x17
jae 0x1002f5a4
push ebp
push 3
call fcn.10034f4d
cmp eax, 1
pop ecx
je 0x1002f570
push 3
call fcn.10034f4d
test eax, eax
pop ecx
jne 0x1002f458
cmp dword [0x1004a8a8], 1
je 0x1002f570
cmp ebx, 0xfc
je 0x1002f5a3
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1004abf0
push ebp
call fcn.10033208
add esp, 0xc
test eax, eax
je 0x1002f48e
push esi
push esi
push esi
push esi
push esi
call fcn.1002f0df
add esp, 0x14
push 0x104
mov esi, 0x1004ac09
push esi
push 0
mov byte [0x1004ad0d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1002f4d2
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10033208
add esp, 0xc
test eax, eax
je 0x1002f4d2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002f0df
add esp, 0x14
push esi
call fcn.10033050
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1002f517
push esi
call fcn.10033050
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1004af04
push 0x1003f75c
sub ecx, eax
push ecx
push eax
call fcn.10033155
add esp, 0x14
test eax, eax
je 0x1002f517
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1002f0df
add esp, 0x14
jmp 0x1002f519
xor esi, esi
push 0x1003f758
push ebx
push ebp
call fcn.10034edc
add esp, 0xc
test eax, eax
je 0x1002f539
push esi
push esi
push esi
push esi
push esi
call fcn.1002f0df
add esp, 0x14
push dword [edi*8 + 0x1004988c]
push ebx
push ebp
call fcn.10034edc
add esp, 0xc
test eax, eax
je 0x1002f55b
push esi
push esi
push esi
push esi
push esi
call fcn.1002f0df
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10034d1f
add esp, 0xc
jmp 0x1002f5a3
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1002f5a3
cmp ebp, 0xffffffff
je 0x1002f5a3
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1004988c]
push dword [esi]
call fcn.10033050
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10034d1f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1002ddd4
xor ebx, ebx
cmp dword [0x1004b268], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10034df5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10034ed5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10034ed5
push eax
call fcn.1002dd66
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1004b268], eax
call esi
push eax
call fcn.1002dd66
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004b26c], eax
call esi
push eax
call fcn.1002dd66
mov dword [0x1004b270], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1003283f
test eax, eax
pop ecx
pop ecx
je 0x10034dc3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002f0df
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10034df5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1002dd66
cmp eax, ebx
pop ecx
mov dword [0x1004b278], eax
je 0x10034df5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002dd66
pop ecx
mov dword [0x1004b274], eax
mov eax, dword [0x1004b274]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10034e7a
cmp dword [0x1004b278], ecx
je 0x10034e7a
push eax
call fcn.1002dddd
push dword [0x1004b278]
mov esi, eax
call fcn.1002dddd
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10034e7a
cmp edi, ebx
je 0x10034e7a
call esi
cmp eax, ebx
je 0x10034e47
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10034e47
test byte [ebp - 0x18], 1
jne 0x10034e7a
lea eax, [ebp - 0x10]
push eax
call fcn.10032876
test eax, eax
pop ecx
je 0x10034e62
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002f0df
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10034e71
or dword [ebp + 0x10], 0x200000
jmp 0x10034eb5
or dword [ebp + 0x10], 0x40000
jmp 0x10034eb5
mov eax, dword [0x1004b26c]
cmp eax, dword [ebp - 8]
je 0x10034eb5
push eax
call fcn.1002dddd
cmp eax, ebx
pop ecx
je 0x10034eb5
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10034eb5
mov eax, dword [0x1004b270]
cmp eax, dword [ebp - 8]
je 0x10034eb5
push eax
call fcn.1002dddd
cmp eax, ebx
pop ecx
je 0x10034eb5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004b268]
call fcn.1002dddd
cmp eax, ebx
pop ecx
je 0x10034ed5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10034ed7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003f07
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x10003e7b
push 0
push 0
mov dword [esi + 8], eax
call fcn.1001ce74
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi], eax
pop esi
mov eax, ecx
ret 4
Function at 0x10009b31
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], esi
jne 0x10009b71
cmp dword [0x10039960], esi
je 0x10009d00
push esi
call dword [0x1002e138]
cmp dword [ebp + 8], esi
jne 0x10009b60
mov dword [ebp + 8], eax
cmp dword [ebp + 8], eax
jne 0x10009b71
cmp dword [ebp + 0xc], esi
jne 0x10009b71
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10009a66
movzx eax, al
cmp dword [ebp + 0xc], esi
jne 0x10009b92
xor ecx, ecx
cmp eax, esi
sete cl
mov eax, ecx
cmp eax, esi
jne 0x10009d00
push edi
mov edi, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10009cff
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x10009cff
push ebx
mov ebx, dword [eax + 0x80]
cmp ebx, esi
je 0x10009cfe
mov ecx, dword [ebp - 4]
lea eax, [ebp + 8]
push eax
cmp dword [ebp + 0xc], esi
je 0x10009be1
call fcn.10009ac5
mov dword [eax], esi
jmp 0x10009be6
call fcn.10009a8b
add ebx, edi
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x10009cef
jmp 0x10009bf8
mov edi, dword [ebp + 8]
lea esi, [eax + edi]
push 0x1002f6a0
push esi
call fcn.100234b9
pop ecx
pop ecx
test eax, eax
jne 0x10009cc3
mov esi, dword [ebx]
add esi, edi
mov edi, dword [ebx + 0x10]
add edi, dword [ebp + 8]
jmp 0x10009c7f
js 0x10009c79
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 2]
push 0x1002ea94
push eax
call fcn.1001d730
pop ecx
pop ecx
test eax, eax
jne 0x10009c79
cmp dword [ebp + 0xc], 0
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
je 0x10009c4f
xor ecx, ecx
cmp eax, sym.BugTrap.dll_BT_NetFilter
setne cl
mov eax, ecx
jmp 0x10009c52
xor eax, eax
inc eax
test eax, eax
je 0x10009c79
push 0x1c
lea eax, [ebp - 0x30]
push eax
push edi
call dword [0x1002e170]
lea eax, [ebp - 0x10]
push eax
push 4
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [0x1002e16c]
test eax, eax
jne 0x10009c87
add esi, 4
add edi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10009c1c
jmp 0x10009cdf
cmp dword [ebp + 0xc], 0
mov eax, sym.BugTrap.dll_BT_NetFilter
jne 0x10009c95
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [0x1002e16c]
cmp dword [ebp + 0xc], 0
je 0x10009cdf
mov ecx, dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.10009ac5
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x10009cdf
push esi
call dword [0x1002e138]
test eax, eax
je 0x10009cdf
mov ecx, dword [ebp + 0x10]
inc ecx
push ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push eax
call fcn.10009b31
mov eax, dword [ebx + 0x20]
add ebx, 0x14
test eax, eax
jne 0x10009bf5
xor esi, esi
cmp dword [ebp - 8], esi
je 0x10009cfe
mov ecx, dword [ebp - 4]
push 1
call fcn.1000995f
pop ebx
pop edi
pop esi
leave
ret 0xc