joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459f7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov cl, byte [edi + 4]
lea edx, [edi + 8]
mov byte [esi + 4], cl
push edx
lea ecx, [esi + 8]
call fcn.004019d8
mov al, byte [edi + 0x20]
mov byte [esi + 0x20], al
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea ecx, [edi + 0x4c]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
push ecx
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x48], eax
call fcn.004019d8
lea edx, [edi + 0x64]
push edx
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 1
call fcn.004019d8
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x80], ecx
mov edx, dword [edi + 0x84]
lea eax, [edi + 0x88]
lea ecx, [esi + 0x88]
push eax
mov byte [esp + 0x1c], 2
mov dword [esi + 0x84], edx
call fcn.004264c0
lea edx, [edi + 0x94]
lea ecx, [esi + 0x94]
push edx
mov byte [esp + 0x1c], 3
call fcn.004264c0
mov eax, dword [edi + 0xa0]
lea ecx, [edi + 0xa4]
push ecx
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 4
mov dword [esi + 0xa0], eax
call fcn.004019d8
lea edx, [edi + 0xbc]
push edx
lea ecx, [esi + 0xbc]
mov byte [esp + 0x1c], 5
call fcn.004019d8
mov eax, dword [edi + 0xd4]
mov dword [esi + 0xd4], eax
mov ecx, dword [edi + 0xd8]
mov dword [esi + 0xd8], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4482a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a588
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x448338
push eax
lea ecx, [esp + 0x10]
call fcn.004061e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.0044b270
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
call fcn.0044b270
mov ecx, dword [edi + 0x14]
push 0xffffffffffffffff
push esi
push eax
movzx eax, word [esp + 0x40]
add eax, 1
push eax
push ecx
call sub.sqlite.dll_sqlite3_bind_text
mov edx, dword [esp + 0x30]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x1c
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 8
mov edx, dword [edi]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x24]
push eax
call edx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 8
Function at 0x4497a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45a850
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
push esi
push 0xffffffffffffffff
push str.:memory:
lea ecx, [esp + 0x24]
call fcn.0044b840
mov ebp, dword [esp + 0x88]
push esi
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov dword [esp + 0x8c], esi
call fcn.0044c240
mov ecx, dword [esp + 0x28]
test ax, ax
push ecx
setne bl
mov dword [esp + 0x84], 0xffffffff
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
test bl, bl
je 0x44982b
push ebp
call fcn.0044fd60
add esp, 4
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
call fcn.004061e0
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x80], 1
xor edi, edi
lea ecx, [esp + 0x30]
call fcn.0044b270
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.sqlite.dll_sqlite3_open_v2
add esp, 0x10
test eax, eax
je 0x4498e6
cmp eax, 0xe
jne 0x44989f
cmp edi, 0x7d0
jae 0x449891
mov eax, esi
mov edx, 0x3e8
mul edx
push edx
push eax
call fcn.0044da60
add esp, 8
add esi, 5
add edi, 1
cmp esi, 0x2710
jb 0x449854
push 0
push 0xffffffffffffffff
push str.error_opening_database
lea ecx, [esp + 0x54]
call fcn.0044b840
mov ecx, dword [esp + 0x88]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x8c], 2
call fcn.00406100
add esp, 0xc
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x88], 3
call fcn.00449650
mov eax, dword [esp + 0x14]
push 0
push 0
push 0x449550
push 0
push 1
push 3
push 0x4658c8
push eax
call sub.sqlite.dll_sqlite3_create_function
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
add esp, 0x20
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x449dd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov ecx, edi
call fcn.0044d970
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x449ded
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, edi
pop edi
mov dword [esi], 1
pop esi
jmp fcn.0044d9a0
Function at 0x44a260
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x44a2aa
lea ecx, [esp + 0x50]
call fcn.00449f30
push 0x4727b4
lea eax, [esp + 0x54]
push eax
call sub.MSVCR80.dll__CxxThrowException
xor ebx, ebx
push ebx
xor eax, eax
push ebx
push 1
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
mov edx, dword [ecx + 4]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x20], edx
jne 0x44a33a
push ebx
push eax
push str.Failed_to_create_connection
lea ecx, [esp + 0x44]
call fcn.0044b840
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 1
mov dword [esp + 0x54], vtable.RSException.0
call fcn.004019d8
push 0x47277c
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], vtable.CMessageException.0
call sub.MSVCR80.dll__CxxThrowException
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44a3b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44a3db
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x44a3a2
sub eax, 1
jne 0x44a348
lea ecx, [esp + 0x50]
call fcn.00449f30
push 0x4727b4
lea eax, [esp + 0x54]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xe8
je 0x44a42a
call esi
cmp eax, 0xe9
je 0x44a42a
push 0
push 0xffffffffffffffff
push str.Connection_Closed
lea ecx, [esp + 0x44]
call fcn.0044b840
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 2
call fcn.00449ec0
push 0x47277c
lea edx, [esp + 0x70]
push edx
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [esp + 0x6c]
call fcn.00449f30
push 0x4727b4
lea eax, [esp + 0x70]
push eax
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x44d4d0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
push esi
push 0
push 1
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
test eax, eax
mov dword [esi + 4], eax
jne 0x44d51b
push eax
push 0xffffffffffffffff
push str.unable_to_create_tls_index
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea eax, [esp + 8]
push eax
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x44d5c0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 4]
sub esp, 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x44d5fe
push eax
push 0xffffffffffffffff
push str.unable_to_set_tls_value
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea edx, [esp + 4]
push edx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x1c
ret 4

Function at 0x44d610
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
test eax, eax
push esi
mov esi, ecx
je 0x44d65d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x44d65d
push eax
push 0xffffffffffffffff
push str.unable_to_set_tls_value
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 8]
push ecx
call sub.MSVCR80.dll__CxxThrowException
pop esi
add esp, 0x1c
ret 4

Function at 0x44d670
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x44d6cd
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x44d6bf
push eax
push 0xffffffffffffffff
push str.unable_to_create_tls_data
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 0xc]
push ecx
call sub.MSVCR80.dll__CxxThrowException
push esi
mov ecx, edi
mov dword [esi], 0
call fcn.0044d5c0
pop edi
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x44d7a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x44d7dc
push eax
push 0xffffffffffffffff
push str.likely_unbalanced_enter_exit_monitor_pair__extra_exit_
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 8]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add dword [eax], 0xffffffff
jne 0x44d7e9
push eax
mov ecx, esi
call fcn.0044d610
pop esi
add esp, 0x1c
ret
Function at 0x44d860
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call ebx
test eax, eax
je 0x44d87e
mov ebp, dword [eax]
test ebp, ebp
jne 0x44d8a7
push 0
push 0xffffffffffffffff
push str.must_own_monitor_prior_to_calling_wait__
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 0x10]
push ecx
call sub.MSVCR80.dll__CxxThrowException
push edi
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi + 4]
push edx
call ebx
push eax
mov ecx, esi
call fcn.0044d610
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.0044d530
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 4]
push edx
call ebx
test ebp, ebp
pop edi
jbe 0x44d8f9
test eax, eax
jne 0x44d8ee
mov ecx, esi
call fcn.0044d670
pop esi
mov dword [eax], ebp
pop ebp
pop ebx
add esp, 0x1c
ret 8
push eax
mov ecx, esi
call fcn.0044d610
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x44d970
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d987
cmp dword [eax], 0
jne 0x44d991
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.0044d670
add dword [eax], 1
pop esi
ret

Function at 0x44d9a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x44d80c
cmp dword [eax], 0
ja 0x44d835
push 0
push 0xffffffffffffffff
push str.must_own_monitor_prior_to_calling_exit__
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 0xc]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, esi
call fcn.0044d7a0
mov edx, dword [esi + 4]
push edx
call edi
test eax, eax
je 0x44d84b
cmp dword [eax], 0
jne 0x44d855
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
add esp, 0x1c
ret
mov ecx, dword [ecx + 4]
jmp 0x44d7f0

Function at 0x44d9d0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44d929
cmp dword [eax], 0
ja 0x44d952
push 0
push 0xffffffffffffffff
push str.must_own_monitor_prior_to_notify
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], vtable.RSException.0
call fcn.0044b840
push 0x469dd4
lea ecx, [esp + 8]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov edx, dword [esi]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop esi
add esp, 0x1c
ret
mov ecx, dword [ecx + 4]
jmp 0x44d910
Function at 0x44da20
Capabilities:
Create thread

Disassembly:
push esi
push 4
mov esi, ecx
call fcn.0045103a
add esp, 4
test eax, eax
je 0x44da39
mov dword [eax], 0
jmp 0x44da3b
xor eax, eax
push 0
push 0
push esi
push 0x44da00
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
pop esi
ret

Function at 0x44dd20
Capabilities:
Get disk information

Disassembly:
push edi
mov ecx, esi
xor edi, edi
call fcn.0044b2e0
cmp dword [esi + 4], 1
jne 0x44dd4e
push edi
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44dd47
cmp ax, 0x5c
jne 0x44dd4e
mov eax, 1
pop edi
ret
mov ecx, esi
call fcn.0044b2e0
cmp dword [esi + 4], 3
jne 0x44ddb4
push 0
mov ecx, esi
call fcn.0044c690
push eax
call dword [sym.imp.MSVCR80.dll_iswalpha]
add esp, 4
test eax, eax
je 0x44ddb4
push 1
mov ecx, esi
call fcn.0044c690
cmp ax, 0x3a
jne 0x44ddb4
push 2
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44dd99
cmp ax, 0x5c
jne 0x44ddb4
mov ecx, esi
call fcn.0044b2e0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
neg eax
pop edi
ret
push 0
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44ddd0
cmp ax, 0x5c
jne 0x44dee9
push 1
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44ddec
cmp ax, 0x5c
jne 0x44dee9
mov ecx, esi
mov edi, 2
call fcn.0044b2e0
cmp dword [esi + 4], edi
je 0x44deed
push edi
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44deed
cmp ax, 0x5c
je 0x44deed
mov ecx, esi
add edi, 1
call fcn.0044b2e0
cmp edi, dword [esi + 4]
jae 0x44de46
push edi
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44de46
cmp ax, 0x5c
jne 0x44de20
mov ecx, esi
call fcn.0044b2e0
cmp dword [esi + 4], edi
je 0x44deed
mov ecx, esi
add edi, 1
call fcn.0044b2e0
cmp dword [esi + 4], edi
je 0x44deed
push edi
mov ecx, esi
call fcn.0044c690
call fcn.0044dd00
test al, al
jne 0x44deed
lea ebx, [ebx]
mov ecx, esi
add edi, 1
call fcn.0044b2e0
cmp edi, dword [esi + 4]
jae 0x44dea6
push edi
mov ecx, esi
call fcn.0044c690
movzx eax, ax
cmp ax, 0x2f
je 0x44dea6
cmp ax, 0x5c
jne 0x44de80
mov ecx, esi
call fcn.0044b2e0
lea edx, [edi + 1]
cmp dword [esi + 4], edx
ja 0x44deed
mov ecx, esi
call fcn.0044b2e0
cmp dword [esi + 4], edi
jne 0x44ded0
movzx eax, word [0x477b18]
push eax
mov ecx, esi
call fcn.0044b360
mov ecx, esi
call fcn.0044b2e0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb edi, edi
neg edi
mov eax, edi
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x44df90
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov dword [esi], 0xffffffff
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x44dfd4
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44dfce
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov dword [esi], edx
xor eax, eax
pop esi
ret 0xc
Function at 0x44dfe0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov dword [esi], 0xffffffff
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x44e024
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44e01e
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov dword [esi], edx
xor eax, eax
pop esi
ret 0xc
Function at 0x44ee60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45b040
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x50]
mov ecx, esi
mov dword [esp + 0x48], ebx
call fcn.0044b2e0
mov edi, eax
movzx eax, word [0x477b18]
push eax
mov ecx, esi
call fcn.0044ce60
test eax, eax
je 0x44ef16
mov ecx, esi
call fcn.0044b2e0
mov eax, dword [esi + 4]
add eax, 0xffffffff
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0044c030
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call fcn.0044b3f0
mov edx, dword [esp + 0x38]
push edx
mov byte [esp + 0x4c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0044b2e0
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x20]
mov esi, eax
neg esi
sbb esi, esi
push ecx
add esi, 1
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x44f0a0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x45b040
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x50]
mov ecx, esi
mov dword [esp + 0x48], ebx
call fcn.0044b2e0
mov edi, eax
movzx eax, word [0x477b18]
push eax
mov ecx, esi
call fcn.0044ce60
test eax, eax
je 0x44f156
mov ecx, esi
call fcn.0044b2e0
mov eax, dword [esi + 4]
add eax, 0xffffffff
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0044c030
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call fcn.0044b3f0
mov edx, dword [esp + 0x38]
push edx
mov byte [esp + 0x4c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0044b2e0
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
cmp esi, 1
jne 0x44f17d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
jne 0x44f17d
mov esi, 0xffffe8c5
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x44f860
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45b1d4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebp, ebp
push esi
mov dword [esi], vtable.RSMonitor.0
mov dword [esi + 4], ebp
call fcn.0044d720
lea eax, [esi + 8]
push eax
mov dword [esp + 0x28], ebp
mov dword [eax], vtable.RSMonitor.0
mov dword [eax + 4], ebp
call fcn.0044d720
lea eax, [esi + 0x10]
mov ebx, 1
push eax
mov byte [esp + 0x2c], bl
mov dword [eax], vtable.RSMonitor.0
mov dword [eax + 4], ebp
call fcn.0044d720
lea eax, [esi + 0x18]
push eax
mov byte [esp + 0x30], 2
mov dword [eax], vtable.RSMonitor.0
mov dword [eax + 4], ebp
call fcn.0044d720
add esp, 0x10
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x20], 3
mov dword [esi + 0x20], ebx
call fcn.0044f240
mov dword [edi + 4], eax
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x20], 4
call fcn.0044f240
mov dword [edi + 4], eax
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret