Function at 0x44cd30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520490
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.0044cc50
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 0x44cde0
call fcn.0040b2f0
cmp eax, ebx
jge 0x44cde3
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 0x44cdc7
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 0x44cdfa
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ce17
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 0x44ceb7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], vtable.rw_read_locker.0
cmp ecx, ebx
je 0x44ce4a
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ce67
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 0x44ce8a
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 0x44cea2
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 0x44d0ad
cmp edi, dword [esi + 0x90]
jge 0x44d0ad
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 0x536204
push ecx
call fcn.004092c0
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.00436430
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x44cf71
xor edi, edi
jmp 0x44cf34
mov eax, dword [ebp - 0x3c]
test esi, esi
js 0x44cfe5
cmp esi, eax
jge 0x44cfe5
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.00446060
inc esi
add esp, 0x10
add edi, 0xc
cmp esi, ebx
jl 0x44cf31
mov edi, dword [ebp - 0x18]
push 2
push 0x5361f8
lea ecx, [ebp - 0x10]
call fcn.004457d0
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 0x44cfa5
call fcn.0040b2f0
test eax, eax
js 0x44cff6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00446080
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 0x44cfd1
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 0x44ceb4
jmp 0x44ce31
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.00446080
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 0x44d022
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 0x44d03b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44d05b
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 0x44d07e
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 0x44cea2
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]