Function at 0x43d0d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
test eax, eax
je 0x43d125
cmp dword [eax], 1
je 0x43d0fe
mov eax, 0x80000
jmp 0x43d3f9
mov esi, dword [eax + 4]
cmp dword [esi + 4], 0xffffffff
mov dword [ebp - 0x64c], esi
je 0x43d114
mov edi, dword [esi]
call fcn.0043bb30
mov edi, dword [ebp + 0xc]
mov dword [esi + 4], 0xffffffff
mov esi, dword [esi]
cmp edi, dword [esi + 4]
jl 0x43d12f
mov eax, 0x10000
jmp 0x43d3f9
cmp edi, dword [esi + 0x10]
jge 0x43d139
call fcn.0043b1d0
mov esi, dword [ebp - 0x64c]
mov eax, dword [esi]
cmp dword [eax + 0x10], edi
jge 0x43d19b
mov esi, dword [esi]
test esi, esi
je 0x43d18c
cmp dword [esi + 0x18], 0
je 0x43d18c
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 4]
je 0x43d18c
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.0043adb0
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0x64c]
mov edx, dword [ecx]
mov esi, ecx
cmp dword [edx + 0x10], edi
jl 0x43d146
push edi
lea edx, [ebp - 0x648]
mov ecx, esi
call fcn.0043be10
mov eax, dword [ebp - 0x43c]
shr eax, 4
test al, 1
movzx eax, word [ebx]
je 0x43d1f8
cmp eax, 0x2f
je 0x43d1cf
cmp eax, 0x5c
je 0x43d1cf
test ax, ax
je 0x43d1e1
cmp word [ebx + 2], 0x3a
jne 0x43d1e1
push ebx
push 0
call fcn.0043c5a0
add esp, 8
xor eax, eax
jmp 0x43d3f9
push ebx
add esi, 0x244
push esi
call fcn.0043c5a0
add esp, 8
xor eax, eax
jmp 0x43d3f9
xor ecx, ecx
mov word [ebp - 0x418], cx
mov esi, ebx
mov ecx, ebx
test ax, ax
je 0x43d22b
lea ebx, [ebx]
cmp ax, 0x2f
je 0x43d21c
cmp ax, 0x5c
jne 0x43d21f
lea esi, [ecx + 2]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x43d210
push 0x104
lea edx, [ebp - 0x210]
push ebx
push edx
call fcn.004b917d
add esp, 0xc
cmp esi, ebx
jne 0x43d2b4
xor eax, eax
mov word [ebp - 0x210], ax
mov edi, dword [ebp - 0x64c]
push esi
lea edx, [ebp - 0x210]
push edx
lea ebx, [edi + 0x244]
push ebx
push str._s_s_s
lea edx, [ebp - 0x418]
call fcn.0043d510
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.0043c5a0
add esp, 0x18
mov ecx, dword [ebp - 0x43c]
push 0
push ecx
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d325
mov eax, 0x200
jmp 0x43d3f9
mov ecx, esi
sub ecx, ebx
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x210], dx
mov ax, word [ebp - 0x210]
cmp ax, 0x2f
je 0x43d2ee
cmp ax, 0x5c
je 0x43d2ee
test ax, ax
je 0x43d24d
cmp word [ebp - 0x20e], 0x3a
jne 0x43d24d
push esi
lea eax, [ebp - 0x210]
push eax
push 0x50b49c
lea edx, [ebp - 0x418]
call fcn.0043d510
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0
call fcn.0043c5a0
mov edi, dword [ebp - 0x64c]
add esp, 8
jmp 0x43d282
mov eax, dword [edi + 0x23c]
mov ebx, dword [edi]
push eax
call fcn.0043b680
mov ebx, dword [ebp - 0x64c]
add esp, 4
cmp dword [ebx + 0x240], 0
jne 0x43d358
push 0x4000
call fcn.0046fc33
add esp, 4
mov dword [ebx + 0x240], eax
mov dword [ebp - 0x64c], 0
mov edx, dword [ebx + 0x240]
mov eax, dword [ebx]
lea ecx, [ebp - 0x64d]
push ecx
push edx
mov ecx, 0x4000
call fcn.0043b7f0
mov edi, eax
add esp, 8
cmp edi, 0xffffff96
je 0x43d40f
test edi, edi
js 0x43d3b9
jle 0x43d3ac
mov ecx, dword [ebx + 0x240]
push 0
lea eax, [ebp - 0x654]
push eax
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43d41b
cmp byte [ebp - 0x64d], 0
jne 0x43d3c3
test edi, edi
jne 0x43d362
mov dword [ebp - 0x64c], 0x5000000
mov edi, dword [ebx]
call fcn.0043bb30
mov edi, dword [ebp - 0x64c]
test edi, edi
jne 0x43d3f0
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x430]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x547dec], eax
pop ebx
call fcn.004b6111
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x64c], 0x1000
jmp 0x43d3c3
mov dword [ebp - 0x64c], 0x400
jmp 0x43d3c3