joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2003d68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2003dc2
cmp dword [ebp + 0x10], 1
je 0x2003da7
cmp dword [ebp + 0x10], 2
je 0x2003da7
push 0xd
pop eax
jmp 0x2003dc2
test edi, edi
mov eax, dword [ebp - 4]
je 0x2003dbe
test eax, eax
je 0x2003dbb
cmp byte [eax + edi - 1], 0
je 0x2003dbe
jmp 0x2003da2
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x2004441
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x200448e
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x20044b5
shr eax, 2
test al, 1
je 0x20044be
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x20044f1
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x20044f0
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov dword [ebp + 0x74], 0x20191a1
mov dword [ebp + 0x24], 0
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x28]
push edx
call fcn.0200571c
add esp, 8
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x34]
Function at 0x2005271
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x48]
push eax
call fcn.0200566c
add esp, 0x10
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0xc]
push edx
push 0
call dword [ebp + 0x20]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x48]
push eax
call fcn.0200566c
add esp, 0x10
mov dword [ebp + 0x1c], eax
push 0x104
mov ecx, dword [ebp + 0x60]
push ecx
push 0
call dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x24]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
movzx ecx, word [eax + edx*2 - 2]
mov edx, dword [ebp + 0x74]
movzx eax, word [edx + 0x60]
cmp ecx, eax
je 0x200530f
xor ecx, ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0x68]
sub ecx, 1
mov dword [ebp + 0x68], ecx
jmp 0x20052e2
mov dword [ebp + 0x58], 0
Function at 0x200566c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x20056c4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x200570c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.020055fc
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x200570a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x200570e
jmp 0x20056bb
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x200571c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x2005793
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.020051ac
add esp, 4
cmp dword [ebp + 8], eax
jne 0x2005789
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
jmp 0x2005795
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x200575f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x20066af
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x2019688]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x3eb
push dword [esi + 4]
call edi
push 0xcd
push dword [esi + 4]
mov dword [ebp - 0x7c], eax
call edi
push dword [ebp - 0x7c]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x80], eax
call edi
push dword [ebp - 0x80]
mov ebx, eax
call edi
inc ebx
lea edi, [esi + 0x20]
push ebx
mov ecx, edi
mov dword [ebp - 0x78], eax
call fcn.02005626
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
push dword [ebp - 0x7c]
call ebx
push 0xffffffffffffffff
mov ecx, edi
call fcn.02004fdb
mov eax, dword [ebp - 0x78]
inc eax
lea ecx, [esi + 0x24]
push eax
mov dword [ebp - 0x78], eax
call fcn.02005626
push dword [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x24]
call fcn.02004fdb
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x20067c6
push ebx
push 0x40
mov ecx, edi
call fcn.02005006
test eax, eax
jl 0x200677d
push ebx
push 0x40
mov ecx, edi
call fcn.02005006
push 0x2e
mov ecx, edi
mov dword [ebp - 0x78], eax
call fcn.02001896
mov ecx, dword [ebp - 0x78]
cmp eax, ecx
jge 0x20067c6
push 0xff
lea eax, [ebp - 0x74]
push eax
push 0xe10b
push dword [0x2019864]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x78]
push eax
call fcn.0200beae
push ebx
push dword [eax]
lea eax, [ebp - 0x74]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.0200151a
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x20067d7
movzx eax, word [ebp + 0x9c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0201016a
add ebp, 0x90
leave
ret 0x10
Function at 0x2010103
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x2019914], 0
push esi
jne 0x2010076
call fcn.0200ffa1
test eax, eax
je 0x20100b9
mov eax, dword [0x2019914]
cmp eax, 1
jne 0x2010097
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x20100b9
pop esi
ret
push eax
call dword [0x201991c]
test eax, eax
jne 0x2010101
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x20100bd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x2019914]
call dword [0x201991c]
mov edi, eax
test edi, edi
je 0x20100e4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x2010100
lea edi, [esi + 0xff0]
push esi
push dword [0x2019914]
call dword [0x2019918]
add esi, 0x10
cmp esi, edi
jb 0x20100ea
mov eax, esi
pop edi
pop esi
ret
jmp 0x2010063

Function at 0x201016a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2019688]
jne 0x2010174
repz ret
jmp fcn.02010a48
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x3bea33f6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x3784279
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4068f1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0040903d
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x40691c
xor eax, eax
jmp 0x4069c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x406915
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406915
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004013b0
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x406971
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x406960
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004056db
push edi
mov ebx, eax
call fcn.004013db
test ebx, ebx
pop ecx
je 0x4069b3
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00405d77
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00405e29
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x40d4ea
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40d523
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004092b3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040380f
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40f29d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40f2e0
call fcn.0040903d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f2e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40f2fb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040ee57
test ebx, ebx
mov esi, eax
je 0x40f2f9
test edi, edi
je 0x40f2f9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x410070
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4494de
call fcn.004340cd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410095
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4100e1
call fcn.0041b5ee
push eax
lea ecx, [ebp - 0x10]
call fcn.004113c9
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401823
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401ae3
mov eax, esi
call fcn.004341a5
ret 8

Function at 0x412575
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4125bb
call fcn.0040903d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4125bb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4125fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4125e7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4125e7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4125fb
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4144aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040903d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4144e1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004140cc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x414539
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x414559
cmp dword [edi + 0x54], 0
jne 0x414559
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040903d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00414500
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x419c92
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x419cc0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x419cde
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00419bfc
jmp 0x419cde
mov eax, dword [esi + 0x14]
test eax, eax
je 0x419cde
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00419bfc
test edi, edi
mov eax, edi
jne 0x419cc8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x464a04]
test ecx, ecx
je 0x419da1
jmp 0x419c91
ret 8

Function at 0x433766
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461a70]
jne 0x433770
repz ret
jmp fcn.00438b5f
Function at 0x43ff22
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438546
xor ebx, ebx
cmp dword [0x465a88], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43fff7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43ff62
xor eax, eax
jmp 0x4400bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43ff5b
push eax
call fcn.004384e3
mov dword [esp], 0x4538bc
push edi
mov dword [0x465a88], eax
call esi
push eax
call fcn.004384e3
mov dword [esp], 0x4538a8
push edi
mov dword [0x465a8c], eax
call esi
push eax
call fcn.004384e3
mov dword [0x465a90], eax
lea eax, [ebp - 8]
push eax
call fcn.00436054
test eax, eax
pop ecx
pop ecx
je 0x43ffc5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00439faf
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43fff7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004384e3
cmp eax, ebx
pop ecx
mov dword [0x465a98], eax
je 0x43fff7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004384e3
pop ecx
mov dword [0x465a94], eax
mov eax, dword [0x465a94]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x440070
cmp dword [0x465a98], esi
je 0x440070
push eax
call fcn.0043854f
pop ecx
call eax
cmp eax, ebx
je 0x44003d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x465a98]
call fcn.0043854f
pop ecx
call eax
test eax, eax
je 0x44003d
test byte [ebp - 0x18], 1
jne 0x440070
lea eax, [ebp - 0xc]
push eax
call fcn.0043608b
test eax, eax
pop ecx
je 0x440058
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00439faf
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x440067
or dword [ebp + 0x10], 0x200000
jmp 0x4400a1
or dword [ebp + 0x10], 0x40000
jmp 0x4400a1
mov eax, dword [0x465a8c]
cmp eax, esi
je 0x4400a1
push eax
call fcn.0043854f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4400a1
mov eax, dword [0x465a90]
cmp eax, esi
je 0x4400a1
push dword [ebp - 4]
push eax
call fcn.0043854f
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 [0x465a88]
call fcn.0043854f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4477a4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x461a70]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00447739
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004341e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4477f3
cmp dword [ebp - 0x1c], 5
jb 0x44780b
jmp 0x447807
cmp dword [ebp - 0x10], 1
jne 0x44780b
cmp dword [ebp - 0x1c], 4
ja 0x447807
jne 0x44780b
cmp dword [ebp - 0x18], 0
jbe 0x44780b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x455298
call fcn.0044760d
test eax, eax
jge 0x44782c
mov byte [0x465c60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433766
add ebp, 0x78
leave
ret
Function at 0x1001e4a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x1002e3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x1002e410
cmp byte [esi + 1], 0
jne 0x1002e457
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x19
jb 0x1002e3d0
jmp 0x1002e457
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x19
jb 0x1002e416
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x1a]
push eax
push edi
call fcn.100305a0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1002e540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x1002e5b0
cmp byte [esi + 1], 0
jne 0x1002e5f7
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xe
jb 0x1002e570
jmp 0x1002e5f7
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x14]
xor ebx, dword [esi + 0x10]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0xe
jb 0x1002e5b6
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xf]
push eax
push edi
call fcn.100305a0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4