joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b840
Capabilities:
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x515c32
call fcn.004d8abf
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea ecx, [ebp - 0x24]
push esi
call fcn.0043b393
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], ebx
jge 0x43b8c5
cmp dword [ebp - 0x20], ebx
mov eax, 0x98
cmovne eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x1c]
mov esi, esp
mov dword [ebp - 0x18], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x43b8dd
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi + 8]
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.0040687a
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x43bd21
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x30
mov eax, 0x515d0d
call fcn.004d8abf
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp + 0xc]
lea eax, [edx + 4]
mov dword [ebp - 4], 1
push 0x53d64c
mov edx, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.00409442
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407189
push dword [ebp - 0x10]
add ebx, 0xfffffff0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43be3e
mov eax, dword [ebp - 0x18]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], esi
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push ecx
mov esi, esp
mov byte [ebp - 4], 5
mov ecx, ebx
mov dword [ebp - 0x24], esi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
mov dl, 1
mov byte [ebp - 4], 4
call fcn.00428edd
pop ecx
pop ecx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x30], 0
jge 0x43be33
cmp dword [ebp - 0x2c], 0
push 0x1d
pop eax
cmovne eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x28]
mov esi, esp
mov dword [ebp - 0x24], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x43be4d
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, ebx
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x43c76d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x28
mov eax, 0x515f41
call fcn.004d8abf
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c798
mov bl, 1
jmp 0x43c90d
test al, 0x10
je 0x43c86a
lea ecx, [ebp - 0x24]
call fcn.004acf13
push ebx
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5444d8
call fcn.00406fea
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push ecx
mov esi, esp
mov edi, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [esi], eax
mov edx, edi
mov byte [ebp - 4], 1
call fcn.0042aaf3
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x43c857
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
lea esi, [eax + 0x10]
call fcn.00409442
mov ecx, esp
mov byte [ebp - 4], 3
push esi
mov edx, eax
call fcn.0040a037
pop ecx
mov ecx, ebx
call fcn.0043c76d
pop ecx
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00407189
test bl, bl
je 0x43c866
lea ecx, [ebp - 0x14]
call fcn.004094c2
mov eax, dword [ebp - 0x14]
push 0
pop ebx
cmp eax, dword [ebp - 0x24]
jne 0x43c805
mov bl, 1
lea ecx, [ebp - 0x24]
call fcn.004add79
jmp 0x43c90d
xor ebx, ebx
jmp 0x43c859
push 2
test al, 1
mov ecx, 0x10000
pop eax
push ebx
push ebx
push 3
push ebx
push ebx
cmovne eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x43c89b
test eax, eax
je 0x43c89b
mov bl, 1
jmp 0x43c905
call fcn.00406710
test esi, esi
je 0x43c902
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x34]
lea eax, [ebp + 8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x2c]
call fcn.00409a5e
test al, al
jne 0x43c902
mov edi, dword [ebp - 0x18]
cmp dword [edi + 4], 0xccccccc
je 0x43c920
lea eax, [ebp + 8]
push eax
push dword [edi]
lea ecx, [ebp - 0x24]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0x24]
mov esi, dword [eax + 4]
mov dword [eax + 4], ebx
call fcn.004c0cd7
push esi
push dword [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x34]
call fcn.00409917
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
call fcn.00427477
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov al, bl
call fcn.004d8a8d
ret
call fcn.00409e63
int3
Function at 0x440872
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x100]
cmp eax, 9
ja 0x4409c1
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp ecx, 0x100
jne 0x4409aa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
and al, 1
cmp dword [ebx + 8], 0x74
jne 0x4408c8
push dword [edi + 0x20]
test al, al
je 0x4408c6
mov byte [edi + 0x28], 1
call esi
xor ecx, ecx
cmp dword [ebx + 8], 0x1b
jne 0x4408df
push ecx
push ecx
push 0x10
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
cmp dword [ebx + 8], 0x7a
jne 0x4408f2
push dword [edi + 0x18]
call esi
xor eax, eax
inc eax
jmp 0x4409c3
cmp dword [ebx + 8], 0x78
jne 0x4409aa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
push eax
push ecx
push 0x434
push dword [edi + 0x30]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call esi
push dword [esp + 0x14]
push 0
push 0x436
push dword [edi + 0x30]
call esi
lea ecx, [edi + 0x58]
push ecx
lea ecx, [edi + 0xc]
lea esi, [eax + 1]
lea eax, [esp + 0x20]
push eax
call fcn.004b62af
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
push ecx
lea ecx, [esp + 0x30]
mov eax, dword [eax]
add eax, 0x14
push ecx
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004beb1a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
cmp byte [eax + 0xd], 0
jne 0x440983
cmp esi, dword [eax + 0x10]
jb 0x440983
cmp eax, dword [ecx]
je 0x440983
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
call fcn.004acdf5
jmp 0x440996
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004babe6
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [edi - 0x24]
call fcn.00441d6d
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebx + 4], 0x104
jne 0x4409c1
cmp dword [ebx + 8], 0x79
jne 0x4409c1
push dword [edi + 0x1c]
jmp 0x4408e8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x442a52
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x516f9c
call fcn.004d8abf
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov edx, 0xffffd8f0
push 2
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [eax + 8], ecx
mov dword [eax], 0x55309c
add dword [edi + 8], 0x10
mov eax, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax], ebx
add dword [edi + 8], 0x10
call fcn.00410525
mov eax, dword [edi + 0x44]
mov edx, 0x442743
mov dword [ebx + 0xe4], eax
mov ecx, edi
movzx eax, byte [edi + 0x38]
mov dword [ebx + 0xe8], eax
xor eax, eax
inc eax
mov dword [edi + 0x44], 0x442698
push 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x38], 0xf
call fcn.004102f4
mov ebx, dword [ebp + 0x14]
mov esi, esp
mov dword [ebp - 0x1c], esi
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00429cff
pop ecx
mov byte [ebp - 4], 3
mov edx, 0xffffd8ee
push dword [eax]
mov ecx, edi
call fcn.00410549
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0
mov edx, 0x4428bf
mov ecx, edi
call fcn.004102f4
mov edi, dword [ebp + 0x18]
mov esi, esp
mov dword [ebp - 0x1c], esi
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00429cff
pop ecx
mov ecx, dword [ebp + 0xc]
mov edx, 0xffffd8ee
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00410549
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0xfc]
call fcn.00405d6e
xor eax, eax
push eax
push eax
push esi
push 0x442548
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
mov dword [esi + 0xf8], eax
push dword [esi + 0xe0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov eax, esi
call fcn.004d8a8d
ret 0x14
Function at 0x443887
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x517245
call fcn.004d8af2
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x38]
push 5
pop ecx
push 0x14
mov esi, str.Copyright_c__Ninite
mov dword [ebp - 0x40], eax
rep movsd dword es:[edi], dword [esi]
pop edi
push edi
push edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
push eax
call fcn.004d99b0
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x38]
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, edi
jb 0x4438c1
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x443959
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov eax, esi
div edi
mov eax, edx
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x44394c
mov cl, byte [ebp - 0x1a]
lea edi, [ebp - 0x38]
mov al, byte [ebp - 0x17]
lea edx, [ebp - 0x24]
mov byte [ebp - 0x1a], al
xor eax, eax
stosd dword es:[edi], eax
xor byte [ebp - 0x1b], 0xc0
push ecx
mov byte [ebp - 0x17], cl
lea ecx, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0x14
pop edi
push edi
call fcn.00426647
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
jl 0x443970
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00407189
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004d99b0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov al, byte [ebp + eax - 0x24]
xor byte [ecx + esi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4438dc
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
mov eax, ebx
call fcn.004d8aa1
ret
cmp dword [ebp - 0x48], 0
mov edi, dword [ebp - 0x44]
push 0x27
pop eax
cmovne eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
push ecx
mov esi, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x3c], esi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
jmp 0x443968
Function at 0x44a7d3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510e2f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x577014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
or dword [esi + 0x18], 0xffffffff
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x11
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], 0x3f400000
mov dword [esi + 0x10], 0x3e800000
mov dword [esi + 0x14], 0x40100000
call fcn.004056bd
mov dword [esi + 0x30], edi
mov eax, esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x44af34
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x51867a
call fcn.004d8abf
mov esi, ecx
xor edi, edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], edi
push eax
lea ecx, [esi + 0x34]
call fcn.00405d6e
push edi
push edi
push esi
push 0x44b409
push edi
push edi
call fcn.004f5f5d
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x44afca
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x76
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2c]
call fcn.00406620
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00407189
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp + 8]
jmp 0x44b071
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x38]
push 0xffffffffffffffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push edi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x44b054
lea eax, [ebp - 0x10]
mov edi, 0x80004005
push eax
push dword [esi]
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x44b033
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x7f
cmovle ecx, eax
test ecx, ecx
cmovs edi, ecx
push edi
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2c]
call fcn.00406620
mov byte [ebp - 4], 2
jmp 0x44afa0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 8]
test eax, eax
js 0x44b049
mov dword [esi + 4], 0x82
jmp 0x44b05d
mov dword [esi], eax
mov dword [esi + 4], 0x84
jmp 0x44b05f
mov esi, dword [ebp + 8]
mov dword [esi + 4], edi
lea ecx, [esi + 8]
mov dword [esi], edi
call fcn.0040687a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, esi
call fcn.004d8a8d
ret 8
Function at 0x44d7aa
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x518dec
call fcn.004d8abf
mov edi, ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov byte [edi], bl
mov byte [edi + 1], bl
mov byte [edi + 2], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
inc ebx
mov dword [edi + 4], eax
lea ecx, [edi + 8]
push ebx
call fcn.004d5dc9
xor esi, esi
lea ecx, [edi + 0xc]
push esi
push ebx
mov dword [ebp - 4], esi
call fcn.004d5dc9
push esi
lea ecx, [edi + 0x10]
mov byte [ebp - 4], bl
push ebx
call fcn.004d5dc9
push esi
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
push ebx
call fcn.004d5dc9
push 0x426f06
push 0x426f0b
push 2
push 4
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.004d8656
push 0x4d613f
push fcn.004d615e
push 2
push 0x18
lea eax, [edi + 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.004d8656
or dword [edi + 0x50], 0xffffffff
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 6
call fcn.004d615e
xor ebx, ebx
mov dword [edi + 0x6c], ebx
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 8
call fcn.004d615e
mov dword [edi + 0x88], ebx
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x98]
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
call fcn.004d615e
mov dword [edi + 0xb0], ebx
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0xc0]
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
call fcn.004d615e
mov dword [edi + 0xd8], ebx
lea esi, [edi + 0xe8]
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
mov ecx, esi
call fcn.0040687a
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0xf8], eax
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x44d944
Capabilities:
Read file on windows

Disassembly:
push 0x38
mov eax, 0x518e5e
call fcn.004d8abf
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x44d964
mov dword [edi + 4], eax
push 1
push 1
lea ecx, [ebp + 8]
call fcn.004d5dc9
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push ecx
push 0xffff
lea ecx, [ebp - 0x30]
call fcn.004ae76d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
and dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x44da17
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44da10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push 0
push eax
xor eax, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
setne al
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x44da4d
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 0
jne 0x44da17
cmp eax, 0xea
jne 0x44da79
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.00409336
mov eax, dword [ebp - 0x2c]
mov ecx, edi
sub eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push dword [edi + 4]
call fcn.004bad1a
cmp dword [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
jne 0x44da9e
mov byte [ebp - 4], 0
call fcn.00409384
jmp 0x44d987
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x23
push 0x80004004
push ecx
mov ecx, esp
push str.User_abort
call fcn.00406fea
mov ecx, esi
call fcn.00406620
lea ecx, [ebp - 0x30]
call fcn.00409384
jmp 0x44dab2
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2f
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
jmp 0x44da68
call fcn.00409384
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
cmp dword [ebp + 8], 0
je 0x44dac1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.004d8a8d
ret
Function at 0x44dac9
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x518e98
call fcn.004d8abf
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
push 1
xor ebx, ebx
lea ecx, [ebp - 0x10]
push 1
mov dword [ebp - 0x14], ebx
call fcn.004d5dc9
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
jne 0x44db8b
mov ecx, 0x53d80c
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44dc0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44dbe2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push 0
push eax
xor eax, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
setne al
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x44dbc5
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x56
push 0x80004004
push ecx
mov ecx, esp
push str.User_abort
call fcn.00406fea
mov ecx, edi
call fcn.00406620
jmp 0x44dc43
cmp eax, 0xffff
jbe 0x44db13
push 0x4b
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x44dc43
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x44dc0a
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x5d
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
jmp 0x44db7f
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cmp dword [ebp - 0x14], eax
je 0x44dc34
push 0x60
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28]
call fcn.00406620
mov byte [ebp - 4], 2
jmp 0x44dbad
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
cmp dword [ebp - 0x10], 0
je 0x44dc52
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004d8a8d
ret