joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a0138
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edi, dword [esp + 0x1c]
mov edx, dword [eax + 0x3c]
push edi
call edx
mov esi, eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x18], 0
push edx
test esi, esi
je 0x1001e379
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push edi
mov ecx, esi
call eax
jmp 0x1001e394
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push edi
call dword [0x100ceedc]
push esi
mov edi, eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c

Function at 0x1001e3c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a0138
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edi, dword [esp + 0x1c]
mov edx, dword [eax + 0x40]
push edi
call edx
mov esi, eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x18], 0
push edx
test esi, esi
je 0x1001e42a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push edi
mov ecx, esi
call eax
jmp 0x1001e445
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push edi
call dword [0x100cef10]
push esi
mov edi, eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
Function at 0x1001ec10
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x100a273c
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push esi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
mov dword [esp + 0xbc], 0
call dword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____cdecl_std::locale::classic_void_]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + ecx + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_class_std::locale___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
call fcn.10099890
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.10099c90
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
push edx
push eax
call fcn.10099d10
call fcn.100999b0
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov eax, str._hooked_successfully_n
jne 0x1001ecb9
mov eax, str._hook_failed_n
push eax
push ecx
mov ecx, dword [esp + 0xcc]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.100040c0
add esp, 0xc
push eax
call fcn.100046e0
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
cmp dword [eax + 0x18], 8
jb 0x1001ecf3
mov eax, dword [eax + 4]
jmp 0x1001ecf6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xb8
ret
Function at 0x1002b7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a09d6
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x4c]
push eax
mov dword [esp + 0x14], 1
call fcn.100307b0
lea ecx, [esi + 0x30]
push ecx
mov byte [esp + 0x14], 0
call fcn.100304d0
add esi, 0xc
push esi
mov dword [esp + 0x14], 0xffffffff
call fcn.100301a0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x1002beb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a09d6
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.SpeedBit::Injection::SystemConfig::Implementation::SystemConfig.0
mov dword [esi + 4], vtable.SpeedBit::Injection::SystemConfig::Implementation::ExplorerSettings.0
mov eax, dword [edi + 8]
lea edx, [esi + 0xc]
lea ecx, [edi + 0xc]
push edx
mov dword [esi + 8], eax
call fcn.10030080
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov dword [esp + 0x10], 0
mov dword [esi + 0x28], vtable.SpeedBit::Injection::SystemConfig::Implementation::ChromeSettings.0
mov ecx, dword [edi + 0x2c]
lea edx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
lea ecx, [edi + 0x30]
push edx
call fcn.100303b0
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
lea edx, [esi + 0x4c]
lea ecx, [edi + 0x4c]
push edx
mov byte [esp + 0x14], 1
call fcn.10030690
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x1002c590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a09d6
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea eax, [esi + 0xc]
mov dword [esi], vtable.SpeedBit::Injection::SystemConfig::Implementation::SystemConfig.0
push eax
mov dword [esi + 4], vtable.SpeedBit::Injection::SystemConfig::Implementation::ExplorerSettings.0
call fcn.10030350
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 0
push ecx
mov dword [esi + 0x28], vtable.SpeedBit::Injection::SystemConfig::Implementation::ChromeSettings.0
call fcn.10030350
lea edx, [esi + 0x4c]
push edx
mov byte [esp + 0x14], 1
call fcn.10030350
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x100345c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009fdb9
mov eax, dword fs:[0]
push eax
mov eax, dword [0x100cc020]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20

Function at 0x1003d7c0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x1003d7ed
push esi
push edi
jmp 0x1003d7d0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100af600]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x1003d7d0
pop edi
pop esi
ret
Function at 0x1003d850
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x1003d86d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x1003d87a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x100ce7a4]
test eax, eax
je 0x1003d885
call eax
lea ecx, [esi*8]
push ecx
call fcn.1003a650
mov ebp, eax
mov eax, dword [0x100ce7a8]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x1003d8a6
call eax
test ebp, ebp
je 0x1003d871
mov edx, dword [edi + 0xc]
push edx
call fcn.1003a950
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x100cc3ec]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call sub.MSVCR90.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x1003d98f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x1003d923
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x100af600]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x1003d900
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x1003d96a
mov esi, dword [eax]
test esi, esi
je 0x1003d940
mov edx, dword [eax + 4]
jmp 0x1003d942
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x1003d96a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x1003d962
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x1003d983
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x1003d983
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x1003d979
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1003d8f3
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x1003df30
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
push edi
test eax, eax
je 0x1003df6b
cdq
mov edi, eax
add eax, dword [ebp + 0xc]
mov esi, edx
mov ecx, edx
adc ecx, dword [ebp + 0x10]
push esi
sub eax, 1
push edi
sbb ecx, 0
push ecx
push eax
call fcn.1009f8d0
push esi
push edi
push edx
push eax
call fcn.1009f890
jmp 0x1003df71
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov esi, ebx
call fcn.1003dd90
add esp, 8
test eax, eax
jne 0x1003df98
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1003dfa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
mov eax, 0x60a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003dff0
Capabilities:
Get file size

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003e021
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1003e021
mov dword [edi + 0x10], eax
pop edi
mov eax, 0x70a
pop esi
ret
mov edx, dword [esp + 0xc]
push 1
push 0
push 0
push edx
call fcn.1009f890
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop esi
ret
Function at 0x1003ee70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x100cc020]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [0x100ce898]
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
push edi
mov dword [esp + 0x14], ebp
test eax, eax
je 0x1003eeb9
push eax
push 0x100b6f14
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.1003bfc0
add esp, 0x10
jmp 0x1003ef6c
call fcn.1003db90
test eax, eax
je 0x1003ef09
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x120]
call fcn.1003dc50
mov esi, eax
test esi, esi
je 0x1003f09b
push esi
push 0x100b6f14
lea edx, [esp + 0x20]
push edx
push 0xe6
call fcn.1003bfc0
push esi
call dword [sym.imp.MSVCR90.dll_free]
jmp 0x1003ef69
lea eax, [esp + 0x120]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call fcn.1003dcb0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003f09b
call fcn.1003dc50
mov edi, dword [sym.imp.MSVCR90.dll_free]
push ebx
mov esi, eax
call edi
add esp, 4
test esi, esi
je 0x1003f09b
push esi
push 0x100b6f14
lea edx, [esp + 0x20]
push edx
push 0xe6
call fcn.1003bfc0
push esi
call edi
add esp, 0x14
mov dl, byte [esp + 0x18]
lea eax, [esp + 0x18]
test dl, dl
je 0x1003ef7e
inc eax
cmp byte [eax], 0
jne 0x1003ef78
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
mov ecx, str.etilqs_
mov edi, edi
inc ecx
cmp byte [ecx], 0
jne 0x1003ef90
sub ecx, str.etilqs_
and ecx, 0x3fffffff
lea eax, [ecx + eax + 0x11]
cmp eax, 0x105
jl 0x1003efb7
mov eax, 1
jmp 0x1003f0a0
lea eax, [esp + 0x18]
test dl, dl
je 0x1003efc6
nop
inc eax
cmp byte [eax], 0
jne 0x1003efc0
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x1003efdf
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x1003efdf
sub eax, 1
jne 0x1003efd4
lea edx, [esp + 0x18]
push edx
push str._setilqs_
push ebp
push 0xf4
mov byte [esp + eax + 0x28], 0
call fcn.1003bfc0
add esp, 0x10
mov eax, ebp
test ebp, ebp
je 0x1003f015
cmp byte [ebp], 0
je 0x1003f00e
inc eax
cmp byte [eax], 0
jne 0x1003f008
sub eax, ebp
and eax, 0x3fffffff
cmp dword [0x100cc3cc], 0
mov esi, eax
mov edi, 0xf
lea ebx, [eax + ebp]
jne 0x1003f02c
xor ebp, ebp
jmp 0x1003f047
push 5
call dword [0x100cc408]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1003f047
push ebp
call dword [0x100cc410]
add esp, 4
dec edi
call fcn.1003c100
mov byte [ebx], al
inc ebx
test edi, edi
jne 0x1003f047
test ebp, ebp
je 0x1003f062
push ebp
call dword [0x100cc418]
add esp, 4
mov ecx, 0xf
jmp 0x1003f070
mov edi, dword [esp + 0x14]
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
inc esi
sub ecx, 1
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
jne 0x1003f070
mov ecx, edi
mov byte [ecx + esi], 0
xor eax, eax
jmp 0x1003f0a0
mov eax, 7
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1009ecb4
add esp, 0x320
ret
Function at 0x1003f400
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.1003db90
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x1003f427
call fcn.1003dbf0
mov edi, eax
jmp 0x1003f444
call fcn.1003dbf0
mov esi, eax
cmp esi, ebp
je 0x1003f448
push esi
call fcn.1003dd20
push esi
mov edi, eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 8
cmp edi, ebp
jne 0x1003f455
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 8
ret
call fcn.1003db90
test eax, eax
je 0x1003f4a4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ebx, [ebx]
push edi
call ebx
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003f48c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x1003f4e4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x1003f4e4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003f470
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
call ebx
push edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003f4cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x1003f4e4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x1003f4e4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003f4b0
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp esi, 0xffffffff
jne 0x1003f504
cmp dword [esp + 0x14], 2
jne 0x1003f504
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0xa0a
pop ebx
add esp, 8
ret
Function at 0x1003f770
Capabilities:
Get disk size

Disassembly:
sub esp, 0x118
mov eax, dword [0x100cc020]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x11c]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x24], 0x200
call fcn.1003f650
add esp, 0x10
test eax, eax
jne 0x1003f86e
call fcn.1003db90
mov ebp, dword [sym.imp.MSVCR90.dll_free]
lea ebx, [esp + 0x18]
test eax, eax
je 0x1003f7cf
call fcn.1003dbf0
mov esi, eax
jmp 0x1003f7ef
call fcn.1003dbf0
mov edi, eax
test edi, edi
je 0x1003f867
push edi
call fcn.1003dd20
add esp, 4
push edi
mov esi, eax
call ebp
add esp, 4
test esi, esi
je 0x1003f867
call fcn.1003db90
test eax, eax
mov eax, esi
je 0x1003f831
cmp word [esi], 0
je 0x1003f81a
cmp word [eax], 0x5c
je 0x1003f815
add eax, 2
cmp word [eax], 0
jne 0x1003f804
jmp 0x1003f81a
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1003f85b
cmp byte [esi], 0
je 0x1003f846
cmp byte [eax], 0x5c
je 0x1003f843
inc eax
cmp byte [eax], 0
jne 0x1003f836
jmp 0x1003f846
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call ebp
add esp, 4
test edi, edi
jne 0x1003f86e
mov eax, 0x200
jmp 0x1003f872
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1009ecb4
add esp, 0x118
ret
Function at 0x10043b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esi + 0x3c]
sub esp, 0x14
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [edx], ebx
jne 0x10043b83
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x10043c5f
mov ebx, eax
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x10043bbf
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.1009f890
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x10043c5d
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x18]
ja 0x10043c4e
test byte [ebp + 0x14], 0x20
jne 0x10043c4e
mov ebx, dword [esi + 0x80]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.1009f890
mov ecx, dword [esi + 0x3c]
mov ebp, dword [ebp]
push edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push ebx
push ebp
push ecx
call eax
add esp, 0x14
mov dword [esp + 0x10], eax
cmp edi, 1
jne 0x10043c30
mov ecx, dword [ebp + 0x18]
lea eax, [ebp + 0x18]
mov dword [esi + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x70], edx
cmp edi, dword [esi + 0x20]
jbe 0x10043c38
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov eax, dword [esi + 0x58]
call fcn.10052080
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x10043bbf
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10060810
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
jne 0x1006082a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x44
call fcn.1003ac30
mov edi, eax
test edi, edi
je 0x10060821
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.10060420
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.10060510
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.100601a0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.10060420
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.100601a0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.10060420
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.10060810
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.100601a0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.100601a0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
add esp, 0x20
and cx, dx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret