Function at 0x43b041
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4654
call fcn.004e5a80
mov eax, dword [0x5ff740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
push esi
push edi
mov dword [ebp - 0x464c], ebx
mov dword [ebp - 0x4654], eax
je 0x43b079
mov edi, dword [ebx]
call fcn.0043a905
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
or dword [ebx + 4], 0xffffffff
cmp edi, dword [esi + 4]
jl 0x43b091
mov eax, 0x10000
jmp 0x43b2e7
cmp edi, dword [esi + 0x10]
jge 0x43b0a4
call fcn.0043a37b
jmp 0x43b0a4
mov esi, dword [ebx]
call fcn.0043a3b0
mov eax, dword [ebx]
cmp dword [eax + 0x10], edi
jl 0x43b09d
mov esi, dword [ebp - 0x464c]
push edi
lea ebx, [ebp - 0x4648]
mov ecx, esi
call fcn.0043aae9
test byte [ebp - 0x443c], 0x10
je 0x43b0e4
lea eax, [ebp - 0x4644]
push eax
add esi, 0x240
push esi
call fcn.0043af5a
pop ecx
pop ecx
xor eax, eax
jmp 0x43b2e7
lea eax, [esi + 0x240]
lea edx, [ebp - 0x210]
mov dword [ebp - 0x4650], eax
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x43b0f8
mov eax, dword [ebp - 0x4654]
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x43b10e
sub eax, edx
lea edi, [ebp - 0x210]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x43b122
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
lea eax, [ebp - 0x210]
mov ecx, eax
cmp word [ebp - 0x210], di
je 0x43b227
movzx edx, word [ebp - 0x210]
cmp dx, 0x2f
je 0x43b167
cmp dx, 0x5c
jne 0x43b16a
lea eax, [ecx + 2]
inc ecx
inc ecx
movzx edx, word [ecx]
cmp dx, di
jne 0x43b15b
lea ecx, [ebp - 0x210]
cmp eax, ecx
je 0x43b227
xor ecx, ecx
movzx edx, word [ebp + ecx - 0x210]
mov word [ebp + ecx - 0x418], dx
inc ecx
inc ecx
cmp dx, di
jne 0x43b184
lea ecx, [ebp - 0x210]
sub eax, ecx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x41a], cx
cmp word [ebp - 0x418], di
je 0x43b1da
cmp word [ebp - 0x418], 0x2f
je 0x43b1da
cmp word [ebp - 0x418], 0x5c
je 0x43b1da
cmp word [ebp - 0x416], 0x3a
je 0x43b1da
xor bl, bl
jmp 0x43b1dc
mov bl, 1
lea eax, [ebp - 0x418]
push 0x5bcbf8
push eax
call fcn.004df1cc
mov esi, eax
lea eax, [ebp - 0x418]
push 0x5bcc00
push eax
call fcn.004df1cc
add esp, 0x10
test eax, eax
setne al
cmp esi, edi
setne cl
or al, cl
or al, bl
jne 0x43b227
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x4650]
call fcn.0043af5a
pop ecx
pop ecx
push edi
push dword [ebp - 0x443c]
lea eax, [ebp - 0x210]
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43b255
mov eax, 0x200
jmp 0x43b2e7
mov esi, dword [ebp - 0x464c]
push dword [esi + 0x23c]
mov ebx, dword [esi]
call fcn.0043a5c4
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x4418]
push eax
mov eax, dword [esi]
mov ecx, 0x4000
call fcn.0043a719
pop ecx
cmp eax, 0xffffff96
je 0x43b2ad
test eax, eax
jl 0x43b2b4
je 0x43b2bb
push 0
lea ecx, [ebp - 0x4650]
push ecx
push eax
lea eax, [ebp - 0x4418]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43b26b
mov ebx, 0x400
jmp 0x43b2d7
mov ebx, 0x1000
jmp 0x43b2d7
mov ebx, 0x5000000
jmp 0x43b2d7
lea eax, [ebp - 0x4428]
push eax
lea eax, [ebp - 0x4438]
push eax
lea eax, [ebp - 0x4430]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi]
call fcn.0043a905
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004de422
leave
ret 8