Function at 0x443da0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x4e7950]
xor eax, esp
mov dword [esp + 0x650], eax
push ebx
push esi
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
mov esi, edx
push edi
mov dword [esp + 0xc], esi
je 0x443dd2
mov edi, dword [ebx]
call fcn.00443400
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
mov dword [ebx + 4], 0xffffffff
cmp edi, dword [eax + 4]
jl 0x443dff
mov eax, 0x10000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.00480723
mov esp, ebp
pop ebp
ret 4
cmp edi, dword [eax + 0x10]
jge 0x443e0f
mov esi, eax
call fcn.00442ce0
mov esi, dword [esp + 0xc]
mov eax, dword [ebx]
cmp dword [eax + 0x10], edi
jge 0x443e67
mov esi, dword [ebx]
test esi, esi
je 0x443e5c
cmp dword [esi + 0x18], 0
je 0x443e5c
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 4]
je 0x443e5c
mov ecx, dword [esi + 0x50]
add ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push 0
lea ecx, [ecx + edx + 0x2e]
add dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
push 0
lea edx, [esi + 0x78]
push edx
lea eax, [esi + 0x28]
push eax
mov eax, esi
call fcn.00442890
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov ecx, dword [ebx]
cmp dword [ecx + 0x10], edi
jl 0x443e16
mov esi, dword [esp + 0xc]
push edi
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.00443680
test byte [esp + 0x224], 0x10
movzx eax, word [esi]
je 0x443ee5
cmp ax, 0x2f
je 0x443e98
cmp ax, 0x5c
je 0x443e98
test ax, ax
je 0x443ebc
cmp word [esi + 2], 0x3a
jne 0x443ebc
push esi
push 0
call fcn.00443c60
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.00480723
mov esp, ebp
pop ebp
ret 4
push esi
add ebx, 0x244
push ebx
call fcn.00443c60
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.00480723
mov esp, ebp
pop ebp
ret 4
mov edi, esi
mov ecx, esi
test ax, ax
je 0x443f0c
movzx eax, ax
cmp ax, 0x2f
je 0x443efd
cmp ax, 0x5c
jne 0x443f00
lea edi, [ecx + 2]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x443ef1
lea edx, [esp + 0x248]
mov eax, esi
sub edx, esi
jmp 0x443f20
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x443f20
cmp edi, esi
jne 0x443fc2
xor edx, edx
mov word [esp + 0x248], dx
push edi
lea edx, [esp + 0x24c]
push edx
lea esi, [ebx + 0x244]
push esi
lea eax, [esp + 0x45c]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x248]
push ecx
push esi
call fcn.00443c60
add esp, 8
mov edx, dword [esp + 0x224]
push 0
push edx
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x444031
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.00480723
mov esp, ebp
pop ebp
ret 4
mov eax, edi
sub eax, esi
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x248], cx
mov ax, word [esp + 0x248]
cmp ax, 0x2f
je 0x443ffe
cmp ax, 0x5c
je 0x443ffe
test ax, ax
je 0x443f41
cmp word [esp + 0x24a], 0x3a
jne 0x443f41
push edi
lea edx, [esp + 0x24c]
push edx
lea eax, [esp + 0x458]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x258]
push ecx
push 0
call fcn.00443c60
add esp, 0x18
jmp 0x443f78
mov ecx, dword [ebx + 0x23c]
mov eax, dword [ebx]
push ecx
call fcn.00443010
add esp, 4
cmp dword [ebx + 0x240], 0
jne 0x44405e
push 0x4000
call fcn.00461620
add esp, 4
mov dword [ebx + 0x240], eax
mov dword [esp + 0xc], 0
jmp 0x444070
mov eax, dword [ebx + 0x240]
lea edx, [esp + 0x13]
push edx
push eax
mov eax, dword [ebx]
mov ecx, 0x4000
call fcn.00443190
mov esi, eax
add esp, 8
cmp esi, 0xffffff96
je 0x4440c7
test esi, esi
jl 0x4440bd
jle 0x4440b2
mov edx, dword [ebx + 0x240]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4440d1
cmp byte [esp + 0x13], 0
jne 0x4440db
test esi, esi
jne 0x444070
mov dword [esp + 0xc], 0x5000000
jmp 0x4440fa
mov dword [esp + 0xc], 0x1000
jmp 0x4440fa
mov dword [esp + 0xc], 0x400
jmp 0x4440fa
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x238]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebx]
call fcn.00443400
mov ecx, dword [esp + 0x65c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00480723
mov esp, ebp
pop ebp
ret 4