Function at 0x52658c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x527107
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x424]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x10]
jl 0x526e2e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x424]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x10]
jne 0x5265f8
mov edi, dword [0x688a9c]
mov edi, dword [edi]
jmp 0x526660
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x424]
mov edx, dword [ebp - 0x10]
call fcn.0041a308
mov edi, eax
mov eax, dword [0x688a9c]
cmp edi, dword [eax]
je 0x526658
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jg 0x526658
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [edi + 0x10]
cmp eax, 0xa
jg 0x526658
cmp dword [edi + 0xd4], 0
je 0x526658
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [edi + 0x10]
cmp eax, 0xfffffff6
jge 0x526660
inc dword [ebp - 0x10]
jmp 0x5265c8
cmp byte [edi + 0x16], 0
jne 0x526678
cmp byte [edi + 0x1c], 0
je 0x526678
mov dword [edi + 0x2b4], 0x16
jmp 0x526682
mov dword [edi + 0x2b4], 6
mov dword [ebp - 0x14], 0x320
cmp byte [edi + 0x16], 0
jne 0x526702
cmp byte [edi + 0x134], 0
je 0x526702
cmp byte [edi + 0x31], 0
jne 0x526702
cmp dword [edi + 0xc8], 0
je 0x526e15
mov eax, dword [edi + 0xc8]
mov si, 0xfff8
call fcn.00404528
add dword [edi + 0x2b4], eax
mov eax, dword [edi + 0xc8]
push eax
mov eax, dword [edi + 0xc8]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x5266dd
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
dec ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.0057bd50
jmp 0x526e15
cmp byte [edi + 0x31], 0
jne 0x526949
cmp byte [edi + 0x176], 0
je 0x526949
mov eax, dword [0x688a9c]
cmp edi, dword [eax]
jne 0x526829
add dword [edi + 0x2b4], 3
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 6
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526799
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x52675a
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
dec ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00486038
mov eax, dword [0x68906c]
mov eax, dword [eax]
xor edx, edx
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526829
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
cmp dword [edi + 0x9f], 0
jle 0x5267ec
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fild dword [edi + 0x9f]
fdivp st(1)
fild dword [edi + 0x97]
fmulp st(1)
call fcn.004034fc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x526809
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
dec ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
add dword [edi + 0x2b4], 5
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 6
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x52689b
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x52685d
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00486038
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526949
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
cmp byte [edi + 0x17], 0xa
jne 0x5268d3
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x24], 6
jmp 0x5268df
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 2
cmp dword [edi + 0x9b], 0
jle 0x52690c
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fild dword [edi + 0x9b]
fdivp st(1)
fild dword [edi + 0x93]
fmulp st(1)
call fcn.004034fc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x526929
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
inc ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
cmp dword [edi + 0x9b], 1
jle 0x526a7e
cmp byte [edi + 0x31], 0
jne 0x526a7e
cmp byte [edi + 0x176], 0
je 0x526a7e
add dword [edi + 0x2b4], 0xc
lea edx, [ebp - 0x48]
mov eax, dword [edi + 0x93]
call fcn.0040a028
push dword [ebp - 0x48]
push 0x527120
lea edx, [ebp - 0x4c]
mov eax, dword [edi + 0x9b]
call fcn.0040a028
push dword [ebp - 0x4c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004054fc
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov edx, dword [ebp - 0x50]
mov eax, dword [0x6883dc]
mov eax, dword [eax]
call fcn.004857a0
sar eax, 1
jns 0x5269c9
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov dword [ebp - 0x18], edx
push 0xffffff
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 8]
call fcn.00405adc
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
mov eax, dword [0x6883dc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.0048535c
cmp dword [edi + 0xe8], 0
je 0x526a7e
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 0xb3
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526a7e
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
mov edx, dword [ebp - 0x18]
sub edx, eax
sub edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jle 0x526a4b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00486038
cmp byte [edi + 0x31], 0
jne 0x526b3e
movzx eax, byte [edi + 0x1a8]
dec eax
sub al, 0xa
jae 0x526b3e
call sub.kernel32.dll_GetTickCount
sub eax, dword [edi + 0x1ac]
mov ecx, 0x64
xor edx, edx
div ecx
mov ecx, 0xf
xor edx, edx
div ecx
movzx eax, byte [edi + 0x1a8]
mov ecx, eax
shl eax, 4
sub eax, ecx
add eax, 0x3f7
add edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526b3e
add dword [edi + 0x2b4], 0x1e
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x526b18
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
add dword [edi + 0x2b4], 0xfffffff1
xor ebx, ebx
lea eax, [ebx + ebx*2]
cmp byte [edi + eax*4 + 0x2ca], 0
je 0x526c6b
lea eax, [ebx + ebx*2]
cmp word [edi + eax*4 + 0x2c4], 0x10c
ja 0x526c6b
call sub.kernel32.dll_GetTickCount
sub eax, dword [edi + ebx*8 + 0x31c]
lea edx, [ebx + ebx*2]
movzx edx, word [edi + edx*4 + 0x2c8]
add edx, edx
lea edx, [edx + edx*4]
cmp eax, edx
jb 0x526be1
call sub.kernel32.dll_GetTickCount
mov dword [edi + ebx*8 + 0x31c], eax
lea eax, [ebx + ebx*2]
movzx eax, word [edi + eax*4 + 0x2c6]
cmp eax, dword [edi + ebx*8 + 0x318]
ja 0x526bc6
lea eax, [ebx + ebx*2]
movzx eax, word [edi + eax*4 + 0x2c6]
lea edx, [ebx + ebx*2]
movzx edx, byte [edi + edx*4 + 0x2ca]
add eax, edx
dec eax
cmp eax, dword [edi + ebx*8 + 0x318]
jg 0x526bda
lea eax, [ebx + ebx*2]
movzx eax, word [edi + eax*4 + 0x2c6]
mov dword [edi + ebx*8 + 0x318], eax
jmp 0x526be1
inc dword [edi + ebx*8 + 0x318]
lea eax, [ebx + ebx*2]
movzx eax, word [edi + eax*4 + 0x2c4]
mov edx, dword [0x688dc8]
mov eax, dword [edx + eax*4]
mov edx, dword [edi + ebx*8 + 0x318]
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526c6b
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff8
call fcn.00404528
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
sub ecx, eax
add ecx, 2
lea eax, [ebx + ebx*2]
movsx eax, word [edi + eax*4 + 0x2ce]
sub ecx, eax
lea eax, [ebx + ebx*2]
movsx eax, word [edi + eax*4 + 0x2cc]
mov edx, dword [edi + 0xd4]
sub edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
inc ebx
cmp ebx, 7
jne 0x526b40
cmp byte [edi + 0x16], 0x32
jne 0x526e15
mov eax, edi
mov edx, dword [0x599e0c]
call fcn.004044dc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x3e8], 3
je 0x526e15
xor eax, eax
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x298]
jbe 0x526cce
call sub.kernel32.dll_GetTickCount
add eax, 0x64
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x298], eax
mov eax, dword [ebp - 0x20]
inc byte [eax + 0x29c]
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x29c], 9
jbe 0x526ce4
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x29c], 0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x3e8]
sub al, 1
jb 0x526cfa
je 0x526d10
dec al
je 0x526d26
jmp 0x526d3a
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 0x29b
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
jmp 0x526d3a
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 0x29c
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
jmp 0x526d3a
mov eax, dword [0x68906c]
mov eax, dword [eax]
mov edx, 0x29d
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526e15
mov eax, dword [ebp - 0x1c]
mov si, 0xfff8
call fcn.00404528
add eax, 5
add dword [edi + 0x2b4], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x526d85
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x29c]
sub ecx, dword [eax*4 + 0x6842e4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x29c]
add edx, 0x7c6
mov eax, dword [0x68906c]
mov eax, dword [eax]
call fcn.0048ec40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x526e15
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov si, 0xfff9
call fcn.00404528
sar eax, 1
jns 0x526df3
adc eax, 0
mov edx, dword [edi + 0xd4]
sub edx, eax
mov ecx, dword [edi + 0xd8]
sub ecx, dword [edi + 0x2b4]
sub ecx, 0x20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.005b31f4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, edi
mov si, 0xffed
call fcn.00404528
inc dword [ebp - 0x10]
jmp 0x5265c8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x526e8d
lea edx, [ebp - 0x40]
mov eax, ebx
mov si, 0xfffa
call fcn.00404528
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
push eax
push 1
mov ecx, dword [0x688994]
mov ecx, dword [ecx]
sub ecx, 0x258
add ecx, 0x176
mov edx, dword [0x6889bc]
mov edx, dword [edx]
sub edx, 0x320
sar edx, 1
jns 0x526e7c
adc edx, 0
add edx, 0xc8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00486038
mov eax, dword [0x688b90]
cmp dword [eax], 0
je 0x527057
mov edx, dword [0x688b90]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
call fcn.0052c31c
test al, al
je 0x527057
mov eax, dword [0x688b90]
mov eax, dword [eax]
cmp byte [eax + 0x16], 0x32
jne 0x526ff0
mov eax, dword [0x688b90]
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
je 0x526f90
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [0x688b90]
mov edx, dword [edx]
mov edx, dword [edx + 0x3c]
call fcn.00405adc
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov edx, dword [eax + 0xd4]
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x526f15
adc eax, 0
sub edx, eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov ecx, dword [eax + 0xd8]
add ecx, 0x18
mov eax, dword [0x6883dc]
mov eax, dword [eax]
call fcn.0048535c
push 0xffffff
lea eax, [ebp - 0x5c]
mov edx, dword [0x688b90]
mov edx, dword [edx]
mov edx, dword [edx + 0x40]
call fcn.00405adc
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov edx, dword [eax + 0xd4]
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
sar eax, 1
jns 0x526f6d
adc eax, 0
sub edx, eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov ecx, dword [eax + 0xd8]
add ecx, 0x24
mov eax, dword [0x6883dc]
mov eax, dword [eax]
call fcn.0048535c
jmp 0x527057
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [0x688b90]
mov edx, dword [edx]
mov edx, dword [edx + 0x40]
call fcn.00405adc
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov edx, dword [eax + 0xd4]
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
sar eax, 1
jns 0x526fd0
adc eax, 0
sub edx, eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov ecx, dword [eax + 0xd8]
add ecx, 0x1e
mov eax, dword [0x6883dc]
mov eax, dword [eax]
call fcn.0048535c
jmp 0x527057
mov eax, dword [0x688b90]
mov eax, dword [eax]
push dword [eax + 0x3c]
push 0x52712c
mov eax, dword [0x688b90]
mov eax, dword [eax]
push dword [eax + 0x40]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004054fc
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0xd8]
add eax, 0x1e
push eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x688b90]
mov eax, dword [eax]
mov ecx, dword [eax + 0xd4]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [0x688b90]
mov eax, dword [eax]
call fcn.005263e4
mov eax, dword [0x688b24]
cmp byte [eax], 0
je 0x5270d2
mov eax, dword [0x688a9c]
cmp dword [eax], 0
je 0x5270d2
mov eax, dword [0x688a9c]
mov eax, dword [eax]
push dword [eax + 0x3c]
push 0x52712c
mov eax, dword [0x688a9c]
mov eax, dword [eax]
push dword [eax + 0x40]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004054fc
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd8]
add eax, 0x1e
push eax
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x688a9c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xd4]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [0x688a9c]
mov eax, dword [eax]
call fcn.005263e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52710e
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00405988
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040517c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040517c
ret