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

Disassembly:
push esi
push edi
push 0x13880
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov edi, dword [esp + 0x18]
add esp, 4
cmp dword [edi], 0
mov esi, eax
jne 0x10041049
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push edi
push 8
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10041049
test esi, esi
je 0x10041042
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
xor al, al
pop esi
ret 0x14
mov ecx, dword [edi]
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
push 0x9c3f
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x1004108b
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
test esi, esi
je 0x10041083
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
ret 0x14
test eax, eax
jne 0x10041076
mov ecx, dword [esp + 0x20]
push esi
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_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
inc dword [ebx]
test esi, esi
je 0x100410a9
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
ret 0x14
Function at 0x100412c0
Capabilities:
Delete registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100412fb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret 0xc

Function at 0x10041310
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ebp
lea eax, [esp + 8]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test ebp, ebp
jne 0x100413ad
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push ecx
mov dword [esp + 0x24], 0x9c40
call edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10041386
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
ret 0xc
Function at 0x10041720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c6578
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push esi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
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_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov dword [esp + 0xb8], 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_char__struct_std::char_traits_char__::imbue_class_std::locale_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
mov edx, dword [ebp + 0xc]
push edx
push ecx
lea eax, [esp + 0x34]
push str.id_
push eax
call fcn.1000e210
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
mov byte [esp + 0xbc], 1
call fcn.100415f0
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0xb8], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10044b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bf0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
push eax
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__::constructor_wchar_t_const__]
lea ecx, [esp + 0xc]
push ecx
lea ebx, [esi + 0xf4]
mov dword [esp + 0x34], 0
call fcn.1000aff0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
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_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x10044d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bf0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
push eax
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__::constructor_wchar_t_const__]
lea ecx, [esp + 0xc]
push ecx
lea ebx, [esi + 0x10c]
mov dword [esp + 0x34], 0
call fcn.1000aff0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
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_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x1004cb90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bb9f9
mov eax, dword fs:[0]
push eax
mov eax, dword [0x100fc018]
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 0x10056820
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x1005684d
push esi
push edi
jmp 0x10056830
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100d90e8]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x10056830
pop edi
pop esi
ret
Function at 0x100568b0
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 0x100568cd
mov esi, 0x80
cmp esi, dword [edi]
jne 0x100568da
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x100fefec]
test eax, eax
je 0x100568e5
call eax
lea ecx, [esi*8]
push ecx
call fcn.100536b0
mov ebp, eax
mov eax, dword [0x100feff0]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x10056906
call eax
test ebp, ebp
je 0x100568d1
mov edx, dword [edi + 0xc]
push edx
call fcn.100539b0
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x100fc51c]
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 0x100569ef
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x10056983
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x100d90e8]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x10056960
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 0x100569ca
mov esi, dword [eax]
test esi, esi
je 0x100569a0
mov edx, dword [eax + 4]
jmp 0x100569a2
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x100569ca
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x100569c2
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x100569e3
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x100569e3
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x100569d9
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10056953
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x10056f90
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 0x10056fcb
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.100bb3b0
push esi
push edi
push edx
push eax
call fcn.100bb370
jmp 0x10056fd1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov esi, ebx
call fcn.10056df0
add esp, 8
test eax, eax
jne 0x10056ff8
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10057004
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 0x10057040
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 0x10057071
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10057071
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.100bb370
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 0x10057ec0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x100fc018]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [0x100ff0e0]
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
push edi
mov dword [esp + 0x14], ebp
test eax, eax
je 0x10057f09
push eax
push 0x100d7d28
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.10055020
add esp, 0x10
jmp 0x10057fbc
call fcn.10056bf0
test eax, eax
je 0x10057f59
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x120]
call fcn.10056cb0
mov esi, eax
test esi, esi
je 0x100580eb
push esi
push 0x100d7d28
lea edx, [esp + 0x20]
push edx
push 0xe6
call fcn.10055020
push esi
call dword [sym.imp.MSVCR90.dll_free]
jmp 0x10057fb9
lea eax, [esp + 0x120]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x120]
push ecx
call fcn.10056d10
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100580eb
call fcn.10056cb0
mov edi, dword [sym.imp.MSVCR90.dll_free]
push ebx
mov esi, eax
call edi
add esp, 4
test esi, esi
je 0x100580eb
push esi
push 0x100d7d28
lea edx, [esp + 0x20]
push edx
push 0xe6
call fcn.10055020
push esi
call edi
add esp, 0x14
mov dl, byte [esp + 0x18]
lea eax, [esp + 0x18]
test dl, dl
je 0x10057fce
inc eax
cmp byte [eax], 0
jne 0x10057fc8
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
mov ecx, str.etilqs_
mov edi, edi
inc ecx
cmp byte [ecx], 0
jne 0x10057fe0
sub ecx, str.etilqs_
and ecx, 0x3fffffff
lea eax, [ecx + eax + 0x11]
cmp eax, 0x105
jl 0x10058007
mov eax, 1
jmp 0x100580f0
lea eax, [esp + 0x18]
test dl, dl
je 0x10058016
nop
inc eax
cmp byte [eax], 0
jne 0x10058010
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x1005802f
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x1005802f
sub eax, 1
jne 0x10058024
lea edx, [esp + 0x18]
push edx
push str._setilqs_
push ebp
push 0xf4
mov byte [esp + eax + 0x28], 0
call fcn.10055020
add esp, 0x10
mov eax, ebp
test ebp, ebp
je 0x10058065
cmp byte [ebp], 0
je 0x1005805e
inc eax
cmp byte [eax], 0
jne 0x10058058
sub eax, ebp
and eax, 0x3fffffff
cmp dword [0x100fc4fc], 0
mov esi, eax
mov edi, 0xf
lea ebx, [eax + ebp]
jne 0x1005807c
xor ebp, ebp
jmp 0x10058097
push 5
call dword [0x100fc538]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10058097
push ebp
call dword [0x100fc540]
add esp, 4
dec edi
call fcn.10055160
mov byte [ebx], al
inc ebx
test edi, edi
jne 0x10058097
test ebp, ebp
je 0x100580b2
push ebp
call dword [0x100fc548]
add esp, 4
mov ecx, 0xf
jmp 0x100580c0
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 0x100580c0
mov ecx, edi
mov byte [ecx + esi], 0
xor eax, eax
jmp 0x100580f0
mov eax, 7
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ba2f9
add esp, 0x320
ret
Function at 0x10058450
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.10056bf0
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x10058477
call fcn.10056c50
mov edi, eax
jmp 0x10058494
call fcn.10056c50
mov esi, eax
cmp esi, ebp
je 0x10058498
push esi
call fcn.10056d80
push esi
mov edi, eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 8
cmp edi, ebp
jne 0x100584a5
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 8
ret
call fcn.10056bf0
test eax, eax
je 0x100584f4
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 0x100584dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x10058534
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x10058534
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100584c0
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 0x1005851c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
cmp eax, 5
jne 0x10058534
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x10058534
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10058500
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp esi, 0xffffffff
jne 0x10058554
cmp dword [esp + 0x14], 2
jne 0x10058554
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 0x100587c0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x118
mov eax, dword [0x100fc018]
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.100586a0
add esp, 0x10
test eax, eax
jne 0x100588be
call fcn.10056bf0
mov ebp, dword [sym.imp.MSVCR90.dll_free]
lea ebx, [esp + 0x18]
test eax, eax
je 0x1005881f
call fcn.10056c50
mov esi, eax
jmp 0x1005883f
call fcn.10056c50
mov edi, eax
test edi, edi
je 0x100588b7
push edi
call fcn.10056d80
add esp, 4
push edi
mov esi, eax
call ebp
add esp, 4
test esi, esi
je 0x100588b7
call fcn.10056bf0
test eax, eax
mov eax, esi
je 0x10058881
cmp word [esi], 0
je 0x1005886a
cmp word [eax], 0x5c
je 0x10058865
add eax, 2
cmp word [eax], 0
jne 0x10058854
jmp 0x1005886a
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 0x100588ab
cmp byte [esi], 0
je 0x10058896
cmp byte [eax], 0x5c
je 0x10058893
inc eax
cmp byte [eax], 0
jne 0x10058886
jmp 0x10058896
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 0x100588be
mov eax, 0x200
jmp 0x100588c2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ba2f9
add esp, 0x118
ret
Function at 0x1005cb90
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 0x1005cbc3
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 0x1005cc9f
mov ebx, eax
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x1005cbff
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.100bb370
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 0x1005cc9d
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x18]
ja 0x1005cc8e
test byte [ebp + 0x14], 0x20
jne 0x1005cc8e
mov ebx, dword [esi + 0x80]
mov eax, ebx
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.100bb370
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 0x1005cc70
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 0x1005cc78
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov eax, dword [esi + 0x58]
call fcn.1006b0b0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x1005cbff
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10079840
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 0x1007985a
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.10053c90
mov edi, eax
test edi, edi
je 0x10079851
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.10079450
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.10079540
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.100791d0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.10079450
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.100791d0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.10079450
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.10079840
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.100791d0
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.100791d0
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