joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f048
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.0040ee1c
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x40f06c
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x20]
inc bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00418cca
leave
ret

Function at 0x40f13b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x20]
xor bl, bl
call fcn.0040ee1c
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x40f162
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f16f
mov bl, 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00418cca
leave
ret
Function at 0x40f187
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x130
lea ebp, [esp - 4]
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x130], eax
push 0x18
mov eax, 0x42c4a4
call fcn.0042a26c
xor ebx, ebx
lea ecx, [ebp + 0x114]
mov byte [ebp - 0xd], bl
call fcn.0040ee1c
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x12c], 0x10
mov eax, dword [ebp + 0x118]
jae 0x40f1d3
lea eax, [ebp + 0x118]
push ebx
push 0x80
push 3
push ebx
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x40f288
push 0x4334b4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 5
jae 0x40f242
push str.GetFileSize
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x40f259
push str.GetFileSizeEx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x14]
call eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 8
lea eax, [ebp - 0x24]
push eax
push esi
call sub.MSVCR80.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x114]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x130]
xor ecx, ebp
call fcn.00418cca
add ebp, 0x134
leave
ret
Function at 0x40f46d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1ac]
push esi
mov esi, dword [ebp + 0x1a8]
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40f4ab
xor eax, eax
jmp 0x40f5b7
push ebx
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
mov edi, 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov esi, eax
cmp esi, ebx
je 0x40f5b3
cmp esi, edi
jb 0x40f4de
push 0x6f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x40f5b3
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x40f5b3
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x6c]
push edx
push ebx
push ebx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x40f52e
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x40f522
movzx eax, ax
push eax
jmp 0x40f524
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x40f5aa
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
cmp esi, ebx
jne 0x40f551
cmp word [ebp - 0x6c], bx
je 0x40f551
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40f587
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea edi, [esi + 1]
cmp edi, dword [ebp + 0x1b0]
jbe 0x40f574
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, edi
jmp 0x40f587
push dword [ebp + 0x1b0]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40f5aa
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
pop esi
call fcn.00418cca
add ebp, 0x1a0
leave
ret 0xc
Function at 0x413860
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42a799
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43d2ac]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x3c], 0
je 0x413906
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4138cc
call edi
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [esp + 0x18]
jae 0x4138db
lea ecx, [esp + 0x18]
cmp byte [ecx + esi], 0x5c
je 0x4138ff
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4138ea
call edi
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x4138f9
lea eax, [esp + 0x18]
cmp byte [eax + esi], 0x2f
jne 0x413906
mov eax, 0x42ebe0
jmp 0x41390b
mov eax, 0x42ebdc
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x413925
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp], eax
jne 0x413944
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x413944
xor esi, esi
jmp 0x413947
lea esi, [ebx + 0x2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MSVCP80.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 + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00418cca
add esp, 0x2c
ret

Function at 0x413980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x41398f
mov eax, dword [eax + 4]
jmp 0x413992
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4139c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4139c2
cmp eax, 0x57
je 0x4139c2
cmp eax, 0x15
je 0x4139c2
cmp eax, 3
je 0x4139c2
cmp eax, 0x7b
je 0x4139c2
cmp eax, 0x35
jne 0x4139c5
xor al, al
ret
mov al, 1
ret
Function at 0x413c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42a841
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00412520
cmp dword [eax + 0x18], 0x10
jb 0x413cd0
mov eax, dword [eax + 4]
jmp 0x413cd3
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, 0xffffffff
jne 0x413d22
push str.boost::filesystem::is_directory
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x68], 0
call sub.KERNEL32.dll_GetLastError
push eax
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.00414980
push eax
mov byte [esp + 0x6c], 1
call fcn.00412760
mov eax, esi
shr eax, 4
and eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x60
ret

Function at 0x413d40
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x42a871
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x58]
mov eax, 0x10
cmp dword [edi + 0x18], eax
jb 0x413d78
mov ecx, dword [edi + 4]
jmp 0x413d7b
lea ecx, [edi + 4]
mov esi, dword [esp + 0x54]
cmp dword [esi + 0x18], eax
jb 0x413d89
mov eax, dword [esi + 4]
jmp 0x413d8c
lea eax, [esi + 4]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x413dd2
push str.boost::filesystem::copy_file
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x4c], 0
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.00414aa0
push eax
mov byte [esp + 0x50], 1
call fcn.00412760
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret
Function at 0x4141b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42a973
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push 0x42eda0
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push edx
push eax
push esi
mov dword [esp + 0x48], 1
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0x18
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP80.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 + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x414c70
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x414d2b
cmp byte [esi + 0x5c], 0x77
jne 0x414d2b
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov dword [esi], eax
mov dword [esi + 4], ebp
je 0x414d0d
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, 0x4000
nop
cmp dword [esi + 0x10], 0
jne 0x414cd4
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
push edx
mov dword [esi + 0xc], eax
call edi
cmp dword [esp + 0x10], ebx
jne 0x414d04
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
add dword [esi + 0x64], eax
add dword [esi + 0x68], ecx
push 0
push esi
call fcn.00415270
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x64], edx
sub dword [esi + 0x68], ecx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x414d0b
test edx, edx
jne 0x414cb0
jmp 0x414d0b
mov dword [esi + 0x38], 0xffffffff
pop edi
pop ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
push ebp
push edx
push eax
call fcn.00416e80
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebp
sub eax, dword [esi + 4]
pop ebp
pop esi
pop ecx
ret
mov eax, 0xfffffffe
pop esi
pop ecx
ret
Function at 0x414d40
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, eax
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], ebp
je 0x414e02
cmp byte [esi + 0x5c], 0x77
jne 0x414e02
mov dword [esi + 4], ebp
push edi
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x414d96
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], edi
jne 0x414df6
mov eax, dword [esi + 0x48]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x4000
cmp ebx, ebp
jne 0x414de2
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
add dword [esi + 0x68], ecx
push edx
push esi
call fcn.00415270
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
cmp edi, ebp
mov dword [esi + 0x38], eax
jne 0x414dc3
cmp eax, 0xfffffffb
jne 0x414dc3
mov dword [esi + 0x38], ebp
cmp ecx, ebp
jne 0x414dd1
cmp dword [esi + 0x38], 1
je 0x414dd1
xor ebx, ebx
jmp 0x414dd6
mov ebx, 1
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x414d64
cmp eax, 1
je 0x414d64
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
or eax, 0xffffffff
mov dword [esi + 0x38], eax
pop esi
pop ebp
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret

Function at 0x414e10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, eax
mov dword [esp + 0x10], 0
mov edi, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x20]
mov eax, esi
push edx
and eax, 0xff
push ebp
mov dword [esp + 0x28], eax
call ebx
shr esi, 8
sub edi, 1
jne 0x414e30
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x418cca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d2ac]
jne 0x418cd4
repz ret
jmp fcn.0041912c

Function at 0x4198c8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43d2ac]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00419807
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x419917
cmp dword [ebp - 0x1c], 5
jb 0x41992f
jmp 0x41992b
cmp dword [ebp - 0x10], 1
jne 0x41992f
cmp dword [ebp - 0x1c], 4
ja 0x41992b
jne 0x41992f
cmp dword [ebp - 0x18], 0
jbe 0x41992f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x432368
call fcn.0041969d
test eax, eax
jge 0x419950
mov byte [0x43e0ec], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418cca
add ebp, 0x78
leave
ret

Function at 0x427340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b516
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edi, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.004256c0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x24
Function at 0x4293c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
cmp cl, 0x39
mov eax, 0x432d7e
mov dword [esp], eax
mov dword [esp + 4], 0x432a6c
mov dword [esp + 8], 0x432a68
mov dword [esp + 0xc], 0x432a64
mov dword [esp + 0x10], 0x432a60
mov dword [esp + 0x14], 0x4334b0
mov dword [esp + 0x18], 0x42ebe0
mov dword [esp + 0x1c], 0x432a5c
mov dword [esp + 0x20], 0x432a58
mov dword [esp + 0x24], 0x432d88
mov dword [esp + 0x28], 0x432d84
mov dword [esp + 0x2c], 0x432a54
mov dword [esp + 0x30], 0x43319c
mov dword [esp + 0x34], 0x432a50
mov dword [esp + 0x38], 0x43360c
mov dword [esp + 0x3c], 0x432a4c
mov dword [esp + 0x40], str.____
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x432748
mov dword [esp + 0x4c], str.BDMS___
mov dword [esp + 0x50], 0x4335cc
mov dword [esp + 0x54], 0x4335d0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x432a38
mov dword [esp + 0x64], 0x432a34
mov dword [esp + 0x68], 0x432d80
mov dword [esp + 0x6c], 0x433608
mov dword [esp + 0x70], 0x43274c
mov dword [esp + 0x74], 0x432738
mov dword [esp + 0x78], 0x432718
mov dword [esp + 0x7c], 0x432708
mov dword [esp + 0x80], 0x432700
mov dword [esp + 0x84], 0x4326f8
mov dword [esp + 0x88], 0x4326f0
mov dword [esp + 0x8c], 0x432744
mov dword [esp + 0x90], 0x432a30
mov dword [esp + 0x94], 0x432d8c
mov dword [esp + 0x98], 0x43273c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x4327fc
mov dword [esp + 0xc0], 0x4327d0
mov dword [esp + 0xc4], 0x4327b8
mov dword [esp + 0xc8], 0x432800
mov dword [esp + 0xcc], str.ZYXWVUTRQPONLKJIHGFECA
mov dword [esp + 0xd0], 0x4327f4
mov dword [esp + 0xd4], 0x432a2c
mov dword [esp + 0xd8], 0x432710
mov dword [esp + 0xdc], 0x4327d4
mov dword [esp + 0xe0], 0x4327dc
jae 0x4295bc
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xe4
ret
Function at 0x43ae3f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c3ec
push 0x45c3e4
push str.FlsAlloc
push 0x1e
call fcn.0043ab0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ae73
push dword [ebp + 8]
mov ecx, esi
call dword [0x459188]
call esi
jmp 0x43ae79
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43aebd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c3fc
push 0x45c3f4
push str.FlsGetValue
push 0x20
call fcn.0043ab0f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43aef4
push dword [ebp + 8]
mov ecx, esi
call dword [0x459188]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x441b93
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441a67
Function at 0x44249f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x463038]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4424ea
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004428b5
test al, al
jne 0x4424e4
sub edx, 2
cmp edx, edi
jne 0x4424ca
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44250c
lea eax, [edi + 2]
cmp edx, eax
je 0x44250c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00442166
add esp, 0x10
jmp 0x442606
push esi
lea ecx, [ebp - 0x255]
call fcn.004428b5
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44254f
push dword [ebp - 0x25c]
jmp 0x4424fc
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44258c
cmp word [ebp - 0x226], 0
je 0x4425ad
cmp word [ebp - 0x226], ax
jne 0x44258c
cmp word [ebp - 0x224], 0
je 0x4425ad
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00442166
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4425f9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x442566
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4425e1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x442606
push 0x441bb6
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0044f220
add esp, 0x10
jmp 0x4425d6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402172
leave
ret