Function at 0x5544b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x66c240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, 0x5ce238
push 0x236
mov ecx, esi
call fcn.004bcffa
test eax, eax
je 0x55450a
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0xe4], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0xe0], ecx
xor ecx, ecx
cmp dword [eax + 0xe], ecx
setne cl
mov dword [ebp - 0xdc], ecx
push 0x704
mov ecx, esi
call fcn.004bcffa
test eax, eax
je 0x554544
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0xd4], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0xd0], ecx
xor ecx, ecx
cmp dword [eax + 0xe], ecx
setne cl
mov dword [ebp - 0xcc], ecx
push 0x6fa
mov ecx, esi
call fcn.004bcffa
mov esi, eax
test esi, esi
je 0x554590
cvttss2si ecx, dword [esi + 0x904]
mov dword [ebp - 0xc4], ecx
cvttss2si ecx, dword [esi + 0x908]
mov dword [ebp - 0xc0], ecx
mov ecx, esi
call fcn.004f5b7d
test eax, eax
je 0x554587
xor eax, eax
cmp dword [esi + 0xe], eax
setne al
jmp 0x55458a
mov eax, dword [edi + 0x1d]
mov dword [ebp - 0xbc], eax
mov edi, 0x5ce238
push 0x22e
mov ecx, edi
call fcn.004bcffa
mov edx, eax
xor esi, esi
test edx, edx
je 0x554602
cvttss2si ecx, dword [edx + 0x904]
mov dword [ebp - 0xb4], ecx
cvttss2si eax, dword [edx + 0x908]
mov dword [ebp - 0xb0], eax
xor eax, eax
cmp dword [edx + 0xe], esi
setne al
mov dword [ebp - 0xac], eax
movzx ecx, word [edx + 0x968]
xor edx, edx
inc edx
cmp cx, dx
jne 0x5545e7
or eax, 4
jmp 0x5545fc
push 2
pop edx
cmp cx, dx
jne 0x5545f4
or eax, 8
jmp 0x5545fc
cmp ecx, 3
jne 0x554602
or eax, 0x10
mov dword [ebp - 0xac], eax
push 0xe7
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x55464f
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0xa4], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0xa0], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x9c], ecx
cmp dword [eax + 0xafe], esi
je 0x55464f
push 2
pop eax
or ecx, eax
mov dword [ebp - 0x9c], ecx
push 0x155
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x5546c1
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x94], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x90], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 0x23448]
cmp edx, 1
jne 0x554699
or ecx, 4
jmp 0x5546ab
cmp edx, 2
jne 0x5546a3
or ecx, 8
jmp 0x5546ab
cmp edx, 4
jne 0x5546b1
or ecx, 0x10
mov dword [ebp - 0x8c], ecx
mov ecx, eax
call fcn.0045cfce
movzx eax, al
mov dword [ebp - 0x88], eax
push 0x877
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x5546f9
cmp dword [eax + 0xe], esi
je 0x5546e2
or dword [ebp - 0x8c], 0x100
jmp 0x5546f9
mov eax, dword [ebp - 0x8c]
mov ecx, 0x100
test ecx, eax
je 0x5546f9
xor eax, ecx
mov dword [ebp - 0x8c], eax
push 0xed
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x55474f
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x84], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x80], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x7c], ecx
mov al, byte [eax + 0x95b]
cmp al, 1
jne 0x55473c
or ecx, 4
jmp 0x55474c
cmp al, 2
jne 0x554745
or ecx, 8
jmp 0x55474c
cmp al, 3
jne 0x55474f
or ecx, 0x10
mov dword [ebp - 0x7c], ecx
push 0x5f
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x55477d
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x74], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x70], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x6c], ecx
push 0xc1
mov ecx, edi
call fcn.004bcffa
mov edx, eax
test edx, edx
je 0x5547f8
cvttss2si ecx, dword [edx + 0x904]
mov dword [ebp - 0x64], ecx
cvttss2si ecx, dword [edx + 0x908]
mov dword [ebp - 0x60], ecx
xor ecx, ecx
cmp dword [edx + 0xe], esi
setne cl
mov dword [ebp - 0x5c], ecx
cmp byte [edx + 0x95b], 1
jne 0x5547e9
mov eax, dword [0x6a44bc]
or ecx, 4
mov dword [ebp - 0x5c], ecx
mov al, byte [eax + 0x95b]
cmp al, 1
jne 0x5547d3
or ecx, 0x20
jmp 0x5547e6
cmp al, 2
jne 0x5547dc
or ecx, 0x40
jmp 0x5547e6
cmp al, 3
jne 0x5547e9
or ecx, 0x80
mov dword [ebp - 0x5c], ecx
mov eax, dword [edx + 0x964]
mov eax, dword [eax + 0x9e6]
mov dword [ebp - 0x58], eax
push 0x5aa
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x554856
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x54], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x50], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x4c], ecx
cmp byte [eax + 0x95b], 1
jne 0x554838
or ecx, 4
mov dword [ebp - 0x4c], ecx
cmp byte [eax + 0x95b], 2
jne 0x554847
or ecx, 8
mov dword [ebp - 0x4c], ecx
cmp byte [eax + 0x95b], 3
jne 0x554856
or ecx, 0x10
mov dword [ebp - 0x4c], ecx
push 0x7a2
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x554887
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x44], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x40], ecx
xor ecx, ecx
cmp dword [eax + 0xe], esi
setne cl
mov dword [ebp - 0x3c], ecx
push 0x734
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x5548c2
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x34], ecx
cvttss2si ecx, dword [eax + 0x908]
mov dword [ebp - 0x30], ecx
cmp dword [eax + 0xe], esi
je 0x5548bf
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov dword [0x6a5958], eax
jmp 0x5548c2
mov dword [ebp - 0x2c], esi
push 0x267
mov ecx, edi
call fcn.004bcffa
test eax, eax
je 0x554904
cvttss2si ecx, dword [eax + 0x904]
mov dword [ebp - 0x24], ecx
cvttss2si eax, dword [eax + 0x908]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [0x6a4588], eax
setne al
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [0x6a4584], eax
setne al
mov dword [ebp - 0x18], eax
mov ecx, dword [0x6b230c]
test ecx, ecx
je 0x55492c
cvttss2si eax, dword [ecx + 0x904]
mov dword [ebp - 0x14], eax
cvttss2si eax, dword [ecx + 0x908]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6b2308]
mov dword [ebp - 8], eax
push esi
push 0x80
push 2
pop eax
push eax
push esi
push esi
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x55498e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xe8]
push eax
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0x6111101
push eax
push edi
call esi
push 0
lea eax, [ebp - 0xe8]
push eax
push 0xe0
lea eax, [ebp - 0xe4]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055dcf4
mov esp, ebp
pop ebp
ret 4