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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100821c8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 2
je 0x1004f6aa
xor eax, eax
mov dword [ebp + 0x74], eax
mov byte [ebp + 0x78], al
mov byte [ebp + 0x79], al
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x94], eax
xor eax, eax
jmp 0x1004fbbc
mov ebx, dword [eax + 0x59774]
test ebx, ebx
je 0x1004f6a3
mov eax, dword [eax + 0x597e0]
cmp eax, 4
jne 0x1004f6d9
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1001be00
push ebp
call fcn.10004230
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x597b0], 0
ja 0x1004f736
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebx + 0xfc], 0
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x50]
mov dword [esp + 0x50], 2
call fcn.100053d0
mov dword [eax], 0
mov dword [ebp + 0x38], 0
jmp 0x1004fbb7
mov eax, ebp
call fcn.10001990
cmp dword [ebx + 0xa4], 0
jne 0x1004fbb7
cmp dword [ebx + 0xa8], 0
jne 0x1004fbb7
mov eax, dword [ebp + 0x14]
add eax, 0x597a8
cmp dword [eax + 8], 0
mov dword [esp + 0x48], eax
jne 0x1004f774
push ebx
call fcn.10004080
jmp 0x1004fbb7
call fcn.100052e0
mov esi, eax
mov dword [esp + 0x4c], esi
call fcn.1005a620
fld dword [esi + 0xc]
fstp dword [esp + 0x74]
lea eax, [esp + 0x5c]
fld dword [esi + 8]
lea ecx, [esp + 0x70]
fstp dword [esp + 0x70]
fld dword [esi + 0x10]
fstp dword [esp + 0x78]
fld dword [esi + 0x14]
fstp dword [esp + 0x7c]
fld dword [ebx + 0x24]
fstp dword [esp + 0x60]
fld dword [ebx + 0x20]
fstp dword [esp + 0x5c]
fld dword [ebx + 0x28]
fstp dword [esp + 0x64]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x68]
call fcn.10023f00
fst qword [esp + 0x54]
fcomp qword [0x1008b758]
fnstsw ax
test ah, 5
jp 0x1004f875
fld dword [esp + 0x70]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x84]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x60]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1004f83f
push ebx
call fcn.10004080
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, dword [esp + 0x4c]
call fcn.10004d90
test eax, eax
jne 0x1004f875
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1004fbb7
mov eax, dword [esp + 0x48]
call fcn.10005300
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
jmp 0x1004fbb7
call fcn.10064a60
test eax, eax
mov esi, dword [esp + 0x4c]
je 0x1004f8ab
mov eax, esi
call fcn.10003fe0
test eax, eax
jne 0x1004f8ab
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
push edx
mov eax, esi
call fcn.1001ca30
mov eax, dword [esp + 0x48]
call fcn.10005300
call fcn.10065520
test eax, eax
je 0x1004f8c5
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebp + 0x88], 1
cmp dword [ebp + 0x88], 1
jle 0x1004f8dd
call fcn.1002a700
mov dword [ebp + 0x88], 0
cmp dword [ebp + 0x38], 0
mov edi, 0x211
jne 0x1004f904
fld dword [ebx + 0x24]
fstp dword [ebp + 0x28]
fld dword [ebx + 0x20]
fstp dword [ebp + 0x24]
fld dword [ebx + 0x28]
fstp dword [ebp + 0x2c]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], 1
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1004f9ad
fld qword [0x1008b708]
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1004f975
fld dword [esp + 0x74]
mov dword [ebp + 0x34], edi
fld dword [esp + 0x60]
mov dword [ebp + 0x38], 1
fsubr st(1)
fld qword [0x1008b840]
fmul st(1), st(0)
fxch st(1)
fdiv st(3)
fsubp st(2)
fxch st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x70]
fld dword [esp + 0x5c]
fsubr st(1)
fmulp st(2)
fxch st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [ebp + 0x24]
fld dword [esp + 0x78]
fstp dword [ebp + 0x2c]
jmp 0x1004f977
fstp st(0)
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 2
mov esi, ebx
call fcn.1004a2f0
cmp eax, 2
jne 0x1004f9a6
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x50]
call fcn.1001ca30
mov eax, dword [esp + 0x48]
call fcn.10005300
jmp 0x1004f9b3
cmp eax, 1
jne 0x1004f9ba
jmp 0x1004f9b3
push ebx
call fcn.10004080
mov dword [ebp + 0x38], 0
fld dword [esp + 0x70]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x84]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x60]
add esp, 4
fld dword [0x1008b7e8]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1004fa1b
push ebx
call fcn.10004080
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.10022bd0
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x1004fa50
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
test eax, eax
je 0x1004fa50
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
test eax, eax
jle 0x1004fa50
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x1004fa85
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test eax, eax
je 0x1004fa85
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
test eax, eax
jle 0x1004fa85
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov ecx, ebx
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1004faaa
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebx
call eax
test eax, eax
jle 0x1004faaa
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, ebx
call eax
push 0x1a
call fcn.1004b2a0
test eax, eax
je 0x1004facf
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebx
call eax
test eax, eax
jle 0x1004facf
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebx
call eax
fld qword [0x1008b758]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x1004f6a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x1004f6a3
mov eax, ebx
call fcn.100040a0
cmp eax, 0x32
lea ecx, [esp + 0x50]
push ecx
jbe 0x1004fbd5
mov ecx, 0x1008a91c
call fcn.10001a30
mov dword [esp + 0xc0], 0
lea edx, [esp + 0x50]
lea ecx, [ebp + 0x68]
push edx
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004fbef
mov eax, esi
mov edi, dword [eax]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1004fbef
mov ecx, esi
cmp dword [ecx + 0x14], eax
jne 0x1004fbef
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1004fbef
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
jne 0x1004fbef
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x1008a928
call fcn.10001a30
mov dword [esp + 0xc0], 1
jmp 0x1004fb22
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a910
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004fc85
mov eax, esi
mov edi, dword [eax]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1004fc85
mov ecx, esi
cmp dword [ecx + 0x14], eax
jne 0x1004fc85
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1004fc85
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fb9e
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x3fc], 0
je 0x1004fd41
lea edx, [esp + 0x50]
push edx
mov ecx, 0x1008ab68
call fcn.10001a30
lea eax, [esp + 0x50]
push eax
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004fd41
mov ecx, esi
mov edi, dword [ecx]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1004fd41
mov edx, esi
cmp dword [edx + 0x14], eax
jne 0x1004fd41
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1004fd41
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
jne 0x1004fd41
call fcn.1004ad60
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
jmp 0x1004fbae
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008ab74
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 4
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004fde6
mov eax, ebx
call fcn.100040a0
cmp eax, 0x1e
jae 0x1004fde6
cmp dword [esi + 0x14], 0
jne 0x1004fde6
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1004fde6
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
jne 0x1004fde6
fld qword [0x1008b800]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x1004fb9e
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008ab80
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1004fe6b
cmp dword [esi + 0x14], 0
jne 0x1004fe6b
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1004fe6b
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fd2c
lea eax, [esp + 0x50]
push eax
mov ecx, str.b__rY
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1004ff05
mov eax, ebx
call fcn.100040a0
cmp eax, 0x50
jae 0x1004ff05
cmp dword [edi + 0x14], 0
jne 0x1004ff05
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1004ff05
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1004ff05
mov edi, dword [edi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1004fd27
lea eax, [esp + 0x50]
push eax
mov ecx, str._ba_bTwy
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1004ffa0
mov eax, ebx
call fcn.100040a0
cmp eax, 0x46
jae 0x1004ffa0
cmp dword [edi + 0x14], 0
jne 0x1004ffa0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1004ffa0
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1004ffa0
mov edi, dword [edi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1004fd27
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008ab98
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 8
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005003b
mov eax, ebx
call fcn.100040a0
cmp eax, 0x3c
jae 0x1005003b
cmp dword [edi + 0x14], 0
jne 0x1005003b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005003b
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005003b
mov edi, dword [edi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1004fd27
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a8f8
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100500d6
mov eax, ebx
call fcn.100040a0
cmp eax, 0x3c
jae 0x100500d6
cmp dword [edi + 0x14], 0
jne 0x100500d6
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100500d6
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100500d6
mov edi, dword [edi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x1004fd27
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008aba4
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xa
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005019c
mov eax, ebx
call fcn.100040a0
cmp eax, 0x28
jae 0x1005019c
cmp dword [edi + 0x14], 0
jne 0x1005019c
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005019c
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005019c
mov edi, dword [edi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x1005019c
call fcn.1004ad60
fld dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x68]
fstp dword [esp + 4]
fld dword [esp + 0x6c]
fstp dword [esp]
call fcn.1004e720
jmp 0x1004fbae
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x408], 0
je 0x10050251
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008abac
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xb
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10050251
mov eax, ebx
call fcn.1002a730
cmp eax, 0x19
jbe 0x10050251
cmp dword [edi + 0x14], 0
jne 0x10050251
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10050251
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10050251
mov eax, dword [esp + 0x4c]
call fcn.10004040
cmp eax, 0x14
ja 0x10050251
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
jmp 0x1004fbae
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x404], 0
je 0x100502eb
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008abb8
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100502eb
mov eax, ebx
call fcn.1002a730
cmp eax, 0x28
jae 0x100502eb
cmp dword [edi + 0x14], 0
jne 0x100502eb
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100502eb
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10050240
lea eax, [esp + 0x50]
push eax
mov ecx, str._fegWLk
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0xd
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005037f
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jae 0x1005037f
cmp dword [esi + 0x14], 0
jne 0x1005037f
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005037f
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fb9e
push 8
mov eax, ebp
call fcn.10004c90
cmp eax, 2
jle 0x10050422
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008abcc
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0xe
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10050422
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jbe 0x10050422
cmp dword [esi + 0x14], 0
jne 0x10050422
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10050422
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fd2c
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008abd8
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xf
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100504c0
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jbe 0x100504c0
cmp dword [edi + 0x14], 0
jne 0x100504c0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100504c0
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100504c0
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, dword [edx]
call fcn.1005a6a0
test eax, eax
je 0x1004fb9e
lea ecx, [esp + 0x50]
push ecx
mov ecx, str.yWKNkp
call fcn.10001a30
lea edx, [esp + 0x50]
lea edi, [ebp + 0x68]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x10
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10050554
mov eax, ebx
call fcn.1002a730
cmp eax, 0x14
jbe 0x10050554
cmp dword [esi + 0x14], 0
jne 0x10050554
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10050554
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fd2c
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008abf0
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x50], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100505d9
cmp dword [esi + 0x14], 0
jne 0x100505d9
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x100505d9
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
je 0x1004fb9e
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x1008abfc
call fcn.10001a30
lea edx, [esp + 0x48]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1004f6a3
mov eax, ebx
call fcn.1002a730
cmp eax, 0xa
jbe 0x1004f6a3
cmp dword [edi + 0x14], 0
jne 0x1004f6a3
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1004f6a3
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1004f6a3
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
jmp 0x1004fbae