Function at 0x5c8e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xca0
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
jne 0x5c8e5b
xor eax, eax
jmp 0x5c9943
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x5c8e8b
push str._buf___NULL_
push 0
push 0x6f
push str.write.c
push 2
call fcn.005c1750
add esp, 0x14
cmp eax, 1
jne 0x5c8e8b
int3
cmp dword [ebp - 0x20], 0
jne 0x5c8eca
call fcn.005c1400
mov dword [eax], 0
call fcn.005c13d0
mov dword [eax], 0x16
push 0
push 0x6f
push str.write.c
push str._write_nolock
push str._buf___NULL_
call fcn.005c0f40
add esp, 0x14
or eax, 0xffffffff
jmp 0x5c9943
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
mov al, byte [edx + ecx + 0x24]
shl al, 1
sar al, 1
mov byte [ebp - 5], al
movsx ecx, byte [ebp - 5]
cmp ecx, 2
je 0x5c8efd
movsx edx, byte [ebp - 5]
cmp edx, 1
jne 0x5c8f6c
mov eax, dword [ebp + 0x10]
and eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x24], eax
jne 0x5c8f2d
push str.__cnt__1___0_
push 0
push 0x77
push str.write.c
push 2
call fcn.005c1750
add esp, 0x14
cmp eax, 1
jne 0x5c8f2d
int3
cmp dword [ebp - 0x24], 0
jne 0x5c8f6c
call fcn.005c1400
mov dword [eax], 0
call fcn.005c13d0
mov dword [eax], 0x16
push 0
push 0x77
push str.write.c
push str._write_nolock
push str.__cnt__1___0_
call fcn.005c0f40
add esp, 0x14
or eax, 0xffffffff
jmp 0x5c9943
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
movsx edx, byte [ecx + eax + 4]
and edx, 0x20
je 0x5c8f9e
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005edd00
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.005edeb0
add esp, 4
test eax, eax
je 0x5c9012
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
movsx edx, byte [ecx + eax + 4]
and edx, 0x80
je 0x5c9012
call fcn.005c54f0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x6c]
xor edx, edx
cmp dword [ecx + 0x14], 0
sete dl
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x835e60]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5c93d9
cmp dword [ebp - 0x1c], 0
je 0x5c902e
movsx edx, byte [ebp - 5]
test edx, edx
je 0x5c93d9
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x5c93d4
movsx edx, byte [ebp - 5]
test edx, edx
jne 0x5c9207
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax]
xor edx, edx
cmp ecx, 0xa
sete dl
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
cmp dword [edx + ecx + 0x38], 0
je 0x5c9145
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
movsx eax, byte [edx + ecx + 0x34]
push eax
call fcn.005e71e0
add esp, 4
test eax, eax
jne 0x5c90e1
push str.isleadbyte__dbcsBuffer_fh__
push 0
push 0xb5
push str.write.c
push 2
call fcn.005c1750
add esp, 0x14
cmp eax, 1
jne 0x5c90e1
int3
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
mov dl, byte [ecx + eax + 0x34]
mov byte [ebp - 0x4c], dl
mov eax, dword [ebp - 0x30]
mov cl, byte [eax]
mov byte [ebp - 0x4b], cl
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
mov dword [ecx + eax + 0x38], 0
push 2
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.005eedb0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5c9140
jmp 0x5c93d4
jmp 0x5c91fc
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
push edx
call fcn.005e71e0
add esp, 4
test eax, eax
je 0x5c91e0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
cmp ecx, 1
jbe 0x5c9193
push 2
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.005eedb0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5c9188
jmp 0x5c93d4
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x5c91de
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx]
mov byte [ecx + eax + 0x34], dl
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
mov dword [edx + ecx + 0x38], 1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x5c93d4
jmp 0x5c91fc
push 1
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.005eedb0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5c91fc
jmp 0x5c93d4
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x5c923b
movsx ecx, byte [ebp - 5]
cmp ecx, 1
je 0x5c9219
movsx edx, byte [ebp - 5]
cmp edx, 2
jne 0x5c923b
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x40]
xor eax, eax
cmp edx, 0xa
sete al
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0x30], ecx
movsx edx, byte [ebp - 5]
test edx, edx
jne 0x5c9345
push 0
push 0
push 5
lea eax, [ebp - 0x4c]
push eax
push 1
lea ecx, [ebp - 0x40]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x5c9273
jmp 0x5c93d4
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c92c0
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jge 0x5c92be
jmp 0x5c93d4
jmp 0x5c92ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c93d4
cmp dword [ebp - 0x50], 0
je 0x5c9340
mov dword [ebp - 0x38], 1
mov byte [ebp - 0x4c], 0xd
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c9332
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x38]
jge 0x5c931e
jmp 0x5c93d4
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x5c9340
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c93d4
jmp 0x5c93cf
movsx ecx, byte [ebp - 5]
cmp ecx, 1
je 0x5c9357
movsx edx, byte [ebp - 5]
cmp edx, 2
jne 0x5c93cf
mov ax, word [ebp - 0x40]
push eax
call fcn.005ee950
add esp, 4
movzx ecx, ax
movzx edx, word [ebp - 0x40]
cmp ecx, edx
jne 0x5c937a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x5c9385
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c93d4
cmp dword [ebp - 0x50], 0
je 0x5c93cf
mov dword [ebp - 0x38], 1
mov word [ebp - 0x40], 0xd
mov cx, word [ebp - 0x40]
push ecx
call fcn.005ee950
add esp, 4
movzx edx, ax
movzx eax, word [ebp - 0x40]
cmp edx, eax
jne 0x5c93c4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x5c93cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c93d4
jmp 0x5c904b
jmp 0x5c98af
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
movsx eax, byte [edx + ecx + 4]
and eax, 0x80
je 0x5c9865
mov dword [ebp - 0xc], 0
movsx ecx, byte [ebp - 5]
test ecx, ecx
jne 0x5c9552
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x460], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x45c]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x5c954d
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x460]
lea eax, [ebp - 0x458]
sub edx, eax
cmp edx, 0x400
jae 0x5c94dd
mov ecx, dword [ebp - 0x45c]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x5c94dd
mov edx, dword [ebp - 0x45c]
mov al, byte [edx]
mov byte [ebp - 0x461], al
mov ecx, dword [ebp - 0x45c]
add ecx, 1
mov dword [ebp - 0x45c], ecx
movsx edx, byte [ebp - 0x461]
cmp edx, 0xa
jne 0x5c94bb
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x460]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x460]
add edx, 1
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 0x460]
mov cl, byte [ebp - 0x461]
mov byte [eax], cl
mov edx, dword [ebp - 0x460]
add edx, 1
mov dword [ebp - 0x460], edx
jmp 0x5c944d
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x460]
lea edx, [ebp - 0x458]
sub ecx, edx
push ecx
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x835e60]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c953d
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x458]
sub eax, ecx
cmp dword [ebp - 0x10], eax
jge 0x5c953b
jmp 0x5c954d
jmp 0x5c9548
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c954d
jmp 0x5c942f
jmp 0x5c9863
movsx edx, byte [ebp - 5]
cmp edx, 2
jne 0x5c969e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x874], 0
mov ecx, dword [ebp - 0x87c]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x5c9699
lea edx, [ebp - 0x870]
mov dword [ebp - 0x874], edx
mov eax, dword [ebp - 0x874]
lea ecx, [ebp - 0x870]
sub eax, ecx
cmp eax, 0x3ff
jae 0x5c9629
mov edx, dword [ebp - 0x87c]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x5c9629
mov eax, dword [ebp - 0x87c]
mov cx, word [eax]
mov word [ebp - 0x878], cx
mov edx, dword [ebp - 0x87c]
add edx, 2
mov dword [ebp - 0x87c], edx
movzx eax, word [ebp - 0x878]
cmp eax, 0xa
jne 0x5c9605
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x874]
mov word [edx], 0xd
mov eax, dword [ebp - 0x874]
add eax, 2
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp - 0x874]
mov dx, word [ebp - 0x878]
mov word [ecx], dx
mov eax, dword [ebp - 0x874]
add eax, 2
mov dword [ebp - 0x874], eax
jmp 0x5c9590
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x874]
lea eax, [ebp - 0x870]
sub edx, eax
push edx
lea ecx, [ebp - 0x870]
push ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c9689
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x874]
lea edx, [ebp - 0x870]
sub ecx, edx
cmp dword [ebp - 0x10], ecx
jge 0x5c9687
jmp 0x5c9699
jmp 0x5c9694
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c9699
jmp 0x5c9572
jmp 0x5c9863
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9e4], eax
mov dword [ebp - 0x9dc], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x9e4], ecx
mov edx, dword [ebp - 0x9e4]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x5c9863
mov dword [ebp - 0xc9c], 0
lea eax, [ebp - 0x9d8]
mov dword [ebp - 0x9dc], eax
mov ecx, dword [ebp - 0x9dc]
lea edx, [ebp - 0x9d8]
sub ecx, edx
cmp ecx, 0x152
jae 0x5c976f
mov eax, dword [ebp - 0x9e4]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x5c976f
mov ecx, dword [ebp - 0x9e4]
mov dx, word [ecx]
mov word [ebp - 0x9e0], dx
mov eax, dword [ebp - 0x9e4]
add eax, 2
mov dword [ebp - 0x9e4], eax
movzx ecx, word [ebp - 0x9e0]
cmp ecx, 0xa
jne 0x5c974b
mov edx, dword [ebp - 0x9dc]
mov word [edx], 0xd
mov eax, dword [ebp - 0x9dc]
add eax, 2
mov dword [ebp - 0x9dc], eax
mov ecx, dword [ebp - 0x9dc]
mov dx, word [ebp - 0x9e0]
mov word [ecx], dx
mov eax, dword [ebp - 0x9dc]
add eax, 2
mov dword [ebp - 0x9dc], eax
jmp 0x5c96e2
push 0
push 0
push 0x2ab
lea ecx, [ebp - 0xc98]
push ecx
mov eax, dword [ebp - 0x9dc]
lea edx, [ebp - 0x9d8]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x9d8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc9c], eax
cmp dword [ebp - 0xc9c], 0
jne 0x5c97c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c9863
mov dword [ebp - 0xca0], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc9c]
sub edx, dword [ebp - 0xca0]
push edx
mov eax, dword [ebp - 0xca0]
lea ecx, [ebp + eax - 0xc98]
push ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x835e60]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c9829
mov eax, dword [ebp - 0xca0]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xca0], eax
jmp 0x5c9834
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x5c9842
mov ecx, dword [ebp - 0xc9c]
cmp ecx, dword [ebp - 0xca0]
jg 0x5c97d3
mov edx, dword [ebp - 0xc9c]
cmp edx, dword [ebp - 0xca0]
jle 0x5c9852
jmp 0x5c9863
mov eax, dword [ebp - 0x9e4]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x5c96ba
jmp 0x5c98af
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x835e60]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5c98a6
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x5c98af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jne 0x5c993d
cmp dword [ebp - 0xc], 0
je 0x5c98ef
cmp dword [ebp - 0xc], 5
jne 0x5c98dc
call fcn.005c13d0
mov dword [eax], 9
call fcn.005c1400
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x5c98e8
mov edx, dword [ebp - 0xc]
push edx
call fcn.005c11c0
add esp, 4
or eax, 0xffffffff
jmp 0x5c9943
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x835e60]
movsx eax, byte [edx + ecx + 4]
and eax, 0x40
je 0x5c9920
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0x1a
jne 0x5c9920
xor eax, eax
jmp 0x5c9943
call fcn.005c13d0
mov dword [eax], 0x1c
call fcn.005c1400
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x5c9943
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret