Function at 0x4e5680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push 0x1d2
mov ecx, 0x6b0010
mov dword [ebp - 0xf4], eax
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e56e5
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0xe4], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor ecx, ecx
mov dword [ebp - 0xe0], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [ebp - 0xdc], ecx
push 0x4cf
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e572a
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0xd4], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor edx, edx
mov dword [ebp - 0xd0], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [ebp - 0xcc], edx
push 0x4c6
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5785
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0xc4], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov ecx, esi
mov dword [ebp - 0xc0], eax
call fcn.00453980
test eax, eax
je 0x4e577c
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [ebp - 0xbc], eax
jmp 0x4e5785
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xbc], ecx
push ebx
push 0x1ca
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
mov edi, 8
lea ebx, [edi - 7]
test esi, esi
je 0x4e5801
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0xb4], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor edx, edx
mov dword [ebp - 0xb0], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [ebp - 0xac], edx
movzx eax, word [esi + 0x228]
cmp ax, bx
jne 0x4e57e8
or dword [ebp - 0xac], 4
jmp 0x4e5801
cmp eax, 2
jne 0x4e57f5
or dword [ebp - 0xac], edi
jmp 0x4e5801
cmp eax, 3
jne 0x4e5801
or dword [ebp - 0xac], 0x10
push 0xf0
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5856
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0xa4], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov dword [ebp - 0xa0], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [ebp - 0x9c], eax
cmp dword [esi + 0x2c0], 0
je 0x4e5856
or dword [ebp - 0x9c], 2
push 0x127
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e58d7
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x94], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor ecx, ecx
mov dword [ebp - 0x90], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [ebp - 0x8c], ecx
mov eax, dword [esi + 0x9708]
cmp eax, ebx
jne 0x4e58ae
or dword [ebp - 0x8c], 4
jmp 0x4e58c7
cmp eax, 2
jne 0x4e58bb
or dword [ebp - 0x8c], edi
jmp 0x4e58c7
cmp eax, 4
jne 0x4e58c7
or dword [ebp - 0x8c], 0x10
mov ecx, esi
call fcn.004bd730
movzx edx, al
mov dword [ebp - 0x88], edx
push 0x613
mov ecx, 0x6b0010
call fcn.00436440
test eax, eax
je 0x4e590f
cmp dword [eax + 0x10], 0
je 0x4e58fc
or dword [ebp - 0x8c], 0x100
jmp 0x4e590f
mov eax, 0x100
test dword [ebp - 0x8c], eax
je 0x4e590f
xor dword [ebp - 0x8c], eax
push 0xf6
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e596f
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x84], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov dword [ebp - 0x80], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [ebp - 0x7c], eax
mov al, byte [esi + 0x21b]
cmp al, bl
jne 0x4e595e
or dword [ebp - 0x7c], 4
jmp 0x4e596f
cmp al, 2
jne 0x4e5967
or dword [ebp - 0x7c], edi
jmp 0x4e596f
cmp al, 3
jne 0x4e596f
or dword [ebp - 0x7c], 0x10
push 0x60
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e59a8
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x74], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor ecx, ecx
mov dword [ebp - 0x70], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [ebp - 0x6c], ecx
push 0xca
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5a29
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x64], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor edx, edx
mov dword [ebp - 0x60], eax
cmp dword [esi + 0x10], edx
setne dl
mov dword [ebp - 0x5c], edx
cmp byte [esi + 0x21b], bl
jne 0x4e5a1a
or dword [ebp - 0x5c], 4
mov eax, dword [0x6a2a4c]
mov al, byte [eax + 0x21b]
cmp al, bl
jne 0x4e5a05
or dword [ebp - 0x5c], 0x20
jmp 0x4e5a1a
cmp al, 2
jne 0x4e5a0f
or dword [ebp - 0x5c], 0x40
jmp 0x4e5a1a
cmp al, 3
jne 0x4e5a1a
or dword [ebp - 0x5c], 0x80
mov ecx, dword [esi + 0x224]
mov edx, dword [ecx + 0x2a8]
mov dword [ebp - 0x58], edx
push 0x336
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5a8a
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x54], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov dword [ebp - 0x50], eax
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
mov dword [ebp - 0x4c], eax
cmp byte [esi + 0x21b], bl
jne 0x4e5a71
or dword [ebp - 0x4c], 4
cmp byte [esi + 0x21b], 2
jne 0x4e5a7d
or dword [ebp - 0x4c], edi
cmp byte [esi + 0x21b], 3
jne 0x4e5a8a
or dword [ebp - 0x4c], 0x10
push 0x553
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5ac6
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x44], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor ecx, ecx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x10], ecx
setne cl
mov dword [ebp - 0x3c], ecx
push 0x4ec
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
test esi, esi
je 0x4e5b0f
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x34], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x10], 0
je 0x4e5b08
mov dword [ebp - 0x2c], ebx
mov dword [0x6bc730], ebx
jmp 0x4e5b0f
mov dword [ebp - 0x2c], 0
push 0x203
mov ecx, 0x6b0010
call fcn.00436440
mov esi, eax
pop ebx
test esi, esi
je 0x4e5b5d
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x24], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
xor edx, edx
cmp dword [0x6a2b14], edx
mov dword [ebp - 0x20], eax
setne dl
xor eax, eax
cmp dword [0x6a2b10], eax
setne al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov esi, dword [0x6bd0f4]
test esi, esi
je 0x4e5b8c
fld dword [esi + 0x1c4]
call fcn.00564f90
mov dword [ebp - 0x14], eax
fld dword [esi + 0x1c8]
call fcn.00564f90
mov ecx, dword [0x6bd0f0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xf4]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5c16
mov eax, dword [0x6dc81c]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0xe8]
push ecx
push 4
lea edx, [ebp - 0xec]
push edx
push esi
mov dword [ebp - 0xec], 0x6111101
mov dword [ebp - 0xf0], eax
call edi
push 0
lea eax, [ebp - 0xe8]
push eax
push 4
lea ecx, [ebp - 0xf0]
push ecx
push esi
call edi
push 0
lea edx, [ebp - 0xe8]
push edx
push 0xe0
lea eax, [ebp - 0xe4]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4