joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073066
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10073088
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10073088
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10073088
ret
cmp word [ebx + 4], 0x14c
jne 0x10073088
test word [ebx + 0x16], 2
je 0x10073088
test word [ebx + 0x16], 0x100
je 0x10073088
cmp word [ebx + 0x18], 0x10b
jne 0x10073088
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10073088
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10073114
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100730a8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10059ff3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10073088
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10073114
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10073088
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10073088
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10073088
ret
cmp word [ebx + 4], 0x14c
jne 0x10073088
test word [ebx + 0x16], 2
je 0x10073088
test word [ebx + 0x16], 0x100
je 0x10073088
cmp word [ebx + 0x18], 0x10b
jne 0x10073088
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10073088
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10073114
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100730a8
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10059ff3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10073088
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100731cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10073224
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100731cb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100731da
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10478e7d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1007322b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005a0a1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100732ca
add edi, 4
add eax, 2
dec ecx
jne 0x10073210
call 0x10073277
loope 0x1007326d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100732c7
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100732d8
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1007328b
cmp eax, ecx
ja 0x1007328b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10073315
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1007330b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005a580
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100731da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10073224
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100731cb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100731da
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10478e7d
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1007322b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005a0a1
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100732ca
add edi, 4
add eax, 2
dec ecx
jne 0x10073210
call 0x10073277
loope 0x1007326d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100732c7
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100732d8
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1007328b
cmp eax, ecx
ja 0x1007328b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10073315
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1007330b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005a580
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10031e6f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 0x3dd1
push 1
push 0x3ccc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10031c04
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10031ea9
xor eax, eax
jmp 0x10031ff7
push 0x5ea2
lea eax, [ebp - 8]
push eax
push 1
push 0xdee
push 0x1351
lea eax, [ebp - 0x10]
push eax
push 0x10f1
lea eax, [ebp + 8]
push eax
call fcn.10031c85
add esp, 0x20
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10031ee5
xor eax, eax
jmp 0x10031ff7
push 0x54e7
push dword [ebp - 8]
push 1
lea eax, [ebp - 0xc]
push eax
push 0x7673
call fcn.1003191d
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10031f0d
xor eax, eax
jmp 0x10031ff7
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
call fcn.10031ac0
add esp, 0x18
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0
push 0x73dd
push 0x76ae
push 0x27b
push 0x5b4c
call fcn.1002b2cc
add esp, 0x20
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10031f7f
push 0x1575
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x1408
push 0x4ec
call fcn.10031da2
add esp, 0x18
push dword [ebp - 4]
call fcn.10030369
pop ecx
test eax, eax
jne 0x10031f90
xor eax, eax
jmp 0x10031ff7
push 1
lea eax, [ebp - 4]
push eax
call fcn.10031e3a
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10031fdf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10031fbc
xor eax, eax
jmp 0x10031ff7
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10031fd5
xor eax, eax
jmp 0x10031ff7
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10031ff0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10031ff4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10048529
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004869d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10048599
mov dword [ebp - 0x20], 1
jmp 0x1004859d
and dword [ebp - 0x20], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.10019594
cmp dword [eax], 0
jne 0x10048630
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
mov eax, 0x50e8f7cf
sub eax, 0xfffffff7
cmp eax, 4
jge 0x100485d0
mov dword [ebp - 0x40], 1
jmp 0x100485d4
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
cmp dword [eax], 0
je 0x10048605
push 0
mov ecx, dword [ebp - 4]
call fcn.10019594
cmp dword [eax], 0
je 0x10048605
mov dword [ebp - 0x10], 1
jmp 0x10048609
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x1004861c
mov dword [ebp - 0x14], 1
jmp 0x10048620
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x10048630
and dword [ebp - 0x18], 0
jmp 0x10048637
mov dword [ebp - 0x18], 1
push 0
mov ecx, dword [ebp - 8]
call fcn.10019594
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jne 0x10048651
mov dword [ebp - 0x1c], 1
jmp 0x10048655
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10019594
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jge 0x1004866f
mov dword [ebp - 0x24], 1
jmp 0x10048673
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jle 0x10048684
mov dword [ebp - 0x28], 1
jmp 0x10048688
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
imul eax, ecx, 0x89ed
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x100486be
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100486be
push 0x1579
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10061af0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x12673b10]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x12673c28
call fcn.10060ce0
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10061dc0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10088330]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10061de4
jmp 0x10061e53
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10061df8
jmp 0x10061e53
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10061e24
jmp 0x10061e53
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x10061e45
jmp 0x10061e53
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x1007db76
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10088330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006f4b9
mov dword [ebp - 0x14], eax
cmp dword [0x12674ce0], esi
jne 0x1007dc69
push 0x800
push esi
push 0x1000a4a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007dbf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007dd49
push esi
push esi
push 0x1000a4a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007dd49
push 0x1000a4b8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007dd49
push eax
call ebx
push 0x1000a4c4
push edi
mov dword [0x12674ce0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a4d4
push edi
mov dword [0x12674ce4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a4e8
push edi
mov dword [0x12674ce8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x12674cf0], eax
test eax, eax
je 0x1007dc66
push 0x1000a504
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x12674cec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007dc8e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007dc81
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007dca3
push 4
pop eax
jmp 0x1007dd4b
cmp dword [ebp - 0x14], esi
je 0x1007dca3
push dword [0x12674ce0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007dc88
mov eax, dword [0x12674cec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007dd01
cmp dword [0x12674cf0], edi
je 0x1007dd01
push eax
call ebx
push dword [0x12674cf0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007dd01
test eax, eax
je 0x1007dd01
call ecx
test eax, eax
je 0x1007dcf6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007dcf6
test byte [ebp - 8], 1
jne 0x1007dd01
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007dd31
mov eax, dword [0x12674ce4]
cmp eax, edi
je 0x1007dd2e
push eax
call ebx
test eax, eax
je 0x1007dd2e
call eax
mov esi, eax
test esi, esi
je 0x1007dd2e
mov eax, dword [0x12674ce8]
cmp eax, edi
je 0x1007dd2e
push eax
call ebx
test eax, eax
je 0x1007dd2e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x12674ce0]
call ebx
test eax, eax
je 0x1007dd49
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007dd4b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x4290dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4290dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4290e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4290e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4290ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4290e8], eax
mov eax, dword [0x4290e8]
cmp eax, ebx
je 0x406664
cmp dword [0x4290ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x4290ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x4290e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x4290e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4290dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4209ed
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x437044]
push dword [0x436d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420a7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp ebx, 0x19f
jne 0x420a90
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x420ab4
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.00420a71
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x420a98
pop esi
pop edi
cmp ebx, 0x2d
jne 0x420acb
or dword [0x437054], 0xffffffff
mov dword [0x437050], 0xa62e7790
leave
ret
Function at 0x8352f1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x82d410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jne 0x835314
push ebx
call dword [0x84601c]
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0xc], 0x646f632e
mov dword [ebp - 8], 0x65
movzx edi, word [esi + 0x14]
push dword [esi + 0x88]
add edi, 0x18
push esi
add edi, esi
call fcn.0082e824
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x8353bd
movzx edx, word [esi + 6]
xor ecx, ecx
test edx, edx
jle 0x83536a
lea eax, [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x835362
lea eax, [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
je 0x83536a
add edi, 0x28
inc ecx
cmp ecx, edx
jl 0x83534e
cmp ecx, edx
je 0x8353bd
mov ecx, dword [esi + 0x34]
add ecx, dword [edi + 0xc]
mov edi, 0x82ee30
xor edx, edx
mov eax, dword [ecx + edx*4]
cmp eax, dword [edi + edx*4]
jne 0x8353bd
inc edx
cmp edx, 4
jne 0x83537b
xor edx, edx
mov eax, dword [ecx + edx*4 + 0x140]
cmp eax, dword [edi + edx*4]
jne 0x8353bd
inc edx
cmp edx, 4
jne 0x83538b
cmp dword [ecx + 0x124], 0
je 0x8353ad
push 0x83567c
jmp 0x8353b2
push 0x835661
push esi
push ebx
push ecx
call fcn.008353ce
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00836d46
mov esp, ebp
pop ebp
ret
Function at 0x876540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.00889f00
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
call fcn.00889780
add eax, ebx
push eax
call dword [0x100df290]
test eax, eax
jne 0x876625
mov ecx, esi
call fcn.00889780
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ebx + 8]
mov edi, dword [eax + ebx + 0xc]
call fcn.00889780
mov ecx, dword [esp + 0x2c]
add eax, ebx
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00889780
mov ebx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
mov dword [edx + 8], ecx
mov ecx, ebx
mov dword [edx], ebx
mov dword [edx + 0xc], eax
call fcn.00889780
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + eax]
call fcn.00873cc0
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], esi
mov esi, ecx
mov dword [eax], ecx
mov dword [eax + 0xc], edi
call fcn.00889780
lea ecx, [ebx + eax]
call fcn.00873cc0
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov ecx, esi
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
call fcn.00889780
add eax, dword [esp + 0x20]
mov ecx, eax
call fcn.00873cc0
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x34]
call fcn.008895b0
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.0088aa50

Function at 0x876640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.00889f00
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], eax
call fcn.00889780
add eax, ebx
push eax
call dword [0x100df290]
test eax, eax
jne 0x876725
mov ecx, esi
call fcn.00889780
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ebx + 8]
mov edi, dword [eax + ebx + 0xc]
call fcn.00889780
mov ecx, dword [esp + 0x2c]
add eax, ebx
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00889780
mov ebx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x14]
mov dword [edx + 8], ecx
mov ecx, ebx
mov dword [edx], ebx
mov dword [edx + 0xc], eax
call fcn.00889780
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + eax]
call fcn.00873d60
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], esi
mov esi, ecx
mov dword [eax], ecx
mov dword [eax + 0xc], edi
call fcn.00889780
lea ecx, [ebx + eax]
call fcn.00873d60
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov ecx, esi
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
call fcn.00889780
add eax, dword [esp + 0x20]
mov ecx, eax
call fcn.00873d60
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x34]
call fcn.008895b0
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
jmp fcn.0088aa50