Function at 0x450ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xa8
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x80], edx
mov edx, dword [0x4de47c]
mov edx, dword [edx]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov edx, ecx
mov dword [ebp - 0x7c], edx
mov edx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0xaa
mov dword [esp + 8], 4
call fcn.004a6a40
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 0x4d430001
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x50]
xor edx, edx
rol edi, 3
rol edi, 0xd
rol edi, 0x3d
rol edi, 0x33
xchg ebx, ebx
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0xaa
mov dword [esp + 8], 0x14
call fcn.004a6a40
lea eax, [ebp - 0x38]
mov dword [ebp - 0x50], 0x4d430001
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x14
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x50]
xor edx, edx
rol edi, 3
rol edi, 0xd
rol edi, 0x3d
rol edi, 0x33
xchg ebx, ebx
mov eax, dword [ebp - 0x74]
cmp byte [eax + 8], 0
jne 0x45111e
jmp 0x451152
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x24]
call fcn.0045d960
cmp byte [ebp - 0x20], 0
jne 0x451199
jmp 0x4511a4
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x94], eax
jmp 0x4510f5
xor eax, eax
mov dword [ebp - 0x94], eax
jmp 0x4510f5
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x54]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
cmp eax, 0
je 0x4511f5
jmp 0x4512b4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x98], eax
jmp 0x45115c
mov eax, 0xffffffff
mov dword [ebp - 0x98], eax
jmp 0x45115c
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x54]
mov word [ebp - 0x10], 0
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x4511e5
call fcn.004a85b0
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov cx, ax
mov word [ebp - 0x9a], cx
sub ax, 6
je 0x4514a2
jmp 0x451210
mov ax, word [ebp - 0x9a]
sub ax, 8
je 0x451360
jmp 0x451223
mov ax, word [ebp - 0x9a]
sub ax, 0x21
je 0x4514ea
jmp 0x451236
mov ax, word [ebp - 0x9a]
sub ax, 0x40
je 0x451532
jmp 0x451249
mov ax, word [ebp - 0x9a]
sub ax, 0x6d
je 0x45145a
jmp 0x45125c
mov ax, word [ebp - 0x9a]
movzx eax, ax
sub eax, 0x3e3
je 0x4513a8
jmp 0x451273
mov ax, word [ebp - 0x9a]
movzx eax, ax
sub eax, 0x3e5
je 0x451438
jmp 0x45128a
mov ax, word [ebp - 0x9a]
movzx eax, ax
sub eax, 0x6f8
je 0x451318
jmp 0x45129d
mov ax, word [ebp - 0x9a]
movzx eax, ax
sub eax, 0x718
je 0x4513f0
jmp 0x4512b9
jmp 0x4511b1
mov ecx, dword [ebp - 0x8c]
mov ax, word [ebp - 0x9a]
mov word [ebp - 0x56], ax
movzx edx, ax
call fcn.00408360
mov ecx, dword [ebp - 0x8c]
mov word [ebp - 0x18], ax
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451308
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac630]
mov dword [eax], ecx
mov ecx, dword [0x4ac634]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451350
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac630]
mov dword [eax], ecx
mov ecx, dword [0x4ac634]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451398
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac638]
mov dword [eax], ecx
mov ecx, dword [0x4ac63c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x4513e0
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac630]
mov dword [eax], ecx
mov ecx, dword [0x4ac634]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451428
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, str.reached_unreachable_code
mov edx, 0x18
xor eax, eax
lea eax, [0x4ac640]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401e40
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac648]
mov dword [eax], ecx
mov ecx, dword [0x4ac64c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451492
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac650]
mov dword [eax], ecx
mov ecx, dword [0x4ac654]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x4514da
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac658]
mov dword [eax], ecx
mov ecx, dword [0x4ac65c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x451522
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
call fcn.00401c30
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4ac660]
mov dword [eax], ecx
mov ecx, dword [0x4ac664]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x4511e0
jmp 0x45156a
mov eax, dword [ebp - 0x84]
add esp, 0xa8
pop esi
pop edi
pop ebp
ret