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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x68
push 0
push 0
dec ecx
jne 0x47609d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403fbc
xor eax, eax
push ebp
push 0x4770be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47cbf8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00445424
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.00403b88
mov eax, dword [ebp - 4]
add eax, 0x2e4
call fcn.00403b88
mov edx, dword [ebp - 8]
mov eax, 0x4770dc
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x47616b
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e08
mov ecx, eax
sub ecx, esi
add ecx, 5
lea edx, [esi + 6]
mov eax, dword [ebp - 8]
call fcn.00404010
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x24]
call fcn.00408420
mov edx, dword [ebp - 0x24]
mov eax, 0x4770ec
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x476150
mov edx, esi
dec edx
lea eax, [ebp - 0x24]
call fcn.0040413c
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x24]
call fcn.00408420
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
add eax, 0x2e4
call fcn.00403bdc
mov eax, 0xf4240
call fcn.00402bf0
mov ebx, eax
add ebx, 0xf4240
mov eax, dword [ebp - 4]
mov dword [eax + 0x2e0], ebx
lea edx, [ebp - 0x184]
mov eax, ebx
call fcn.004085a0
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov ecx, 0xff
call fcn.00403de4
lea edx, [ebp - 0x180]
lea eax, [ebp - 0x58]
mov cl, 0x1f
call fcn.00402aac
xor edi, edi
xor eax, eax
mov al, byte [ebp - 0x58]
sub eax, 2
jl 0x4761f1
inc eax
mov dword [ebp - 0x38], eax
lea ebx, [ebp - 0x56]
lea eax, [ebp - 0x188]
mov dl, byte [ebx]
call fcn.00403d30
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x14]
call fcn.00402c08
mov esi, eax
add edi, esi
inc ebx
dec dword [ebp - 0x38]
jne 0x4761cc
imul eax, edi, 0xf4240
mov edx, dword [ebp - 4]
add dword [edx + 0x2e0], eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004756c0
mov ebx, eax
call fcn.00409724
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x18c]
mov eax, 0x4770f8
call fcn.0040a30c
mov edx, dword [ebp - 0x18c]
lea eax, [ebp - 0x180]
mov ecx, 0xff
call fcn.00403de4
lea edx, [ebp - 0x180]
lea eax, [ebp - 0x78]
mov cl, 0x1f
call fcn.00402aac
lea eax, [ebp - 0x1b0]
push eax
mov ecx, 2
mov edx, 9
lea eax, [ebp - 0x78]
call fcn.00402860
lea edx, [ebp - 0x1b0]
lea eax, [ebp - 0x190]
call fcn.00403dac
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x14]
call fcn.00402c08
mov esi, eax
add ebx, esi
lea eax, [ebp - 0x2c]
mov edx, 0x477110
call fcn.00403c20
push dword [ebp - 0x2c]
push 0x477168
mov eax, dword [ebp - 4]
push dword [eax + 0x2e8]
push 0x477198
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403ec8
push dword [ebp - 0x2c]
push 0x4771bc
lea eax, [ebp - 0x1b4]
lea edx, [ebp - 0x78]
call fcn.00403dac
push dword [ebp - 0x1b4]
push 0x4771e8
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403ec8
lea eax, [ebp - 0x2c]
mov edx, 0x4771f4
call fcn.00403e10
push dword [ebp - 0x2c]
push 0x477224
lea edx, [ebp - 0x1b8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x1b8]
push 0x4771e8
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403ec8
push dword [ebp - 0x2c]
push 0x477254
lea edx, [ebp - 0x1bc]
mov eax, ebx
call fcn.004085a0
push dword [ebp - 0x1bc]
push 0x4771e8
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403ec8
mov eax, dword [0x47c9a8]
cmp dword [eax], 1
jne 0x476371
lea eax, [ebp - 0x2c]
mov edx, 0x477284
call fcn.00403e10
push dword [ebp - 0x2c]
push 0x4772b4
push dword [ebp - 0x30]
push 0x4772e4
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403ec8
mov eax, dword [0x47c990]
cmp byte [eax], 0
je 0x4764f6
push 0x477304
lea edx, [ebp - 0x1c4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x1c4]
push 0x477314
push dword [ebp - 8]
lea eax, [ebp - 0x1c0]
mov edx, 4
call fcn.00403ec8
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 0x208]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x47c904]
cmp byte [eax], 0
je 0x4764f6
mov dl, 1
mov eax, dword [0x40e3c4]
call fcn.00402ed0
mov ebx, eax
push dword [ebp - 0x2c]
push 0x477320
push dword [ebp - 8]
lea eax, [ebp - 0x1c8]
mov edx, 3
call fcn.00403ec8
mov edx, dword [ebp - 0x1c8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x47cb30]
cmp dword [eax], 0
jne 0x476463
mov eax, dword [0x47cb30]
mov edx, dword [0x47cb90]
mov edx, dword [edx]
call fcn.00403bdc
mov edx, dword [0x47cb30]
mov edx, dword [edx]
lea eax, [ebp - 0x1cc]
mov ecx, 0x477330
call fcn.00403e54
mov eax, dword [ebp - 0x1cc]
call fcn.004731f4
test al, al
jne 0x4764ad
mov edx, dword [0x47cb30]
mov edx, dword [edx]
lea eax, [ebp - 0x1d0]
mov ecx, 0x477330
call fcn.00403e54
mov eax, dword [ebp - 0x1d0]
call fcn.00408a08
mov eax, dword [0x47cb30]
push dword [eax]
push 0x477340
lea eax, [ebp - 0x1d8]
lea edx, [ebp - 0x78]
call fcn.00403dac
push dword [ebp - 0x1d8]
push 0x47735c
lea eax, [ebp - 0x1d4]
mov edx, 4
call fcn.00403ec8
mov edx, dword [ebp - 0x1d4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, ebx
call fcn.00402f00
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
mov edx, dword [ebp - 0x2c]
call fcn.0046ff30
mov eax, dword [0x47caec]
cmp byte [eax], 0
je 0x4765b6
lea eax, [ebp - 0x1dc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x1e0], 0xb
lea edx, [ebp - 0x1ec]
mov ecx, 1
mov eax, 0x47736c
call fcn.00409154
mov eax, dword [ebp - 0x1dc]
push eax
call fcn.00409724
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1f0]
mov eax, 0x477384
call fcn.0040a30c
mov edx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x24]
pop ecx
call fcn.00403e54
mov eax, dword [0x47ca58]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [0x47ca94]
mov edx, dword [edx]
mov eax, dword [0x47ca58]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov byte [ebp - 0x31], 0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x20], eax
push 0x4773a4
lea edx, [ebp - 0x1f8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x1f8]
push 0x4773b4
lea eax, [ebp - 0x1f4]
mov edx, 3
call fcn.00403ec8
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x180]
mov ecx, 0xff
call fcn.00403de4
lea edx, [ebp - 0x180]
lea eax, [ebp - 0x58]
mov cl, 0x1f
call fcn.00402aac
xor eax, eax
mov al, byte [ebp - 0x58]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x47caac]
mov eax, dword [eax]
call fcn.00446f54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d8], 0
je 0x476e36
lea ecx, [ebp - 0x1fc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
mov edx, 0xcb
call fcn.0044f29c
cmp dword [ebp - 0x1fc], 0
je 0x476e36
lea eax, [ebp - 0x200]
call fcn.0040585c
push eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
mov edx, 0xcb
call fcn.0044f29c
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
mov ecx, 0x4773b8
call fcn.00405890
mov eax, dword [ebp - 0x204]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00405958
cmp dword [ebp - 0x200], 0
je 0x476e36
lea eax, [ebp - 0x20c]
call fcn.004041b8
push eax
lea eax, [ebp - 0x210]
call fcn.0040585c
push eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d4]
mov edx, 0xcb
call fcn.0044f29c
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
mov ecx, 0x4773b8
call fcn.00405890
mov eax, dword [ebp - 0x214]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00405958
mov eax, dword [ebp - 0x210]
push eax
mov eax, dword [eax]
call dword [eax + 0xe8]
call fcn.00405958
mov edx, dword [ebp - 0x20c]
lea eax, [ebp - 0x28]
call fcn.00403dd0
xor eax, eax
push ebp
push 0x476e2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x58]
call fcn.00403dac
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x28]
call fcn.004040f4
mov ebx, eax
test ebx, ebx
jle 0x476d02
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x28]
call fcn.00408230
mov edx, dword [ebp - 0x220]
mov eax, 0x4773d0
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x476895
push 0x4773e0
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x228]
push 0x477410
mov eax, dword [ebp - 4]
push dword [eax + 0x2e4]
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00403ec8
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 0x28]
call fcn.0047388c
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
mov edx, 0x477424
call fcn.00403e54
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x10], 0xfffffffd
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x28]
call fcn.0047388c
mov ecx, dword [ebp - 0x238]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.004758b8
mov byte [ebp - 0x31], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e49
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x28]
call fcn.00408230
mov edx, dword [ebp - 0x23c]
mov eax, 0x477450
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x476922
push 0x477468
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x244]
push 0x477410
mov eax, dword [ebp - 4]
push dword [eax + 0x2e4]
lea eax, [ebp - 0x240]
mov edx, 4
call fcn.00403ec8
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x10], 0xfffffffc
mov byte [ebp - 0x31], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e49
mov edx, dword [ebp - 0x28]
mov eax, 0x477488
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x476e22
lea eax, [ebp - 0x248]
push eax
lea edx, [esi + 9]
mov ecx, 3
mov eax, dword [ebp - 0x28]
call fcn.00404010
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x14]
call fcn.00402c08
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x476ceb
lea eax, [ebp - 0x250]
push eax
mov ecx, esi
sub ecx, ebx
sub ecx, dword [ebp - 0x18]
sub ecx, 2
mov edx, dword [ebp - 0x18]
add edx, ebx
inc edx
mov eax, dword [ebp - 0x28]
call fcn.00404010
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.00408420
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov eax, dword [0x47c9a8]
cmp dword [eax], 1
jne 0x4769d2
lea ecx, [ebp - 0x254]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004757d0
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov eax, dword [ebp - 0x28]
call fcn.00403e08
dec eax
jle 0x476a31
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0xa3
jne 0x476a0c
lea eax, [ebp - 0x28]
call fcn.00403fd8
mov byte [eax], 0x20
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 0x28]
call fcn.00408420
mov edx, dword [ebp - 0x258]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov eax, dword [ebp - 0x28]
call fcn.00403e08
mov edx, dword [ebp - 0x28]
cmp byte [edx + eax - 1], 0xa3
jne 0x476a31
mov eax, dword [ebp - 0x28]
call fcn.00403e08
mov edx, eax
dec edx
lea eax, [ebp - 0x28]
call fcn.0040413c
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0x4774a0
mov edx, 0x4774ac
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov eax, dword [ebp - 0x28]
call fcn.00403e08
cmp eax, 0x7d0
jle 0x476bff
mov dl, 1
mov eax, dword [0x40e3c4]
call fcn.00402ed0
mov ebx, eax
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x476be9
inc eax
mov dword [ebp - 0x38], eax
xor esi, esi
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x264]
mov ecx, 0x4774b8
mov edx, 0x4774c4
call fcn.0040bc74
mov ecx, dword [ebp - 0x260]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x26c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x26c]
mov ecx, 0x4771e8
mov edx, 0x4774d4
call fcn.0040bc74
mov ecx, dword [ebp - 0x268]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x274]
mov ecx, 0x4774e4
mov edx, 0x4774f0
call fcn.0040bc74
mov ecx, dword [ebp - 0x270]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x27c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x27c]
mov ecx, 0x4774b8
mov edx, 0x477500
call fcn.0040bc74
mov ecx, dword [ebp - 0x278]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x284]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x284]
mov ecx, 0x4771e8
mov edx, 0x47750c
call fcn.0040bc74
mov ecx, dword [ebp - 0x280]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
inc esi
dec dword [ebp - 0x38]
jne 0x476a9f
lea edx, [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
call fcn.00402f00
jmp 0x476ce0
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x288]
push eax
mov ecx, 0x4774b8
mov edx, 0x4774c4
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x288]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x28c]
push eax
mov ecx, 0x4771e8
mov edx, 0x4774d4
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x28c]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x290]
push eax
mov ecx, 0x4774e4
mov edx, 0x4774f0
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x290]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x294]
push eax
mov ecx, 0x4774b8
mov edx, 0x477500
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x294]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov al, byte [0x477494]
push eax
lea eax, [ebp - 0x298]
push eax
mov ecx, 0x4771e8
mov edx, 0x47750c
mov eax, dword [ebp - 0x28]
call fcn.0040bc74
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x28]
call fcn.00403c20
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00403bdc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x31], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e49
lea edx, [ebp - 0x29c]
mov eax, dword [ebp - 0x28]
call fcn.00408230
mov edx, dword [ebp - 0x29c]
mov eax, 0x4773d0
call fcn.004040f4
mov esi, eax
test esi, esi
jle 0x476e22
push 0x4773e0
lea edx, [ebp - 0x2a4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
push dword [ebp - 0x2a4]
push 0x477410
mov eax, dword [ebp - 4]
push dword [eax + 0x2e4]
lea eax, [ebp - 0x2a0]
mov edx, 4
call fcn.00403ec8
mov edx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x2a8]
mov eax, dword [ebp - 0x28]
call fcn.0047388c
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x2b0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.004085a0
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2ac]
mov edx, 0x477424
call fcn.00403e54
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x28]
call fcn.0047388c
mov ecx, dword [ebp - 0x2b4]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.004758b8
mov dword [ebp - 0x10], 0xfffffffd
mov byte [ebp - 0x31], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e36
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
cmp eax, 0x2328
jbe 0x476629
cmp byte [ebp - 0x31], 0
jne 0x476ee6
mov dword [ebp - 0x10], 0xfffffffe
mov edx, 0x477510
lea eax, [ebp - 0x2fc]
call fcn.00402a90
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x2fc]
mov cl, 0x3d
call fcn.00402a60
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x33c]
call fcn.00402a90
mov edx, 0x477530
lea eax, [ebp - 0x33c]
mov cl, 0x3f
call fcn.00402a60
lea edx, [ebp - 0x33c]
lea eax, [ebp - 0x2bc]
call fcn.00403dac
push dword [ebp - 0x2bc]
mov eax, dword [ebp - 4]
push dword [eax + 0x2e4]
push 0x47753c
lea eax, [ebp - 0x2b8]
mov edx, 3
call fcn.00403ec8
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x47caec]
cmp byte [eax], 0
je 0x476fcd
lea eax, [ebp - 0x340]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 0x1e0], 0
lea edx, [ebp - 0x1ec]
mov ecx, 1
mov eax, 0x477548
call fcn.00409154
mov eax, dword [ebp - 0x340]
push eax
call fcn.00409724
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x344]
mov eax, 0x477384
call fcn.0040a30c
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x24]
pop ecx
call fcn.00403e54
cmp byte [ebp - 0x31], 0
je 0x476f7d
lea eax, [ebp - 0x24]
mov edx, 0x477560
call fcn.00403e10
jmp 0x476f8a
lea eax, [ebp - 0x24]
mov edx, 0x47756c
call fcn.00403e10
push dword [ebp - 0x24]
push 0x477578
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x348]
mov edx, 3
call fcn.00403ec8
mov edx, dword [ebp - 0x348]
mov eax, dword [0x47ca58]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [0x47ca94]
mov edx, dword [edx]
mov eax, dword [0x47ca58]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2e0], edx
mov eax, dword [0x47cbf8]
mov eax, dword [eax]
xor edx, edx
call fcn.00445424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4770c8
lea eax, [ebp - 0x348]
mov edx, 3
call fcn.00403bac
lea eax, [ebp - 0x2bc]
mov edx, 0x29
call fcn.00403bac
lea eax, [ebp - 0x218]
call fcn.0040585c
lea eax, [ebp - 0x214]
call fcn.0040585c
lea eax, [ebp - 0x210]
call fcn.0040585c
lea eax, [ebp - 0x20c]
call fcn.004041b8
lea eax, [ebp - 0x208]
call fcn.0040585c
lea eax, [ebp - 0x204]
call fcn.0040585c
lea eax, [ebp - 0x200]
call fcn.0040585c
lea eax, [ebp - 0x1fc]
call fcn.0040585c
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.00403bac
lea eax, [ebp - 0x1dc]
mov edx, 0xb
call fcn.00403bac
lea eax, [ebp - 0x190]
mov edx, 4
call fcn.00403bac
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00403bac
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00403bac
lea eax, [ebp - 8]
call fcn.00403b88
ret