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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ecb0
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x6ac16c]
push 0xffffffffffffffff
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0x68], ebx
push dword [ebx]
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x56f84f
mov dword [ebx + 8], 0
jmp 0x56f853
test eax, eax
jne 0x56f863
inc dword [ebx + 0xc]
inc dword [ebx + 8]
inc dword [ebx + 4]
mov dword [ebp - 0x64], 1
mov esi, dword [0x6a70d8]
cmp esi, 0x6a70d8
je 0x56fc96
test esi, esi
je 0x56fc96
nop dword [eax]
mov eax, dword [esi]
xor ecx, ecx
mov ebx, esi
cmp eax, 0x6a70d8
mov esi, eax
mov dword [ebp - 0x10], ebx
cmove esi, ecx
test byte [0x6aee58], 3
mov dword [ebp - 0x54], esi
jne 0x56fc8e
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, ecx
div dword [0x6aee50]
mov eax, dword [0x6aee54]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x56fc8e
cmp dword [eax + 4], ecx
je 0x56f8d2
mov eax, dword [eax]
test eax, eax
jne 0x56f8c2
jmp 0x56fc8e
mov edi, dword [eax + 8]
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x56fc8e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [ebp - 0x50], ecx
sub ecx, dword [ebx + 0x18]
cmp ecx, dword [edi + 0x1c]
jbe 0x56fc8e
mov ecx, dword [ebx + 0xc]
cmp ecx, 0x7f000001
jne 0x56fd02
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004a6d70
nop
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x56fa99
cmp byte [ebp - 0x18], 0
jne 0x56fa82
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x56fa82
mov eax, dword [eax + 4]
xor edx, edx
test byte [0x6aedf8], 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], edx
jne 0x56f982
div dword [0x6aedf0]
mov eax, dword [0x6aedf4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x56f97c
mov edx, dword [ebp - 0x14]
cmp dword [eax + 4], edx
je 0x56f974
mov eax, dword [eax]
test eax, eax
jne 0x56f965
mov eax, edx
jmp 0x56f97f
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
jmp 0x56f982
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
test eax, eax
je 0x56f9b8
test edx, edx
je 0x56f9b8
mov edi, dword [ebp - 0x10]
mov eax, dword [edx + 8]
cmp eax, dword [edi + 8]
mov edi, dword [ebp - 0x24]
jne 0x56f9b8
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [edx + 0x18]
sub ecx, edx
sub eax, dword [edi + 0x18]
mov edi, dword [ebp - 0x24]
cmp ecx, eax
mov ecx, dword [ebp - 0x30]
jae 0x56f9b8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x56fa16
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [edi + 0x10]
jae 0x56f9e6
nop dword [eax]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x56fa16
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [edi + 0x10]
jb 0x56f9d0
test ebx, ebx
je 0x56f9f5
mov dword [ebx], ecx
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x56f9ff
mov dword [ecx + 4], ebx
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edi
cmp byte [ebp - 0x18], cl
je 0x56fa1a
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x7d], 0
mov dword [ebp - 0x79], 0
mov dword [ebp - 0x75], edi
test edi, edi
je 0x56fa99
mov eax, dword [ebp - 0x20]
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x71], eax
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x69], al
mov dword [ebp - 0x6d], esi
mov eax, dword [ecx]
mov dword [ebp - 0x7d], eax
lea eax, [ebp - 0x7d]
mov dword [ebp - 0x79], ecx
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [ebp - 0x7d]
mov dword [eax + 4], ecx
cmp dword [ebp - 0x75], 0
je 0x56f910
mov ecx, dword [ebp - 0x79]
test ecx, ecx
je 0x56fa6f
mov eax, dword [ebp - 0x7d]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x79]
mov eax, dword [ebp - 0x7d]
test eax, eax
je 0x56f910
mov dword [eax + 4], ecx
jmp 0x56f910
test edi, edi
je 0x56fa99
test ebx, ebx
je 0x56fa92
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x56fa99
mov dword [ecx + 4], ebx
push ecx
lea ecx, [ebp - 0x48]
call fcn.004a6bc0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x56fc72
cmp byte [ebp - 0x34], 0
jne 0x56fc55
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x56fc55
mov ecx, dword [ebx + 4]
xor edx, edx
test byte [0x6aee28], 3
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x14], edx
jne 0x56fb2d
mov eax, ecx
xor eax, esi
xor eax, edi
xor eax, ebx
div dword [0x6aee20]
mov eax, dword [0x6aee24]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x56fb2a
nop word [eax + eax]
cmp dword [eax + 4], ecx
jne 0x56fb24
cmp dword [eax + 8], esi
jne 0x56fb24
cmp dword [eax + 0xc], edi
jne 0x56fb24
cmp dword [eax + 0x10], ebx
je 0x56fb87
mov eax, dword [eax]
test eax, eax
jne 0x56fb10
mov edx, dword [ebp - 0x14]
cmp ecx, dword [0x6af130]
jne 0x56fb4d
cmp esi, dword [0x6af134]
jne 0x56fb4d
cmp edi, dword [0x6af138]
jne 0x56fb4d
cmp ebx, dword [0x6af13c]
je 0x56fb70
test edx, edx
je 0x56fb70
mov ebx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
cmp eax, dword [ebx + 8]
jne 0x56fb70
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [edx + 0x24]
sub ecx, edx
sub eax, dword [ebx + 0x18]
cmp ecx, eax
jae 0x56fb70
mov dword [ebx + 0x18], edx
lea ecx, [ebp - 0x48]
call fcn.00408f90
cmp byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x40]
je 0x56fb8c
mov byte [ebp - 0x34], 0
jmp 0x56fbbc
mov edx, dword [eax + 0x14]
jmp 0x56fb2d
test ecx, ecx
je 0x56fbbc
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x56fb9f
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x56fba9
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x92], 0
mov dword [ebp - 0x8e], 0
mov dword [ebp - 0x8a], ecx
test ecx, ecx
je 0x56fc72
mov eax, dword [ebp - 0x3c]
add ecx, 0x1c
mov dword [ebp - 0x86], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x82], eax
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x7e], al
mov eax, dword [ecx]
mov dword [ebp - 0x92], eax
lea eax, [ebp - 0x92]
mov dword [ebp - 0x8e], ecx
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [ebp - 0x92]
mov dword [eax + 4], ecx
cmp dword [ebp - 0x8a], 0
je 0x56faa2
mov ecx, dword [ebp - 0x8e]
test ecx, ecx
je 0x56fc3f
mov eax, dword [ebp - 0x92]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x8e]
mov eax, dword [ebp - 0x92]
test eax, eax
je 0x56faa2
mov dword [eax + 4], ecx
jmp 0x56faa2
test ecx, ecx
je 0x56fc72
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x56fc65
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x56fc72
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [eax + 0x18]
cmp ecx, dword [edx + 0x1c]
jbe 0x56fc8b
mov ecx, dword [eax + 0xc]
call fcn.0056e170
mov esi, dword [ebp - 0x54]
test esi, esi
jne 0x56f880
mov esi, dword [0x6a70e4]
cmp esi, 0x6a70e4
je 0x5701a1
test esi, esi
je 0x5701a1
mov eax, dword [esi]
xor ecx, ecx
mov ebx, esi
cmp eax, 0x6a70e4
mov esi, eax
mov dword [ebp - 0x30], ebx
cmove esi, ecx
test byte [0x6aee58], 3
mov dword [ebp - 0x5c], esi
jne 0x570199
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, ecx
div dword [0x6aee50]
mov eax, dword [0x6aee54]
lea eax, [eax + edx*4]
mov eax, dword [eax]
test eax, eax
je 0x570199
cmp dword [eax + 4], ecx
je 0x56fd09
mov eax, dword [eax]
test eax, eax
jne 0x56fcf2
jmp 0x570199
call fcn.0056e170
jmp 0x56fc8e
mov edi, dword [eax + 8]
mov dword [ebp - 0xc4], edi
test edi, edi
je 0x570199
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [ebp - 0x50], eax
sub ecx, dword [ebx + 0x24]
cmp ecx, dword [edi + 0x1c]
jbe 0x570199
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
cmp eax, dword [0x6a748c]
jne 0x5701da
mov eax, dword [ecx + 4]
cmp eax, dword [0x6a7490]
jne 0x5701da
mov eax, dword [ecx + 8]
cmp eax, dword [0x6a7494]
jne 0x5701da
mov eax, dword [ecx + 0xc]
cmp eax, dword [0x6a7498]
jne 0x5701da
push ecx
lea ecx, [ebp - 0x48]
call fcn.004a6d70
nop dword [eax]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x56ff3a
cmp byte [ebp - 0x34], 0
jne 0x56ff23
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x56ff23
mov eax, dword [eax + 4]
xor edx, edx
test byte [0x6aedf8], 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], edx
jne 0x56fdf2
div dword [0x6aedf0]
mov eax, dword [0x6aedf4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x56fdec
mov edx, dword [ebp - 0x14]
cmp dword [eax + 4], edx
je 0x56fde4
mov eax, dword [eax]
test eax, eax
jne 0x56fdd5
mov eax, edx
jmp 0x56fdef
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
jmp 0x56fdf2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
test eax, eax
je 0x56fe28
test edx, edx
je 0x56fe28
mov edi, dword [ebp - 0x30]
mov eax, dword [edx + 8]
cmp eax, dword [edi + 8]
mov edi, dword [ebp - 0x40]
jne 0x56fe28
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [edx + 0x18]
sub ecx, edx
sub eax, dword [edi + 0x24]
mov edi, dword [ebp - 0x40]
cmp ecx, eax
mov ecx, dword [ebp - 0x10]
jae 0x56fe28
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x56fe86
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [edi + 0x10]
jae 0x56fe56
nop dword [eax]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x56fe86
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [edi + 0x10]
jb 0x56fe40
test ebx, ebx
je 0x56fe65
mov dword [ebx], ecx
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x56fe6f
mov dword [ecx + 4], ebx
mov esi, dword [ebp - 0x38]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edi
cmp byte [ebp - 0x34], cl
je 0x56fe8a
mov byte [ebp - 0x34], 0
mov dword [ebp - 0xa7], 0
mov dword [ebp - 0xa3], 0
mov dword [ebp - 0x9f], edi
test edi, edi
je 0x56ff3a
mov eax, dword [ebp - 0x3c]
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x9b], eax
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x93], al
mov dword [ebp - 0x97], esi
mov eax, dword [ecx]
mov dword [ebp - 0xa7], eax
lea eax, [ebp - 0xa7]
mov dword [ebp - 0xa3], ecx
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [ebp - 0xa7]
mov dword [eax + 4], ecx
cmp dword [ebp - 0x9f], 0
je 0x56fd80
mov ecx, dword [ebp - 0xa3]
test ecx, ecx
je 0x56ff0d
mov eax, dword [ebp - 0xa7]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xa3]
mov eax, dword [ebp - 0xa7]
test eax, eax
je 0x56fd80
mov dword [eax + 4], ecx
jmp 0x56fd80
test edi, edi
je 0x56ff3a
test ebx, ebx
je 0x56ff33
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x56ff3a
mov dword [ecx + 4], ebx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004a6bc0
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x57017a
cmp byte [ebp - 0x18], 0
jne 0x570163
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x570163
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ebp - 0x10], eax
xor eax, eax
test byte [0x6aee28], 3
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
jne 0x570002
mov edi, dword [ebp - 0x20]
xor eax, edx
xor edx, edx
xor eax, dword [edi + 0xc]
xor eax, dword [edi + 0x10]
div dword [0x6aee20]
mov eax, dword [0x6aee24]
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x56fffc
mov edx, dword [ebp - 0x10]
nop
cmp dword [eax + 4], edx
jne 0x56fff6
mov edx, dword [ebp - 0x4c]
cmp dword [eax + 8], edx
mov edx, dword [ebp - 0x10]
jne 0x56fff6
mov edi, dword [ebp - 0x20]
mov edx, dword [edi + 0xc]
cmp dword [eax + 0xc], edx
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
jne 0x56fff6
mov edi, dword [ebp - 0x20]
mov edx, dword [edi + 0x10]
cmp dword [eax + 0x10], edx
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
je 0x570156
mov eax, dword [eax]
test eax, eax
jne 0x56ffc0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
cmp eax, dword [0x6af130]
jne 0x57002b
cmp edx, dword [0x6af134]
jne 0x57002b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
cmp eax, dword [0x6af138]
jne 0x57002b
mov eax, dword [edx + 0x10]
cmp eax, dword [0x6af13c]
je 0x57005e
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x57005e
mov edi, dword [ebp - 0x30]
mov eax, dword [edx + 8]
cmp eax, dword [edi + 8]
mov edi, dword [ebp - 0x24]
jne 0x57005e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
mov edx, dword [edx + 0x24]
sub ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x50]
sub eax, edx
cmp eax, ecx
mov ecx, dword [ebp - 0x14]
jae 0x57005e
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x5700b9
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [edi + 0x10]
jae 0x570089
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x5700b9
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [edi + 0x10]
jb 0x570073
test ebx, ebx
je 0x570098
mov dword [ebx], ecx
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5700a2
mov dword [ecx + 4], ebx
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edi
cmp byte [ebp - 0x18], cl
je 0x5700bd
mov byte [ebp - 0x18], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], edi
test edi, edi
je 0x57017a
mov eax, dword [ebp - 0x20]
lea ecx, [edi + 0x1c]
mov dword [ebp - 0xb0], eax
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xa8], al
mov dword [ebp - 0xac], esi
mov eax, dword [ecx]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb8], ecx
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [ebp - 0xbc]
mov dword [eax + 4], ecx
cmp dword [ebp - 0xb4], 0
je 0x56ff43
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x570140
mov eax, dword [ebp - 0xbc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x56ff43
mov dword [eax + 4], ecx
jmp 0x56ff43
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x54], eax
mov eax, edx
jmp 0x56ffff
test edi, edi
je 0x57017a
test ebx, ebx
je 0x570173
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x57017a
mov dword [ecx + 4], ebx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [eax + 0x24]
cmp ecx, dword [edx + 0x1c]
jbe 0x570196
lea ecx, [eax + 0xc]
call fcn.0056e2e0
mov esi, dword [ebp - 0x5c]
test esi, esi
jne 0x56fcb0
mov eax, dword [ebp - 0x64]
test eax, eax
jg 0x5701b1
cmp dword [0x6ac6c4], 0
jne 0x5701c0
mov ecx, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0x64], eax
call fcn.005e0810
lea ecx, [ebp - 0x68]
call fcn.0041d9b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0056e2e0
jmp 0x570199