joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f23e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417a98
cmp edx, dword [eax]
je 0x40f260
add eax, 8
inc ecx
cmp eax, 0x417b28
jl 0x40f251
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417a98]
jne 0x40f38e
mov eax, dword [0x418174]
cmp eax, 1
je 0x40f368
test eax, eax
jne 0x40f291
cmp dword [0x4179f4], 1
je 0x40f368
cmp edx, 0xfc
je 0x40f38e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f2c8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410580
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040cfa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f30b
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040cfa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x415934
push edi
call fcn.00410700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410580
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410590
lea eax, [ebp - 0xa0]
push 0x415914
push eax
call fcn.00410590
push dword [esi + 0x417a9c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410590
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00410670
add esp, 0x2c
pop edi
jmp 0x40f38e
lea eax, [ebp + 8]
lea esi, [esi + 0x417a9c]
push 0
push eax
push dword [esi]
call fcn.0040cfa0
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 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x408943
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
sub ebx, 1
call fcn.00408966
xor dword [ecx], eax
inc ecx
sub edx, ebx
cmp ecx, esi
jne fcn.00408943
ret

Function at 0x40300d
Capabilities:
Terminate process

Disassembly:
mov dword [0x402020], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
call dword [sym.imp.kernel32.dll_GetVersion]
mov edx, eax
xor edi, edi
xor esi, esi
push dword [0x4035d8]
call dword [sym.imp.winmm.dll_waveInClose]
add eax, 6
test eax, 0xb
jne 0x403046
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x17b50c33
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
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
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x7acf7ca9
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x416810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x416860
cmp esi, edi
ja 0x4168c8
cmp edi, dword [esp + 0x1c]
ja 0x4168db
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x416862
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x416850
jmp 0x4168bf
ja 0x416868
cmp eax, edx
mov esi, edi
jne 0x416823
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x4168a0
mov ebp, esi
sub ecx, edx
jns 0x4168b7
jmp 0x4168c1
cmp esi, edi
je 0x4168f0
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4168c1
xor al, 1
cmp ebp, edi
jne 0x416880
jmp 0x4168c1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0xc3c8a4
call fcn.0044a590
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0xc3c8a4
call fcn.0044a380
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_e5cfc55477eceed1317a02189fdf77a4a98f2124library_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0xc3c894
call fcn.0044a3f0
add esp, 4
ud2
Function at 0x41fdc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0xc4c04c]
test eax, eax
je 0x41fde8
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x41fdfe
cmp dword [eax + 4], 0
mov edi, eax
je 0x41fdfe
add edi, 8
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c04c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x41fdd8
mov eax, dword [0xc4c04c]
test eax, eax
je 0x41feb2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x41fecc
mov esi, eax
test eax, eax
jne 0x41fe79
movzx eax, byte [0xc4c948]
mov eax, dword [0xc4c9c8]
test eax, eax
jne 0x41fe45
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x41fedf
mov dword [0xc4c9c8], eax
push 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41fedf
mov dword [eax], 0xc4c04c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xc4c04c]
test eax, eax
je 0x41fed3
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x41fde3
test ecx, ecx
je 0x41fde3
lock dec dword [ecx]
jne 0x41fde3
call fcn.0041fac0
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c04c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x41fe1c
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c04c
call fcn.0044af50
jmp 0x41fe71
mov ecx, 4
mov edx, 0xc
call fcn.0044a1c0
ud2

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

Disassembly:
push esi
mov eax, dword [0xc4c05c]
test eax, eax
je 0x420864
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x4207e3
cmp byte [eax + 4], 0
mov esi, eax
jne 0x42085d
mov eax, dword [0xc4c05c]
test eax, eax
je 0x420883
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x42089d
mov esi, eax
test eax, eax
jne 0x420857
movzx eax, byte [0xc4c948]
mov eax, dword [0xc4c9c8]
test eax, eax
jne 0x42082a
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4208af
mov dword [0xc4c9c8], eax
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4208af
mov dword [eax], 0xc4c05c
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0xc4c05c]
test eax, eax
je 0x4208a3
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov word [esi + 4], 1
add esi, 5
mov eax, esi
pop esi
ret
mov ecx, 0xc4c05c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x4207db
jmp 0x4207e3
mov ecx, 0xc4c05c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x420801
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0xc4c05c
call fcn.0044af50
jmp 0x42084f
mov ecx, 4
mov edx, 8
call fcn.0044a1c0
ud2
Function at 0x420fd0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x421024
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x421047
test eax, eax
js 0x421033
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x42103f
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
add esp, 0x34
pop esi
pop edi
ret
mov eax, esp
mov dword [esp + 0x1c], 0xc42b14
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.0041f560
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f6c0
mov ecx, 7
int 0x29
ud2
Function at 0x421680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0xc4c03c]
test eax, eax
je 0x4216a2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x4216b8
cmp dword [eax + 4], 0
je 0x4216b8
add eax, 8
pop esi
ret
mov ecx, 0xc4c03c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x421697
mov eax, dword [0xc4c03c]
test eax, eax
je 0x42173e
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x421758
mov esi, eax
test eax, eax
jne 0x421727
movzx eax, byte [0xc4c948]
mov eax, dword [0xc4c9c8]
test eax, eax
jne 0x4216f7
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x421768
mov dword [0xc4c9c8], eax
push 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x421768
mov dword [eax], 0xc4c03c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xc4c03c]
test eax, eax
je 0x42175c
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
mov ecx, 0xc4c03c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x4216d2
xor eax, eax
pop esi
ret
mov ecx, 0xc4c03c
call fcn.0044af50
jmp 0x42171f
mov ecx, 4
mov edx, 0x10
call fcn.0044a1c0
ud2
Function at 0x428a40
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x428a8d
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0xc0000011
jne 0x428a9d
mov dword [esi + 4], 0
jmp 0x428aaf
cmp eax, 0x103
je 0x428acb
test eax, eax
js 0x428ab8
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov byte [esi], 4
add esp, 0x34
pop esi
pop edi
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov byte [esi], 0
mov dword [esi + 4], eax
add esp, 0x34
pop esi
pop edi
ret
mov eax, esp
mov dword [esp + 0x1c], 0xc42b14
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.0041f560
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0041f6c0
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push edi
push esi
mov eax, dword [0xc4c06c]
test eax, eax
je 0x42c028
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x42c03e
cmp dword [eax + 4], 0
mov edi, eax
je 0x42c03e
add edi, 8
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c06c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x42c018
mov eax, dword [0xc4c06c]
test eax, eax
je 0x42c0f2
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x42c10c
mov esi, eax
test eax, eax
jne 0x42c0b9
movzx eax, byte [0xc4c948]
mov eax, dword [0xc4c9c8]
test eax, eax
jne 0x42c085
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x42c11f
mov dword [0xc4c9c8], eax
push 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42c11f
mov dword [eax], 0xc4c06c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xc4c06c]
test eax, eax
je 0x42c113
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x42c023
test ecx, ecx
je 0x42c023
lock dec dword [ecx]
jne 0x42c023
call fcn.0042c130
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c06c
call fcn.0044af50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x42c05c
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xc4c06c
call fcn.0044af50
jmp 0x42c0b1
mov ecx, 4
mov edx, 0xc
call fcn.0044a1c0
ud2
Function at 0x433ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [esp + 0xc]
push dword [esp + 0x38]
call fcn.00421d70
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test edx, edx
je 0x433b35
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00433a00
mov edi, dword [esp]
test edi, edi
je 0x433b44
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x433b59
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
jmp 0x433b51
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0
mov ecx, esp
call fcn.00421f60
mov dword [esi], 0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [esi], 0
je 0x433b51
push edi
push 0
push dword [0xc4c9c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x433b51
Function at 0x435af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x43c120
mov esi, edx
mov edi, ecx
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword fs:[0], eax
movzx eax, byte [0xc4c948]
mov eax, dword [0xc4c9c8]
test eax, eax
jne 0x435b43
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x435bfe
mov dword [0xc4c9c8], eax
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x435bfe
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], eax
push 0
push 0x10000
push ebx
push 0x435cd0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x435b85
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x435bed
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x24], ecx
call dword [ecx]
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x435bd2
cmp dword [eax + 8], 9
jae 0x435bbd
mov eax, dword [ebp - 0x20]
jmp 0x435bc3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0xc4c9c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
push dword [0xc4c9c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 8
mov dword [ebp - 0x10], 0
call fcn.0044a1c0
ud2
Function at 0x436170
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call fcn.0043c4f0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x43c150
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
lea esi, [ebp - 0x1044]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1000
push 0
push esi
call fcn.0043ceb0
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x42d0b0
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x4362c4
mov ebx, dword [sym.imp.KERNEL32.dll_SleepEx]
mov dword [ebp - 0x20], edi
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x4361fa
cmp dword [ebp - 0x2c], 0
jne 0x4362d5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4362d5
cmp esi, 0x1000
ja 0x436311
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x4362f7
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
lea ecx, [ebp + edi - 0x1044]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x42d0b0
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x4362cc
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x436270
cmp dword [ebp - 0x2c], 0
jne 0x4362d2
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x436230
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x42d0b0
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1044]
push eax
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x4361fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4362d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, edi
mov edx, esi
push 0xc42d4c
call fcn.0044a590
add esp, 4
jmp 0x43632c
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0xc42d4c
call fcn.0044a380
add esp, 4
ud2
Function at 0x436420
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], esp
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0x43c170
lea eax, [esi + 0x40]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x40], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x10], xmm0
lea eax, [esi + 0x10]
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x436484
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
lea ecx, [esi + 8]
mov dword [esi + 0x20], 0xc42e74
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov byte [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 0x48], 0
mov dword [esi + 8], edx
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x20]
mov edx, 0xc42ea0
mov dword [esi + 0xc], 0x426c20
mov dword [esi + 0x2c], 1
call fcn.0044a270
ud2

Function at 0x437cd0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [edx], 0
mov edi, edx
jne 0x437da1
mov ebx, dword [edi + 0xc]
mov esi, ecx
mov edx, dword [ebx + 4]
test edx, edx
jne 0x437cfa
mov eax, dword [ebx + 8]
xor edx, edx
lea ecx, [eax + 0xf]
cmp ecx, 0xf
jbe 0x437d6e
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x437d8a
mov ecx, dword [edi + 8]
sub edx, eax
add eax, dword [ebx]
mov dword [esp], 0
mov ebx, esp
push ecx
push ebx
push edx
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437d34
mov eax, dword [esp]
mov ecx, 2
test eax, eax
jne 0x437d52
jmp 0x437d46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x437d4d
cmp eax, 0x6d
jne 0x437d63
mov word [esi], 4
jmp 0x437d5c
mov ecx, 1
mov dword [edi], ecx
mov dword [edi + 4], eax
mov word [esi], 0x104
add esp, 0x18
pop esi
pop edi
pop ebx
ret
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x437d5c
mov edx, eax
mov ecx, ebx
push 0x10
call fcn.0044a120
add esp, 4
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
cmp edx, eax
jne 0x437d05
mov ecx, ebx
push 1
call fcn.0044a120
add esp, 4
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
jmp 0x437d05
mov edx, esp
mov ecx, edi
mov dword [esp], 0
call fcn.0044b3d0
ud2
Function at 0x440adf
Capabilities:
Parse pe header

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