joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1020639
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1026044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x102068d
push 3
lea eax, [ebp - 0x44]
push 0x10206a0
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01001e40
leave
ret

Function at 0x10206ab
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1026044]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x1026a2c]
jne 0x1020746
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x1020838
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1020745
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x10208f0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x1020745
push 3
push dword [esi*8 + 0x1020758]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x1020737
inc esi
cmp esi, 0x1c
jae 0x1020745
jmp 0x1020716
mov ax, word [esi*8 + 0x102075c]
mov word [0x1026a2c], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x1026a2c]
xor ecx, ebp
call fcn.01001e40
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3d2a5760
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3f6d54ee
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10006ea0
Capabilities:
Encode data using xor

Disassembly:
fcmovnu st(0), st(7)
xchg ebp, eax
push esp
shr byte [eax - 0x21], 0xa1
mov dword [ecx - 0x11864fbd], ebx
scasd eax, dword es:[edi]
jl 0x10006ecc
lodsd eax, dword [esi]
retf
mov dword [edx + 0x2ce16468], esi
sbb edi, dword [ebx + 0x48a84b4d]
nop
lea edi, [ecx]
xlatb
jecxz 0x10006ebd
jecxz 0x10006e68
and al, 0x1a
inc eax
aam 0x1a
pop ebx
in al, dx
adc al, 0x4a
cmpsb byte [esi], byte es:[edi]
cdq
sub ebp, dword [edx - 0x68]
invalid
lahf
sbb dl, byte [esi + edi]
sbb eax, 0xde90ccf1
out 0xef, eax
sub bh, al
leave
add eax, 0x107389a7
aas
mov edx, 0xe06c2290
out dx, al
inc esp
sbb eax, 0x87ff492a
xchg esp, eax
sbb bh, dh
sbb byte [eax - 0x59c9cc2e], cl
cmp ebx, dword [ebp + esi*8 + 0x1a]
mov ebx, 0x115bd462
xchg ecx, eax
out 0x26, al
push edx
mov eax, dword [0x87a485ca]
pop ds
out dx, al
test bh, dl
or byte [ebx - 0x4e374cb1], ah
salc
mov bl, 0xc2
popfd
sti
push ecx
fisttp qword [esi - 0x7f]
push es
dec eax
mov dl, 0x29
push ss
push ss
imul eax, dword [ebx + 0x1f], 0xffffffe1
invalid
Function at 0x405dc0
Capabilities:
Delete file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x6d0
lea esi, [esp + 0xa0]
call fcn.00405ddb
Function at 0x418d20
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 0x418d70
cmp esi, edi
ja 0x418dd8
cmp edi, dword [esp + 0x1c]
ja 0x418deb
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x418d72
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x418d60
jmp 0x418dcf
ja 0x418d78
cmp eax, edx
mov esi, edi
jne 0x418d33
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 0x418db0
mov ebp, esi
sub ecx, edx
jns 0x418dc7
jmp 0x418dd1
cmp esi, edi
je 0x418e00
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x418dd1
xor al, 1
cmp ebp, edi
jne 0x418d90
jmp 0x418dd1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0xdc010c
call fcn.00455930
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0xdc010c
call fcn.00455720
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_e20cb7702117f1ad8127a16406ba9edd230c4f65library_alloc_srccollections_btree_navigate.rs
mov edx, 0x2b
push 0xdc00fc
call fcn.00455790
add esp, 4
ud2
Function at 0x428c50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0xdd105c]
test eax, eax
je 0x428cf4
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x428c73
cmp byte [eax + 4], 0
mov esi, eax
jne 0x428ced
mov eax, dword [0xdd105c]
test eax, eax
je 0x428d13
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x428d2d
mov esi, eax
test eax, eax
jne 0x428ce7
movzx eax, byte [0xdd19c0]
mov eax, dword [0xdd1a40]
test eax, eax
jne 0x428cba
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x428d3f
mov dword [0xdd1a40], eax
push 8
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x428d3f
mov dword [eax], 0xdd105c
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0xdd105c]
test eax, eax
je 0x428d33
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, 0xdd105c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x428c6b
jmp 0x428c73
mov ecx, 0xdd105c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x428c91
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0xdd105c
call fcn.00456600
jmp 0x428cdf
mov ecx, 4
mov edx, 8
call fcn.00455560
ud2

Function at 0x429460
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 0x4294b4
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x4294d7
test eax, eax
js 0x4294c3
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x4294cf
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], 0xdc74dc
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.00427d60
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.00427ec0
mov ecx, 7
int 0x29
ud2
Function at 0x4299d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0xdd103c]
test eax, eax
je 0x4299f2
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x429a08
cmp dword [eax + 4], 0
je 0x429a08
add eax, 8
pop esi
ret
mov ecx, 0xdd103c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x4299e7
mov eax, dword [0xdd103c]
test eax, eax
je 0x429a8e
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x429aa8
mov esi, eax
test eax, eax
jne 0x429a77
movzx eax, byte [0xdd19c0]
mov eax, dword [0xdd1a40]
test eax, eax
jne 0x429a47
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x429ab8
mov dword [0xdd1a40], eax
push 0x10
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x429ab8
mov dword [eax], 0xdd103c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdd103c]
test eax, eax
je 0x429aac
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, 0xdd103c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x429a22
xor eax, eax
pop esi
ret
mov ecx, 0xdd103c
call fcn.00456600
jmp 0x429a6f
mov ecx, 4
mov edx, 0x10
call fcn.00455560
ud2

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

Disassembly:
push edi
push esi
mov eax, dword [0xdd104c]
test eax, eax
je 0x429cf8
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x429d0e
cmp dword [eax + 4], 0
mov edi, eax
je 0x429d0e
add edi, 8
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd104c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x429ce8
mov eax, dword [0xdd104c]
test eax, eax
je 0x429dc2
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x429ddc
mov esi, eax
test eax, eax
jne 0x429d89
movzx eax, byte [0xdd19c0]
mov eax, dword [0xdd1a40]
test eax, eax
jne 0x429d55
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x429def
mov dword [0xdd1a40], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x429def
mov dword [eax], 0xdd104c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdd104c]
test eax, eax
je 0x429de3
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 0x429cf3
test ecx, ecx
je 0x429cf3
lock dec dword [ecx]
jne 0x429cf3
call fcn.00408e60
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd104c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x429d2c
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd104c
call fcn.00456600
jmp 0x429d81
mov ecx, 4
mov edx, 0xc
call fcn.00455560
ud2
Function at 0x42a920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x4467f0
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
lea eax, [esi + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42aa38
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [esi], eax
call fcn.0042aad0
mov ecx, eax
or ecx, edx
je 0x42aa1f
push edx
push eax
push ebx
push dword [esi]
mov edi, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x1c], eax
call fcn.00447030
mov ecx, edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 0x24], eax
imul ecx, eax
mul edi
add edx, ecx
mov ecx, edi
imul ecx, dword [esi + 4]
add ecx, edx
mov edx, dword [esi]
sub edx, eax
sbb ebx, ecx
mov eax, edx
imul ecx, ebx, 0x3b9aca00
mov ebx, 0x3b9aca00
mul ebx
add edx, ecx
push dword [esi + 0x20]
push edi
push edx
push eax
call fcn.00447030
mov ebx, eax
mov eax, dword [esi + 0x24]
mov ecx, edx
mov edx, 0x3b9aca00
mul edx
mov edi, eax
imul eax, dword [esi + 4], 0x3b9aca00
add eax, edx
add edi, ebx
adc eax, ecx
push 0
push 0x3b9aca00
push eax
push edi
call fcn.00447030
imul ecx, eax, 0xc4653600
add ecx, edi
mov edi, dword [esi + 0x30]
mov dword fs:[0], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.attempt_to_divide_by_zero_rustc_e20cb7702117f1ad8127a16406ba9edd230c4f65librarycore_src_strpattern.rsYU
mov edx, 0x19
push 0xdc6d84
call fcn.00455790
add esp, 4
ud2
call sub.kernel32.dll_GetLastError
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x14]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0xdc7c8c
push 0xdc581c
push eax
call fcn.00455a40
add esp, 0xc
ud2
Function at 0x430f60
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 0x430fad
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0xc0000011
jne 0x430fbd
mov dword [esi + 4], 0
jmp 0x430fcf
cmp eax, 0x103
je 0x430feb
test eax, eax
js 0x430fd8
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], 0xdc74dc
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.00427d60
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.00427ec0
mov ecx, 7
int 0x29
ud2
Function at 0x434b20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0xdd106c]
test eax, eax
je 0x434b48
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x434b5e
cmp dword [eax + 4], 0
mov edi, eax
je 0x434b5e
add edi, 8
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd106c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x434b38
mov eax, dword [0xdd106c]
test eax, eax
je 0x434c12
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x434c2c
mov esi, eax
test eax, eax
jne 0x434bd9
movzx eax, byte [0xdd19c0]
mov eax, dword [0xdd1a40]
test eax, eax
jne 0x434ba5
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x434c3f
mov dword [0xdd1a40], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x434c3f
mov dword [eax], 0xdd106c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdd106c]
test eax, eax
je 0x434c33
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 0x434b43
test ecx, ecx
je 0x434b43
lock dec dword [ecx]
jne 0x434b43
call fcn.004138e0
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd106c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x434b7c
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdd106c
call fcn.00456600
jmp 0x434bd1
mov ecx, 4
mov edx, 0xc
call fcn.00455560
ud2
Function at 0x43c830
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.0042a310
add esp, 4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test edx, edx
je 0x43c895
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.0043c760
mov edi, dword [esp]
test edi, edi
je 0x43c8a4
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c8b9
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
jmp 0x43c8b1
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], 0
mov ecx, esp
call fcn.0042a500
mov dword [esi], 0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [esi], 0
je 0x43c8b1
push edi
push 0
push dword [0xdd1a40]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x43c8b1
Function at 0x43e820
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], 0x446af0
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 [0xdd19c0]
mov eax, dword [0xdd1a40]
test eax, eax
jne 0x43e873
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x43e92d
mov dword [0xdd1a40], eax
push 8
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x43e92d
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 0x43e9c0
push esi
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x43e8b5
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x43e91c
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 0x43e902
cmp dword [eax + 8], 9
jae 0x43e8ed
mov eax, dword [ebp - 0x20]
jmp 0x43e8f3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0xdd1a40]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0xdd1a40]
call dword [sym.imp.kernel32.dll_HeapFree]
call sub.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.00455560
ud2
Function at 0x43ee60
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.00447000
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x446b20
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.00449710
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 0x435ea0
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x43efb4
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 0x43eeea
cmp dword [ebp - 0x2c], 0
jne 0x43efc3
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x43efc3
cmp esi, 0x1000
ja 0x43efff
xor edi, edi
nop dword [eax]
mov eax, esi
sub eax, edi
jb 0x43efe5
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 0x435ea0
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 0x43efbb
nop dword [eax]
push 1
push 0xffffffffffffffff
call ebx
cmp dword [ebp - 0x30], 0
je 0x43ef60
cmp dword [ebp - 0x2c], 0
jne 0x43efc0
add edi, dword [ebp - 0x28]
cmp edi, esi
jne 0x43ef20
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x435ea0
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 0x43eeea
call sub.kernel32.dll_GetLastError
jmp 0x43efc3
call sub.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 0xdc7714
call fcn.00455930
add esp, 4
jmp 0x43f01a
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0xdc7714
call fcn.00455720
add esp, 4
ud2
Function at 0x43f110
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], 0x446b40
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 0x43f174
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 sub.kernel32.dll_GetLastError
mov edx, esi
lea ecx, [esi + 8]
mov dword [esi + 0x20], 0xdc783c
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, 0xdc7868
mov dword [esi + 0xc], 0x42f100
mov dword [esi + 0x2c], 1
call fcn.00455610
ud2

Function at 0x4409b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [edx], 0
mov edi, edx
jne 0x440a7c
mov ebx, dword [edi + 0xc]
mov esi, ecx
mov edx, dword [ebx + 4]
test edx, edx
jne 0x4409da
mov eax, dword [ebx + 8]
xor edx, edx
lea ecx, [eax + 0xf]
cmp ecx, 0xf
jbe 0x440a4d
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x440a65
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 0x440a14
mov eax, dword [esp]
mov ecx, 2
test eax, eax
jne 0x440a31
jmp 0x440a25
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x440a2c
cmp eax, 0x6d
jne 0x440a42
mov word [esi], 4
jmp 0x440a3b
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 0x440a3b
mov edx, eax
mov ecx, ebx
push 0x10
call fcn.004554c0
add esp, 4
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
cmp edx, eax
jne 0x4409e5
mov ecx, ebx
push 1
call fcn.004554c0
add esp, 4
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
jmp 0x4409e5
mov edx, esp
mov ecx, edi
mov dword [esp], 0
call fcn.004569e0
ud2

Function at 0x44753c
Capabilities:
Parse pe header

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