Function at 0x42b7f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3f53
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp byte [ebx + 4], 0
mov dword [esp + 0x18], 0
jne 0x42b9c5
lea esi, [esp + 0x9c]
call fcn.004263d0
mov dword [esp + 0xc8], 0
cmp byte [ebx + 0x24], 0
jne 0x42b8ee
cmp dword [esp + 0xb4], 0x10
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
mov esi, edx
jae 0x42b889
lea ecx, [esp + 0xa0]
test ecx, ecx
mov eax, dword [ebx]
je 0x42b8b4
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42b8b4
push 0
lea edi, [esp + 0x1c]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42b8b4
cmp esi, dword [esp + 0x18]
je 0x42b997
push 0x4d07c0
lea ecx, [esp + 0x84]
call fcn.00402290
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xd0], 1
call fcn.00427c70
push 0x4e0d84
lea edx, [esp + 0x34]
push edx
call fcn.004ae5f3
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edi, dword [edi + 0x14]
lea edx, [edi + eax]
cmp edx, ecx
mov dword [esp + 0x1c], eax
jb 0x42b94d
add edi, eax
test edi, edi
mov dword [esp + 0x24], edi
fild dword [esp + 0x24]
jge 0x42b919
fadd qword [0x4da8d8]
fmul qword [0x4da8d0]
mov esi, dword [ebx + 0x28]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov edi, dword [esp + 0x24]
fldcw word [esp + 0x16]
call fcn.00401c50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb0]
mov esi, dword [ebx + 0x28]
mov edx, dword [esi + 4]
add ecx, eax
cmp ecx, edx
jbe 0x42b962
mov ecx, edx
mov dword [esi + 0xc], ecx
cmp dword [esp + 0xb4], 0x10
mov edx, dword [esp + 0xa0]
jae 0x42b97d
lea edx, [esp + 0xa0]
mov ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0xb0]
mov ecx, dword [ecx + 8]
push esi
push edx
add ecx, eax
push ecx
call fcn.004af7b0
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0xb4], 0x10
jb 0x42bb5b
mov edx, dword [esp + 0xa0]
push edx
call fcn.004abbe4
add esp, 4
jmp 0x42bb5b
push edi
lea esi, [esp + 0x84]
call fcn.00426380
add esp, 4
mov dword [esp + 0xc8], 2
cmp byte [ebx + 0x24], 0
jne 0x42ba6e
mov eax, dword [esp + 0x84]
mov edi, 8
cmp dword [esp + 0x98], edi
jae 0x42ba06
lea eax, [esp + 0x84]
mov esi, dword [esp + 0x94]
mov ecx, dword [ebx]
add esi, esi
test eax, eax
je 0x42ba3a
mov ecx, dword [ecx]
cmp ecx, 0xffffffff
je 0x42ba3a
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42ba3a
cmp esi, dword [esp + 0x18]
je 0x42bb1b
push 0x4d07c0
lea ecx, [esp + 0x34]
call fcn.00402290
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xd0], 3
call fcn.00427c70
push 0x4e0d84
lea edx, [esp + 0x5c]
push edx
call fcn.004ae5f3
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edi, dword [edi + 0x14]
lea edx, [edi + eax]
cmp edx, ecx
mov dword [esp + 0x24], eax
jb 0x42bacd
add edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
jge 0x42ba99
fadd qword [0x4da8d8]
fmul qword [0x4da8d0]
mov esi, dword [ebx + 0x28]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
fldcw word [esp + 0x16]
call fcn.00401c50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
mov esi, dword [ebx + 0x28]
mov edx, dword [esi + 4]
add ecx, eax
cmp ecx, edx
jbe 0x42bae2
mov ecx, edx
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x84]
mov edi, 8
cmp dword [esp + 0x98], edi
jae 0x42bb01
lea edx, [esp + 0x84]
mov ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0x94]
mov ecx, dword [ecx + 8]
push esi
push edx
add ecx, eax
push ecx
call fcn.004af7b0
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x98], edi
jb 0x42bb3f
mov edx, dword [esp + 0x84]
push edx
call fcn.004abbe4
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], eax
mov word [esp + 0x84], ax
cmp byte [ebp + 0xc], 0
je 0x42bb74
cmp byte [ebx + 0x24], 0
jne 0x42bb74
push 0
lea eax, [ebx + 8]
push eax
mov ecx, ebx
call fcn.0042b7f0
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004abc64
mov esp, ebp
pop ebp
ret 8