Function at 0x44cb20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520660
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.0044ca40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
push ebx
push 0x80
push 2
push ebx
push 3
push 0x10000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44cbd0
call fcn.0040b2d0
cmp eax, ebx
jge 0x44cbd3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44cbb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x34], vtable.rw_read_locker.0
mov dword [ebp - 0x30], ecx
cmp ecx, ebx
je 0x44cbea
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cc07
push ebx
push 0x530e54
push 0x530e54
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x90]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
cmp eax, ebx
jg 0x44cca7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], vtable.rw_read_locker.0
cmp ecx, ebx
je 0x44cc3a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44cc57
push ebx
push 0x530e54
push 0x530e54
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cc7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x44cc92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
cmp edi, ebx
jl 0x44ce9d
cmp edi, dword [esi + 0x90]
jge 0x44ce9d
mov ecx, dword [esi + 0x8c]
mov edx, dword [0x587944]
mov esi, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
mov eax, dword [esi + 8]
push eax
lea ecx, [ebp - 0x10]
push 0x5361d4
push ecx
call fcn.00409270
add esp, 0xc
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 9
lea edx, [ebp - 0x40]
push edx
lea ecx, [esi + 0x4d4]
call fcn.004364b0
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x44cd61
xor edi, edi
jmp 0x44cd24
mov eax, dword [ebp - 0x3c]
test esi, esi
js 0x44cdd5
cmp esi, eax
jge 0x44cdd5
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + eax + 4]
xor ecx, ecx
cmp byte [edi + eax], cl
lea eax, [ebp - 0x10]
setne cl
push ecx
push edx
push str._d__d_
push eax
call fcn.00445f60
inc esi
add esp, 0x10
add edi, 0xc
cmp esi, ebx
jl 0x44cd21
mov edi, dword [ebp - 0x18]
push 2
push 0x5361c8
lea ecx, [ebp - 0x10]
call fcn.004456d0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
mov ebx, dword [ebp - 0x2c]
push 0
lea ecx, [ebp - 0x24]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44cd95
call fcn.0040b2d0
test eax, eax
js 0x44cde6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00445f80
mov byte [ebp - 4], 6
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44cdc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
xor ebx, ebx
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x20]
jl 0x44cca4
jmp 0x44cc21
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00445f80
mov byte [ebp - 4], 6
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce12
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], vtable.rw_read_locker.0
test ecx, ecx
je 0x44ce2b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ce4b
push 0
push 0x530e54
push 0x530e54
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x44cc92
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]