joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c751
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38

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

Disassembly:
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]

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

Disassembly:
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]

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

Disassembly:
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
pop esp
and al, 0x14
mov dword [esp + 0x1c], ebx
call 0x56f021
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x45c819
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x56f021
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x568cfc
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x45c8bf
cmp edi, dword [esi + 0x7c]
jge 0x45c8bf
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.00471163
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and al, 0x24
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00471163
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x56f021
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x56f021
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x45c811
jmp 0x45c7e1
call fcn.0047538a
int3
Function at 0x473551
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x585e21
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x473619
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x585e21
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x57fafc
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x4736bf
cmp edi, dword [esi + 0x7c]
jge 0x4736bf
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.00487f63
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00487f63
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x585e21
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x585e21
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x473611
jmp 0x4735e1
call fcn.0048c18a
int3

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
Function at 0x48a79c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x59d021
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x48a819
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x59d021
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x596cfc
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x48a8bf
cmp edi, dword [esi + 0x7c]
jge 0x48a8bf
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.0049f163
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049f163
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x59d021
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x59d021
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x48a811
jmp 0x48a7e1
call fcn.004a338a
int3

Function at 0x49efeb
Capabilities:
Authenticate hmac

Disassembly:
and byte [ecx], cl
adc bl, byte [edi - 0x5e]
invalid
sal byte [edx + 0x79], 0xba
jns 0x49ef65
insd dword es:[edi], dx
ret
mov dword [0x7f9b4874], eax
add dword [edx], ebx
jg 0x49efa7
pcmpgtd mm5, mm4
enter 0xffffffffffffe6a1, 0xffffffffffffffff
dec edi
jle 0x49efd1
clc
jge 0x49efa9
and byte [esi], bl
enter 0xfffffffffffff075, 0x6e
or eax, 0x6f54da30
mov dh, 0xd9
cwde
cmp al, byte [ecx - 0x4f]
jmp 0x49f02a
jecxz 0x49eff3
jns 0x49efbb
int3
outsb dx, byte [esi]
pop ss
ror byte [edi + 5], 0xd6
invalid
add eax, 0x9ff58dd6
popal
or eax, 0x11418617
xor bl, byte [ebx]
pop edi
jnp 0x49f047
push ebp
out dx, eax
pop es
add ebp, edi
pushal
out 0x5c, al
cld
sub ah, dh
or byte [ebp + 9], dl
sub dword [ecx], ebx
adc cl, byte [edi + 0x5208d0b6]
dec eax
wait
fdiv qword [ecx]
test eax, 0x70c054f6
pop ds
push esp
pop edi
push esp
lodsd eax, dword [esi]
je 0x49efee
invalid
mov ss, word [edx]
xor ch, byte [eax - 0x79]
in eax, dx
xor al, 0x6d
sub cl, dh
loop 0x49f09a
sub al, 0x92
mov bl, 0x54
mov esi, 0x12f94c9f
insb byte es:[edi], dx
dec ebp
add byte [eax + 0x439eac7e], al
cdq
stosd dword es:[edi], eax
push ds
invalid
scasd eax, dword es:[edi]
Function at 0x4a1631
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x5b3f01
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x4a16f9
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x5b3f01
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x5adbdc
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x4a179f
cmp edi, dword [esi + 0x7c]
jge 0x4a179f
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.004b6043
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004b6043
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x5b3f01
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x5b3f01
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x4a16f1
jmp 0x4a16c1
call fcn.004ba26a
int3
Function at 0x4b7f92
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be408
push 0x4b7eac
add byte [ecx], ah
add byte [eax], al
add byte [eax + 0x64], dl
mov dword [0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x4c4d10], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x4c4d0c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x4c4d08], ecx
shr eax, 0x10
mov dword [0x4c4d04], eax
push 1
call fcn.004b909b
pop ecx
test eax, eax
jne 0x4b7fef
invalid
push 0x1c
call fcn.004b80b1
pop ecx
call fcn.004b8e58
test eax, eax
jne 0x4b8000
push 0x10
call fcn.004b80b1
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004b8c9c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4c53d4], eax
call fcn.004b8b6a
mov dword [0x4c4cf4], eax
call fcn.004b891d
call fcn.004b8864
call fcn.004b8574
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004b880c
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x4b804f
movzx eax, word [ebp - 0x2c]
jmp 0x4b8052
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.004b85a1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.004b8694
pop ecx
pop ecx
ret

Function at 0x4b8ecc
Capabilities:
Set thread local storage value

Disassembly:
add byte [ebx - 0x77ea0008], cl
loope 0x4b8f1f
add byte [ebx + 0x75f685f0], cl
aas
push 0x74
push 1
call fcn.004baa55
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4b8f12
push esi
push dword [0x4c036c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4b8f12
push esi
call fcn.004b8eac
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x4b8f1a
push 0x10
call fcn.004b808c
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
dec ebx
add byte [ebx - 0x3ca1a03a], cl
Function at 0x4b9131
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c0378
cmp edx, dword [eax]
je 0x4b9153
add eax, 8
inc ecx
cmp eax, 0x4c0408
jl 0x4b9144
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c0378]
jne 0x4b9281
mov eax, dword [0x4c4cfc]
cmp eax, 1
je 0x4b925b
test eax, eax
jne 0x4b9184
cmp dword [0x4c02a0], 1
je 0x4b925b
cmp edx, 0xfc
je 0x4b9281
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b91bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b9b10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b9fa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b91fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b9fa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be76c
push edi
call fcn.004bbe70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b9b10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9b20
lea eax, [ebp - 0xa0]
push 0x4be74c
push eax
call fcn.004b9b20
push dword [esi + 0x4c037c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9b20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bbde4
add esp, 0x2c
pop edi
jmp 0x4b9281
lea eax, [ebp + 8]
lea esi, [esi + 0x4c037c]
push 0
push eax
push dword [esi]
call fcn.004b9fa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x20092cdc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42e1d0
nop
mov ecx, 0x78560918
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42228a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fec30]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041fad0
mov dword [ebp - 0x14], eax
cmp dword [0x5007b8], edi
jne 0x42237b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x422308
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42245b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42245b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42245b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x5007b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x5007bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x5007c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5007c8], eax
test eax, eax
je 0x422378
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5007c4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4223a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x422393
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4223b5
push 4
pop eax
jmp 0x42245d
cmp dword [ebp - 0x14], edi
je 0x4223b5
push dword [0x5007b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42239a
mov eax, dword [0x5007c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x422413
cmp dword [0x5007c8], esi
je 0x422413
push eax
call ebx
push dword [0x5007c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x422413
test eax, eax
je 0x422413
call ecx
test eax, eax
je 0x422408
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 0x422408
test byte [ebp - 8], 1
jne 0x422413
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x422443
mov eax, dword [0x5007bc]
cmp eax, esi
je 0x422440
push eax
call ebx
test eax, eax
je 0x422440
call eax
mov edi, eax
test edi, edi
je 0x422440
mov eax, dword [0x5007c0]
cmp eax, esi
je 0x422440
push eax
call ebx
test eax, eax
je 0x422440
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5007b8]
call ebx
test eax, eax
je 0x42245b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42245d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420a83
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1da77d99
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x3dd332c1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a004]
jne 0x40100a
repz ret
jmp fcn.004013f0

Function at 0x40736e
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.004046f8
and dword [ebp - 4], 0
cmp dword [0x41c184], 0
mov ebx, eax
jne 0x40741f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4074d0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4074d0
push eax
call fcn.00404686
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41c184], eax
call esi
push eax
call fcn.00404686
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41c188], eax
call esi
push eax
call fcn.00404686
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41c18c], eax
call esi
push eax
call fcn.00404686
pop ecx
mov dword [0x41c194], eax
test eax, eax
je 0x40741f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404686
pop ecx
mov dword [0x41c190], eax
mov eax, dword [0x41c190]
cmp eax, ebx
je 0x407477
cmp dword [0x41c194], ebx
je 0x407477
push eax
call fcn.00404701
push dword [0x41c194]
mov esi, eax
call fcn.00404701
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407477
test edi, edi
je 0x407477
call esi
test eax, eax
je 0x40746e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40746e
test byte [ebp - 0xc], 1
jne 0x407477
or dword [ebp + 0x10], 0x200000
jmp 0x4074b0
mov eax, dword [0x41c188]
cmp eax, ebx
je 0x4074b0
push eax
call fcn.00404701
pop ecx
test eax, eax
je 0x4074b0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4074b0
mov eax, dword [0x41c18c]
cmp eax, ebx
je 0x4074b0
push eax
call fcn.00404701
pop ecx
test eax, eax
je 0x4074b0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41c184]
call fcn.00404701
pop ecx
test eax, eax
je 0x4074d0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4074d2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417a9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp esi, 0x19f
jne 0x417ab9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor edx, edx
test esi, esi
jle 0x417ada
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.00417a93
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, esi
jl 0x417abf
cmp esi, 0x2d
jne 0x417af0
or dword [0x42a10c], 0xffffffff
mov dword [0x42a108], 0xa62e7790
leave
ret
Function at 0x401f96
Capabilities:
Hide graphical window

Disassembly:
jmp 0x435a40
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x16c]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x435a83
mov ecx, dword [0x543fe8]
push eax
call fcn.004068e8
cmp eax, esi
jne 0x435a83
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x435a83
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.00404728
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0x403a03
Capabilities:
Terminate process

Disassembly:
jmp 0x48292e
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x48293f
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00406212
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403b52
Capabilities:
Query environment variable

Disassembly:
jmp 0x4c1535
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c1549
xor edi, edi
jmp 0x4c1580
push ebx
push esi
call fcn.004c143f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040451b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4c1570
push ebx
push esi
push edi
call fcn.00405f9c
add esp, 0xc
push 0
call fcn.00406ca3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x403b89
Capabilities:
Hide graphical window

Disassembly:
jmp 0x435ae0
push esi
mov esi, ecx
call fcn.00405574
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x435b2a
mov ecx, dword [0x543fe8]
push eax
call fcn.004068e8
cmp eax, esi
jne 0x435b2a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x435b2a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.00404728
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0x406078
Capabilities:
Parse pe header

Disassembly:
jmp 0x4726b2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4726f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4726f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4726f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4726f2
cmp dword [ecx + 0x74], 0xe
jbe 0x4726f2
cmp dword [ecx + 0xe8], 0
je 0x4726f2
mov al, 1
ret
xor al, al
ret