Function at 0x4834c8
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x48], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48470c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebx + 0x64]
lea edx, [eax + 0x469]
lea eax, [ebx + 0x78]
mov ecx, pe_nt_image_headers32
call fcn.00402900
mov eax, dword [ebx + 0x64]
lea edx, [eax + 0x369]
lea eax, [ebx + 0x414]
mov ecx, pe_nt_image_headers32
call fcn.00402900
cmp dword [ebx + 0x17c], 0
setne dl
mov eax, dword [ebx + 0x64]
mov byte [eax + 0x362], dl
cmp dword [ebx + 0x414], 0
setne dl
mov byte [eax + 0x361], dl
mov edx, dword [ebx + 0x404]
mov dword [eax + 0x365], edx
cmp dword [ebx + 0x79c], 0
setne dl
mov byte [eax + 0x364], dl
add eax, 0x365
sub eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x54]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x308
mov eax, dword [ebx + 0x64]
add eax, 0x365
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebx + 0x64]
add eax, 0x360
sub eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x54]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 5
mov eax, dword [ebx + 0x64]
add eax, 0x360
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebx + 0x64]
add eax, 0x365
sub eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x54]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x308
mov eax, dword [ebx + 0x64]
add eax, 0x365
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_WriteProcessMemory
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x20]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0x1c
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0x20
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 0x16c]
mov dword [ebp - 0x28], eax
push 0xc
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x28]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a10c
mov eax, dword [ebx + 0x64]
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0x230], edx
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x234], edx
mov edx, dword [ebp - 0x98]
mov dword [eax + 0x238], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x51c]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
fild qword [ebp - 0xb4]
fstp dword [ebp - 0x78]
wait
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x140]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x48]
mov eax, 8
call fcn.004084f8
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x790], eax
mov eax, dword [0x4895c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edi, eax
test edi, edi
jge 0x483741
mov eax, dword [0x4895c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x48]
call fcn.00419ab8
mov eax, dword [0x4895c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x22c]
call fcn.0043d884
dec eax
test eax, eax
jl 0x483791
inc eax
mov dword [ebp - 0x84], eax
xor edi, edi
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x22c]
mov edx, edi
call fcn.0043d8b4
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x790]
je 0x483791
inc edi
dec dword [ebp - 0x84]
jne 0x48376d
mov eax, dword [0x4895c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x22c]
call fcn.0043d884
test eax, eax
je 0x4837ce
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x22c]
call fcn.0043d884
cmp edi, eax
jl 0x48383d
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x160]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x48]
call fcn.0047a13c
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x22c]
call fcn.0043d828
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebx + 0x790]
xor edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.0043d480
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x7c]
call fcn.0043d2c8
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 8]
mov edx, 0x484728
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x7c]
call fcn.0043d754
mov eax, ebx
call fcn.00482b7c
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a1e4
push 0x12c
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0xd], 0
jne 0x4846f6
cmp byte [ebx + 0x40], 0
jne 0x4846f6
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx + 0x48]
call fcn.0047a080
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebx + 0x48]
call fcn.0047a080
mov edi, eax
and edi, 0xff
cmp dword [ebp - 0x20], 1
jne 0x4838a6
cmp edi, 2
je 0x4838b5
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 0x10
jg 0x4846f6
jmp 0x4838ba
xor eax, eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x20], 0
jne 0x4838c8
test edi, edi
je 0x4846f6
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x20]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0x1c
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0x20
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov esi, eax
test esi, esi
jne 0x48390d
push 0x1f4
call sub.kernel32.dll_Sleep_1
jmp 0x4846e2
mov edi, dword [ebx + 0x64]
mov dword [edi + 0x30], esi
mov edx, dword [edi + 0x120]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edx, dword [ebx + 0x64]
mov dword [edx + 0x48], eax
cmp dword [ebx + 0x798], 0
je 0x483946
mov eax, dword [0x4895c8]
mov eax, dword [eax]
mov edx, dword [eax + 0x334]
mov eax, ebx
call fcn.00483018
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x144]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x144]
add edx, esi
add edx, 4
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x148]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x148]
add edx, esi
add edx, 4
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x2c], 0
jne 0x483cf0
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x144]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x483cf0
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a968
push 0xc8
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a968
mov edi, 0x29
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x144]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x483a4a
cmp byte [ebx + 0xd], 0
jne 0x4846f6
cmp byte [ebx + 0x40], 0
jne 0x4846f6
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
dec edi
jne 0x4839fd
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x13c]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
cmp eax, 3
jne 0x483bcb
xor edi, edi
mov eax, edi
and eax, 0xff
mov edx, eax
shl edx, 2
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 0x48]
add eax, 0x10
add edx, eax
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x483bcb
mov edx, dword [ebp - 8]
add edx, 0x1c
mov eax, dword [ebx + 0x48]
call fcn.0047a0dc
fcomp dword [0x48472c]
fnstsw ax
sahf
jne 0x483bc1
mov ecx, 0x149
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047abc0
push 0xc8
call sub.kernel32.dll_Sleep_1
mov ecx, 0x149
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047abc0
mov dword [ebp - 0x4c], 0xd
push 0x3e8
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0xd], 0
jne 0x4846f6
cmp byte [ebx + 0x40], 0
jne 0x4846f6
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
dec dword [ebp - 0x4c]
jne 0x483ae2
mov ecx, edi
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a75c
mov dword [ebp - 0x4c], 4
push 0x3e8
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0xd], 0
jne 0x4846f6
cmp byte [ebx + 0x40], 0
jne 0x4846f6
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
dec dword [ebp - 0x4c]
jne 0x483b29
mov dword [ebp - 0x4c], 5
mov ecx, 0x14a
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047abc0
push 0x640
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0xd], 0
jne 0x4846f6
cmp byte [ebx + 0x40], 0
jne 0x4846f6
mov edx, dword [ebp - 8]
add edx, 0x1c
mov eax, dword [ebx + 0x48]
call fcn.0047a0dc
fld xword [0x484730]
fcompp
fnstsw ax
sahf
jb 0x483bc1
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
dec dword [ebp - 0x4c]
jne 0x483b63
inc edi
cmp edi, 0xa
jne 0x483a68
push 0xc
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x28]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a10c
lea eax, [ebx + 0x530]
mov dword [ebp - 0x6c], eax
push 0x42c80000
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x6c]
call fcn.0047b120
test al, al
je 0x483c0e
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x118]
add edx, esi
add edx, 4
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0xc
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 0x30
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x483cdc
fld dword [ebp - 0x9c]
fadd dword [0x48473c]
fstp dword [ebp - 0x9c]
wait
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, ebx
call fcn.00482578
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x408]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x40c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x410]
mov dword [ebp - 0x98], eax
fld dword [ebp - 0x9c]
fcomp dword [ebp - 0x70]
fnstsw ax
sahf
jae 0x483cb9
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, ebx
call fcn.00482578
lea edx, [ebx + 0x408]
xor ecx, ecx
mov eax, ebx
call fcn.00482578
jmp 0x4846e2
lea edx, [ebx + 0x408]
xor ecx, ecx
mov eax, ebx
call fcn.00482388
jmp 0x4846e2
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x14c]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x483d2e
imul eax, dword [ebp - 0x2c], 0x64
mov edx, dword [ebx + 0x3dc]
imul edx, dword [ebp - 0x34]
cmp eax, edx
jae 0x483d2e
mov ecx, 1
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047aa1c
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x150]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x483d6c
imul eax, dword [ebp - 0x30], 0x64
mov edx, dword [ebx + 0x3e0]
imul edx, dword [ebp - 0x38]
cmp eax, edx
jae 0x483d6c
mov ecx, 2
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047aa1c
push 0xc
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x28]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a10c
cmp dword [ebx + 0x74], 0
je 0x483e49
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x130]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
cmp edi, 1
jne 0x483e2e
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], 0x43580000
push 0x3f800000
lea edx, [ebp - 0x94]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
jne 0x483e11
lea ecx, [ebp - 0x94]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a4a4
push 0x1f4
call sub.kernel32.dll_Sleep_1
jmp 0x4846e2
xor edi, edi
lea ecx, [ebp - 0x94]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a4a4
push 0x1f4
call sub.kernel32.dll_Sleep_1
test edi, edi
jne 0x483e49
mov cl, 1
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047aa9c
push 0x320
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x110]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
cmp dword [ebp - 0x3c], 0
je 0x483faa
cmp dword [ebx + 0x190], 0
jne 0x483e79
test edi, edi
jne 0x483faa
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
cmp dword [ebp - 0x3c], 1
jne 0x483e9c
mov eax, dword [ebx + 0x64]
add eax, 0x230
mov dword [ebp - 0x6c], eax
jmp 0x483eb6
cmp dword [ebp - 0x3c], 2
jne 0x483ead
lea eax, [ebx + 0x408]
mov dword [ebp - 0x6c], eax
jmp 0x483eb6
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
push 0x40600000
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x6c]
call fcn.0047b120
test al, al
jne 0x483f96
push 0x40000000
lea edx, [ebp - 0xac]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
je 0x483f19
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], 5
jle 0x483f19
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047aed0
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047aed0
xor eax, eax
mov dword [ebp - 0x60], eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x4e20
jae 0x483f96
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a4a4
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x48]
add edx, 8
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x4846e2
cmp dword [ebx + 0x190], 0
je 0x483f87
cmp dword [ebp - 0x3c], 1
jne 0x483f87
test edi, edi
jne 0x483f87
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a218
test eax, eax
je 0x483f87
push 0xc8
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 0x54]
mov eax, ebx
call fcn.00484740
jmp 0x4846e2
cmp dword [ebx + 0x178], 0
je 0x483faa
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a348
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
test edi, edi
jl 0x484547
mov dword [ebx + 0x188], 1
cmp dword [ebx + 0x190], 0
je 0x483fff
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a218
test eax, eax
je 0x483fff
push 0xc8
call sub.kernel32.dll_Sleep_1
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a790
cmp dword [ebx + 0x178], 0
je 0x484013
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a348
mov eax, ebx
call fcn.00482d50
cmp eax, 0x3c
jl 0x4846f6
mov dword [ebp - 0x68], 4
cmp dword [ebx + 0x400], 0
je 0x484056
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebx + 0x400]
jbe 0x484059
xor eax, eax
mov dword [ebx + 0x400], eax
dec dword [ebp - 0x68]
jmp 0x484059
dec dword [ebp - 0x68]
cmp dword [ebx + 0x3f4], 0
je 0x484099
mov eax, dword [ebx + 0x3f4]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x3f4]
shr edi, 0x10
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e408
cmp edi, eax
ja 0x48409c
xor eax, eax
mov dword [ebx + 0x3f4], eax
dec dword [ebp - 0x68]
jmp 0x48409c
dec dword [ebp - 0x68]
cmp dword [ebx + 0x514], 0
je 0x4840d3
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x164]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebx + 0x514]
jb 0x4840d6
xor eax, eax
mov dword [ebx + 0x514], eax
dec dword [ebp - 0x68]
jmp 0x4840d6
dec dword [ebp - 0x68]
cmp dword [ebx + 0x518], 0
je 0x48410c
mov cx, word [ebx + 0x518]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e0c4
and eax, 0xff
cmp eax, 3
je 0x4840ff
test eax, eax
jne 0x48410f
xor eax, eax
mov dword [ebx + 0x518], eax
dec dword [ebp - 0x68]
jmp 0x48410f
dec dword [ebp - 0x68]
cmp dword [ebp - 0x68], 0
jle 0x4846f2
cmp dword [ebx + 0x3e4], 0
je 0x484166
mov eax, dword [ebx + 0x3e4]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x3e4]
shr edi, 0x10
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e408
cmp edi, eax
jbe 0x484166
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x3e8], 0
je 0x4841b3
mov eax, dword [ebx + 0x3e8]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x3e8]
shr edi, 0x10
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e408
cmp edi, eax
jbe 0x4841b3
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x3ec], 0
je 0x484200
mov eax, dword [ebx + 0x3ec]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x3ec]
shr edi, 0x10
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e408
cmp edi, eax
jbe 0x484200
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x3f0], 0
je 0x48424d
mov eax, dword [ebx + 0x3f0]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x3f0]
shr edi, 0x10
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e408
cmp edi, eax
jbe 0x48424d
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x3f8], 0
je 0x484282
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e560
cmp eax, 0xff
jne 0x484282
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x3fc], 0
je 0x4842b5
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047eab0
cmp eax, 0x32
jae 0x4842b5
mov edx, 1
mov eax, ebx
call fcn.00481e20
xor edx, edx
mov eax, ebx
call fcn.00481e20
jmp 0x4846e2
cmp dword [ebx + 0x51c], 0
je 0x484321
push dword [ebp - 0x78]
lea edx, [ebx + 0x408]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
jne 0x484321
lea ecx, [ebx + 0x408]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a4a4
push 0xc8
call sub.kernel32.dll_Sleep_1
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
jmp 0x4846e2
cmp dword [ebx + 0x180], 0
je 0x4843c2
cmp dword [ebx + 0x178], 0
je 0x4843c2
push 0x41000000
mov eax, dword [ebx + 0x64]
lea edx, [eax + 0x230]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
jne 0x4843c2
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x64]
lea ecx, [eax + 0x230]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a268
test al, al
je 0x4843c2
mov eax, dword [ebx + 0x64]
lea ecx, [eax + 0x230]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a4a4
push 0xc8
call sub.kernel32.dll_Sleep_1
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
jmp 0x4846e2
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x110]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
test edi, edi
jl 0x4845c9
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a218
test eax, eax
jne 0x4845c9
push 0xc8
call sub.kernel32.dll_Sleep_1
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a218
test eax, eax
jne 0x4845c9
mov dword [ebp - 0x3c], 2
cmp dword [ebx + 0x798], 0
je 0x4844df
cmp dword [ebx + 0x79c], 0
je 0x4844df
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x128]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
test edi, edi
je 0x4844df
lea edx, [edi + 0x14]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
lea edx, [edi + 0xc]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x790]
je 0x4844df
push 0xc
mov eax, dword [ebx + 0x64]
lea ecx, [eax + 0x230]
lea edx, [edi + 0x34]
mov eax, dword [ebx + 0x48]
call fcn.0047a10c
xor eax, eax
mov dword [ebp - 0x3c], eax
push 0x41200000
mov eax, dword [ebx + 0x64]
lea edx, [eax + 0x230]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
jne 0x4844df
push 0x42b40000
mov eax, dword [ebx + 0x64]
lea edx, [eax + 0x230]
lea eax, [ebp - 0xa0]
call fcn.0047b120
test al, al
je 0x4844df
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], eax
push 0xc8
call sub.kernel32.dll_Sleep_1
cmp dword [ebx + 0x190], 0
je 0x484538
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x48]
add edx, 8
mov eax, dword [ebx + 0x48]
call fcn.0047a050
test eax, eax
jl 0x484538
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a790
cmp dword [ebp - 0x3c], 0
jne 0x4846e2
jmp 0x4845c9
mov eax, edi
mov ecx, 0x301
xor edx, edx
div ecx
shl edx, 2
mov eax, dword [ebx + 0x64]
add edx, dword [eax + 0x38]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
test edi, edi
je 0x4845c9
lea edx, [edi + 4]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov edi, eax
lea edx, [edi + 0xb4]
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
jne 0x4845ae
cmp dword [ebx + 0x180], 0
je 0x4845c9
push 0xc
mov eax, dword [ebx + 0x64]
lea ecx, [eax + 0x230]
lea edx, [edi + 0x3c]
mov eax, dword [ebx + 0x48]
call fcn.0047a10c
jmp 0x4845c9
xor ecx, ecx
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a218
test eax, eax
je 0x4845c9
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x13c]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jne 0x48464d
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x48]
add edx, 8
mov eax, dword [ebx + 0x48]
call fcn.0047a050
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x48460b
mov edx, dword [ebp - 0x54]
mov eax, ebx
call fcn.00484740
jmp 0x48464d
cmp dword [ebx + 0x184], 0
je 0x48464d
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x48]
add edx, 0x10
mov eax, dword [ebx + 0x48]
call fcn.0047a050
test eax, eax
je 0x48464d
mov ecx, dword [ebx + 0x184]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e188
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x48464d
mov edx, dword [ebp - 0x54]
mov eax, ebx
call fcn.00484740
mov eax, dword [ebp - 0x34]
shr eax, 1
cmp eax, dword [ebp - 0x2c]
jae 0x4846e2
mov eax, dword [ebp - 0x38]
shr eax, 4
cmp eax, dword [ebp - 0x30]
jae 0x4846e2
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + 0x12c]
add edx, esi
mov eax, dword [ebx + 0x48]
call fcn.0047a050
test eax, eax
jne 0x4846cb
xor edi, edi
mov esi, dword [ebx + edi*4 + 0x194]
test esi, esi
je 0x4846cb
mov ecx, esi
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047e028
test eax, eax
jne 0x4846c5
mov ecx, dword [ebx + edi*4 + 0x194]
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047abc0
push 0x12c
call sub.kernel32.dll_Sleep_1
mov dword [ebp - 0x50], 1
jmp 0x4846cb
inc edi
cmp edi, 8
jne 0x484684
cmp dword [ebp - 0x18], 3
je 0x4846e2
cmp dword [ebp - 0x50], 0
jne 0x4846e2
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x48]
call fcn.0047a728
cmp byte [ebx + 0xd], 0
jne 0x4846f2
cmp byte [ebx + 0x40], 0
je 0x483851
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484713
lea eax, [ebp - 0x48]
call fcn.00404120
ret