Function at 0x414e80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x43d2ac]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
push ebx
xor ebx, ebx
push ebp
or ebp, 0xffffffff
cmp ecx, ebx
lea edx, [esp + 0x1c]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
je 0x415189
cmp eax, ebx
je 0x415189
push esi
push 0x74
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x415017
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x44], ebx
mov dword [esi], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebp
call fcn.00416e50
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414f20
sub eax, edx
add eax, 1
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x415012
mov ecx, dword [esp + 0x1c]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x414f50
mov byte [esi + 0x5c], bl
mov cl, 0x72
cmp byte [edi], cl
jne 0x414f6a
mov byte [esi + 0x5c], cl
mov al, byte [edi]
cmp al, 0x77
je 0x414f74
cmp al, 0x61
jne 0x414f78
mov byte [esi + 0x5c], 0x77
mov al, byte [edi]
cmp al, 0x30
jl 0x414f8a
cmp al, 0x39
jg 0x414f8a
movsx ebp, al
sub ebp, 0x30
jmp 0x414fbf
cmp al, 0x66
jne 0x414f98
mov dword [esp + 0x18], 1
jmp 0x414fbf
cmp al, 0x68
jne 0x414fa6
mov dword [esp + 0x18], 2
jmp 0x414fbf
cmp al, 0x52
jne 0x414fb4
mov dword [esp + 0x18], 3
jmp 0x414fbf
mov edx, dword [esp + 0x20]
add edx, 1
mov dword [esp + 0x20], edx
add edi, 1
cmp al, bl
je 0x414fd0
lea eax, [esp + 0x74]
cmp dword [esp + 0x20], eax
jne 0x414f63
mov al, byte [esi + 0x5c]
cmp al, bl
je 0x415012
cmp al, 0x77
jne 0x41502c
mov ecx, dword [esp + 0x18]
push 0x38
push 0x42edc0
push ecx
push 8
push 0xfffffffffffffff1
push 8
push ebp
push esi
call fcn.00416810
push 0x4000
mov edi, eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 0x24
cmp edi, ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
jne 0x415012
cmp eax, ebx
jne 0x415057
call fcn.00414ba0
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00418c9a
add esp, 0x68
ret
push 0x4000
call dword [sym.imp.MSVCR80.dll_malloc]
push 0x38
push 0x42edc0
push 0xfffffffffffffff1
push esi
mov dword [esi + 0x44], eax
mov dword [esi], eax
call fcn.00416a90
add esp, 0x14
test eax, eax
jne 0x415012
cmp dword [esi + 0x44], ebx
je 0x415012
mov dword [esi + 0x10], 0x4000
call dword [sym.imp.MSVCR80.dll__errno]
mov edx, dword [esp + 0x1c]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push edx
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x415012
cmp byte [esi + 0x5c], 0x77
jne 0x415174
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
mov byte [esp + 0x1f], 0x1f
mov edx, dword [esi + 0x40]
push ecx
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
mov byte [esp + 0x1f], 0x8b
mov edx, dword [esi + 0x40]
push ecx
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
mov byte [esp + 0x1f], 8
mov edx, dword [esi + 0x40]
push ecx
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
mov byte [esp + 0x1f], bl
mov edx, dword [esi + 0x40]
push ecx
push edx
call edi
mov edx, dword [esi + 0x40]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push edx
call edi
mov edx, dword [esi + 0x40]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push edx
call edi
mov edx, dword [esi + 0x40]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push edx
call edi
mov edx, dword [esi + 0x40]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x1f]
push ecx
push edx
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
mov byte [esp + 0x1f], 0xb
mov edx, dword [esi + 0x40]
push ecx
push edx
call edi
mov dword [esi + 0x60], 0xa
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00418c9a
add esp, 0x68
ret
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00418c9a
add esp, 0x68
ret