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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x4571e4
je 0x440a8e
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440a76
mov esi, dword [ebx + 4]
jmp 0x440a70
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x440a60
cmp dword [ebp - 0xc], 4
jne 0x440a60
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x440a58
or dword [eax + 0x9c], ecx
jmp 0x440a60
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x440a24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x440a07
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x440e7c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x44514e
call fcn.0042b77c
sub esp, 0x11c
mov eax, dword [0x458190]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x440f75
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x440f49
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402b90
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00440e7c
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004023b0
test bl, bl
jne 0x440f49
or dword [ebp - 4], 0xffffffff
jmp 0x440eba
cmp esi, 0x103
je 0x440f59
cmp esi, 0x3f2
jne 0x440f69
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0042a161
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4421a5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4421da
cmp edi, dword [esi + 0xc]
jge 0x4421da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4421da
cmp edi, dword [eax + 8]
jge 0x4421da
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4421dc
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4422e0
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x442314
jmp fcn.00437466
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x442385
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x44247e
cmp eax, dword [edi + 0xc]
jge 0x44247e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4423d6
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x442467
cmp dword [ebp + 0xc], ebx
je 0x442467
jmp 0x442400
push 0x10
call fcn.00442071
cmp eax, ebx
je 0x4423ec
mov ecx, eax
call fcn.004422d7
mov esi, eax
jmp 0x4423ee
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x442417
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x442427
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x442439
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00437466
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0042bba0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x442479
cmp ecx, dword [esi + 8]
jge 0x442479
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x44247f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44253d
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 0x44256b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442589
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004424a7
jmp 0x442589
mov eax, dword [esi + 0x14]
test eax, eax
je 0x442589
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004424a7
test edi, edi
mov eax, edi
jne 0x442573
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56c32c]
test ecx, ecx
je 0x44263c
jmp 0x44253c
ret 8
Function at 0x406699
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4066bd
xor eax, eax
test eax, eax
je 0x4066d0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4066d0
xor ecx, ecx
jmp 0x4066d3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4067fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x406833
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40680d
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406808
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406864
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x406846
pop edi
not eax
pop esi
ret 0xc

Function at 0x433aab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x433aab
lcall 0x5de5, 0x8b10c483
jmp fcn.0096e39c
Function at 0x9ea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009ea1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9ea07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ea06a
add dl, dl
jne 0x9ea089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ea0dc
xor eax, eax
add dl, dl
jne 0x9ea096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ea17d
add dl, dl
jne 0x9ea0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9ea0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9ea075
mov eax, 1
add dl, dl
jne 0x9ea0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ea0e1
sub eax, ebx
mov ebx, 1
jne 0x9ea128
mov ecx, 1
add dl, dl
jne 0x9ea10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ea119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ea105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ea075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9ea13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ea14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ea136
cmp eax, 0x7d00
jae 0x9ea16d
cmp eax, 0x500
jb 0x9ea168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ea075
cmp eax, 0x7f
ja 0x9ea170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ea075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9ea19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9ea075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43d040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ef438]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x43d178
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43d0a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aba6e
xor eax, eax
jmp 0x43d1ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004abbab
push esi
lea ecx, [esp + 0xc]
call fcn.004abe3a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43d1cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0043cfd0
test eax, eax
jne 0x43d1cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0043cfd0
test eax, eax
jne 0x43d1cd
lea eax, [esp + 0x14]
push 0x4e3e7c
push eax
call fcn.0049cd00
mov esi, eax
add esp, 8
test esi, esi
jne 0x43d1ac
lea ecx, [esp + 0x14]
push 0x4e3e78
push ecx
call fcn.0049cc80
mov esi, eax
add esp, 8
test esi, esi
jne 0x43d1ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43d1af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004abb5b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43d0be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aba6e
xor eax, eax
jmp 0x43d1ef
mov byte [esi], 0
push 0x4e3e74
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004aba6e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4ade3f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ade77
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004abec9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004abea1
jmp 0x4ade83
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4af531
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4af573
call fcn.004b4feb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4af573
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4af56a
xor eax, eax
jmp 0x4af57b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004af581
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b551b
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 0x4b5549
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b5567
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b5481
jmp 0x4b5567
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b5567
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b5481
test edi, edi
mov eax, edi
jne 0x4b5551
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
mov ecx, 0x251f306c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x380f0483
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4032a0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x844
mov eax, dword [esp + 0x848]
mov ecx, dword [eax]
mov edx, dword [0x4433fc]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x4433f8]
push edi
xor edi, edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], 0x9e3779b9
mov dword [esp + 0x3c], edx
call fcn.00403270
mov eax, dword [0x443400]
mov edx, dword [0x443404]
add dword [esp + 0x10], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetWriteWatch]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], 0x20
mov dword [esp + 0x24], 2
add dword [esp + 0x24], 3
mov eax, dword [0x7032e4]
shl ecx, 4
add ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
cmp eax, 0xfa9
jne 0x403343
mov dword [0x7032e0], 0xedeb2e40
jmp 0x403350
cmp eax, 0x3eb
jne 0x403350
mov dword [0x7001e8], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
mov dword [0x7032dc], 0xf4ea3dee
call fcn.00403280
mov eax, dword [esp + 0x20]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor dword [esp + 0x18], eax
cmp dword [0x7032e4], 0x213
jne 0x4033e9
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push edi
push edi
mov dword [esp + 0x44], edi
call ebx
lea ecx, [esp + 0x54]
push ecx
push edi
call ebp
push edi
push 0x402d70
push 0x402d34
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
lea edx, [esp + 0x4c]
push edx
push 0x402df8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov eax, esi
mov dword [esp + 0x2c], esi
call fcn.00403260
mov eax, dword [esp + 0x40]
add dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
shr ecx, 5
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x20]
xor dword [esp + 0x14], eax
cmp dword [0x7032e4], 0x121
jne 0x40344f
push edi
push edi
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
call fcn.00403290
mov eax, dword [esp + 0x38]
sub dword [esp + 0x10], eax
sub dword [esp + 0x30], 1
mov ecx, dword [esp + 0x28]
jne 0x403313
mov eax, dword [esp + 0x858]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x844
ret 4
Function at 0x40a350
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442c38]
jne 0x40a35a
repz ret
jmp fcn.0040e5a2

Function at 0x40be1c
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.00407ea4
and dword [ebp - 4], 0
cmp dword [0x445208], 0
mov ebx, eax
jne 0x40becd
push 0x401b10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bf7e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b04
push edi
call esi
test eax, eax
je 0x40bf7e
push eax
call fcn.00407e32
mov dword [esp], 0x401af4
push edi
mov dword [0x445208], eax
call esi
push eax
call fcn.00407e32
mov dword [esp], 0x401ae0
push edi
mov dword [0x44520c], eax
call esi
push eax
call fcn.00407e32
mov dword [esp], 0x401ac4
push edi
mov dword [0x445210], eax
call esi
push eax
call fcn.00407e32
pop ecx
mov dword [0x445218], eax
test eax, eax
je 0x40becd
push 0x401aac
push edi
call esi
push eax
call fcn.00407e32
pop ecx
mov dword [0x445214], eax
mov eax, dword [0x445214]
cmp eax, ebx
je 0x40bf25
cmp dword [0x445218], ebx
je 0x40bf25
push eax
call fcn.00407ead
push dword [0x445218]
mov esi, eax
call fcn.00407ead
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bf25
test edi, edi
je 0x40bf25
call esi
test eax, eax
je 0x40bf1c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bf1c
test byte [ebp - 0xc], 1
jne 0x40bf25
or dword [ebp + 0x10], 0x200000
jmp 0x40bf5e
mov eax, dword [0x44520c]
cmp eax, ebx
je 0x40bf5e
push eax
call fcn.00407ead
pop ecx
test eax, eax
je 0x40bf5e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bf5e
mov eax, dword [0x445210]
cmp eax, ebx
je 0x40bf5e
push eax
call fcn.00407ead
pop ecx
test eax, eax
je 0x40bf5e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445208]
call fcn.00407ead
pop ecx
test eax, eax
je 0x40bf7e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bf80
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ba680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4ba6a1
jl 0x4ba698
test edi, edi
jne 0x4ba6a1
xor eax, eax
xor edx, edx
jmp 0x4ba762
cmp dword [ebx + 0x38], 0
je 0x4ba6b6
push eax
push edi
push dword [ebp + 8]
call fcn.004b9fb0
jmp 0x4ba762
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4ba6fd
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4ba6fd
cmp eax, edi
jb 0x4ba6d7
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004be250
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4ba703
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4ba757
mov ecx, ebx
call fcn.004babc3
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4ba742
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004c32f7
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4ba757
jmp 0x4ba715
test edx, edx
je 0x4ba757
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004c32f7
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4bb5ef
Capabilities:
Parse pe header

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