Function at 0x479b50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x44
push 0
push 0
dec ecx
jne 0x479b59
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x21]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov ebx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x21]
mov edx, dword [0x458150]
call fcn.00405a48
xor eax, eax
push ebp
push 0x47af1c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045ebd0
test al, al
je 0x479bd0
cmp byte [0x58772c], 0
je 0x479bd0
cmp dword [0x587724], 0
jne 0x479bd0
mov eax, dword [0x5837ec]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x479bd0
mov byte [ebp - 0xb9], 1
jmp 0x47ae8d
mov byte [ebp - 0xb9], 0
call fcn.0040c3b4
fstp qword [0x5877e0]
wait
mov eax, dword [ebp - 0x2c]
mov dword [0x57c080], eax
mov dword [0x5877e8], 1
xor edx, edx
push ebp
push 0x47ae68
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004072b0
mov byte [eax + 0x181], 1
mov ecx, dword [0x58769c]
mov dl, 1
mov eax, dword [0x458088]
call fcn.0047d250
mov dword [ebp - 0x6c], eax
xor edx, edx
push ebp
push 0x47ae57
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x28], 0
je 0x479c40
mov eax, dword [ebp - 0x28]
mov dword [0x58775c], eax
test bl, bl
je 0x479c53
cmp dword [ebp - 0x28], 0
je 0x479c53
mov eax, dword [ebp - 0x28]
sub eax, 5
mov dword [ebp - 0x28], eax
call fcn.004797cc
cmp esi, dword [0x584668]
je 0x479c68
mov ebx, dword [0x584668]
jmp 0x479c70
mov ebx, dword [0x5830c0]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [0x587980], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x58797c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x587984], eax
cmp byte [0x57bb54], 0
je 0x479d00
call fcn.00472e4c
call fcn.0045cfd4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x479e1b
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x5876ac]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x1ac]
call fcn.00472e00
mov edx, dword [ebp - 0x1ac]
mov eax, dword [0x5876ac]
call fcn.0042f728
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x5c]
call fcn.004052ec
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov edx, eax
mov eax, dword [0x5876ac]
call fcn.0042f744
jmp 0x479e1b
xor eax, eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x28], 0
je 0x479d26
mov dword [0x5877e8], 0x65
mov eax, dword [ebp - 0x28]
call fcn.0045d08c
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x479d3b
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x479d82
mov dword [0x5877e8], 0x66
mov eax, esi
call fcn.0045cfd4
mov dword [ebp - 0xd0], eax
mov dword [0x5877e8], 0x67
cmp dword [ebp - 0xd0], 0
je 0x479d75
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x479d82
test ebx, ebx
je 0x479d82
mov eax, ebx
call fcn.0045cfd4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x5876ac]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x5876ac]
test byte [eax + 0x331], 8
je 0x479df6
test ebx, ebx
je 0x479df6
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, ebx
call fcn.0045cfd4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x479dd5
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x479de3
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
jmp 0x479df6
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x5876ac]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 4]
mov eax, dword [0x5876ac]
call fcn.0042f728
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [0x5876ac]
call fcn.0042f744
xor edx, edx
mov eax, dword [0x5876ac]
call fcn.0042f8ec
lea ecx, [ebp - 0x1b0]
mov dl, 0x9a
mov eax, dword [0x5876ac]
call fcn.0042dbf8
mov edx, dword [ebp - 0x1b0]
mov eax, 0x57c094
call fcn.00404e64
lea ecx, [ebp - 0x1b4]
mov dl, 0x9b
mov eax, dword [0x5876ac]
call fcn.0042dbf8
mov edx, dword [ebp - 0x1b4]
mov eax, 0x57c098
call fcn.00404e64
mov dword [0x5877e8], 0x68
call fcn.0042d050
test al, al
je 0x479ebf
mov eax, dword [0x5876ac]
mov dx, word [0x47af38]
not edx
and dx, word [eax + 0x314]
mov eax, dword [0x5876ac]
call fcn.0042fab4
mov ecx, 0x47af44
mov dl, 0x1a
mov eax, dword [0x5876ac]
call fcn.0042f698
mov ecx, 0x47af70
mov dl, 0x1b
mov eax, dword [0x5876ac]
call fcn.0042f698
mov dword [0x5877e8], 2
xor eax, eax
call fcn.00464b30
mov byte [ebp - 0xc1], 2
mov byte [ebp - 0xc2], 0
mov eax, dword [0x5876ac]
mov al, byte [eax + 0x6a]
mov byte [0x587938], al
mov byte [0x587939], 0
cmp byte [ebp + 8], 2
je 0x47a032
mov eax, dword [0x5876ac]
cmp byte [eax + 0x2ed], 0
je 0x47a032
push ebp
mov eax, dword [ebp - 0x2c]
call fcn.004760d4
pop ecx
mov dword [ebp - 0xc0], eax
mov dword [0x5877e8], 0xc9
cmp dword [ebp - 0xc0], 0xffffffff
je 0x47a032
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.0042d734
mov al, byte [eax + 0xc]
mov byte [ebp - 0xc2], al
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.0042d734
mov al, byte [eax + 0xb]
mov byte [ebp - 0xc1], al
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.0042d734
movzx eax, byte [eax + 0xa]
cmp eax, 4
ja case.default.0x479f89
jmp dword [eax*4 + 0x479f90]
mov byte [0x587938], 0
jmp case.default.0x479f89
mov eax, dword [0x5876ac]
mov al, byte [eax + 0x6a]
mov byte [0x587938], al
jmp case.default.0x479f89
mov byte [0x587938], 1
jmp case.default.0x479f89
mov byte [0x587938], 2
jmp case.default.0x479f89
mov byte [0x587938], 3
mov byte [0x587939], 1
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.0042d734
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1b8]
call fcn.0042c3b0
cmp dword [ebp - 0x1b8], 0
je 0x47a032
mov eax, dword [0x5876ac]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.0042d734
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1bc]
call fcn.0042c3b0
mov eax, dword [ebp - 0x1bc]
call fcn.00464b30
call fcn.00479734
mov byte [ebp - 0xba], al
mov dword [0x5877e8], 3
cmp byte [ebp - 0xc1], 2
jne 0x47adf9
cmp dword [ebp - 0x14], 0
jne 0x47a062
call fcn.0045ad2c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jne 0x47a076
call fcn.004072b0
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
jne 0x47a098
call fcn.004072b0
cmp dword [eax + 0x64], 0
je 0x47a098
call fcn.004072b0
lea eax, [eax + 0x64]
mov dword [ebp - 0x20], eax
mov edx, 0xcc
mov eax, dword [ebp - 0x20]
call fcn.0042c8f0
test al, al
jne 0x47a0ae
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x47a0c2
call fcn.004072b0
lea eax, [eax + 0x130]
mov dword [ebp - 0x1c], eax
mov edx, 0x50
mov eax, dword [ebp - 0x1c]
call fcn.0042c8f0
test al, al
jne 0x47a0d8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x587760], eax
mov dword [0x5877e8], 4
cmp dword [0x587794], 0
je 0x47a10b
mov edx, dword [ebp - 0x28]
add edx, 5
mov eax, dword [0x587794]
call fcn.00462d84
test al, al
jne 0x47a56a
cmp dword [0x57c06c], 0
je 0x47a11e
mov eax, dword [0x57c06c]
call fcn.00403ec0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x47a14c
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x47af80]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.0046490c
mov dword [0x57c06c], eax
jmp 0x47a151
mov dword [0x57c06c], eax
lea eax, [ebp - 0x1c0]
call fcn.00473f04
push dword [ebp - 0x1c0]
push ebp
lea eax, [ebp - 0x1c4]
call fcn.004738d8
pop ecx
push dword [ebp - 0x1c4]
push ebp
lea eax, [ebp - 0x1c8]
call fcn.00473a40
pop ecx
push dword [ebp - 0x1c8]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.004051ac
mov eax, dword [0x57c06c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47a2c0
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
cmp byte [eax], 4
jne 0x47a2ae
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
mov ebx, dword [eax + 5]
xor edx, edx
mov eax, dword [0x57c06c]
call fcn.0047d0b0
cmp ebx, dword [eax + 5]
jne 0x47a2ae
push dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
lea edx, [eax + 0x59]
lea eax, [ebp - 0x1cc]
call fcn.00405074
push dword [ebp - 0x1cc]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
lea edx, [eax + 0x159]
lea eax, [ebp - 0x1d0]
call fcn.00405074
push dword [ebp - 0x1d0]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
lea edx, [eax + 0x259]
lea eax, [ebp - 0x1d4]
call fcn.00405074
push dword [ebp - 0x1d4]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x57c06c]
call fcn.0047d0b0
mov eax, dword [eax + 0x35d]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1d8]
call fcn.00409df8
push dword [ebp - 0x1d8]
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.004051ac
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47a1ba
mov eax, dword [ebp - 0xcc]
call fcn.0043dd24
movzx eax, ax
lea ecx, [ebp - 0x1dc]
mov edx, 4
call fcn.00409e20
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0xcc]
call fcn.00404ea8
mov eax, 0x587934
mov edx, dword [ebp - 0xcc]
call fcn.00404e64
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4b0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffff
je 0x47a32c
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.00479868
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47a3d8
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x47a3c6
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.004798dc
test al, al
je 0x47a3c6
mov eax, dword [0x58769c]
call fcn.0047d514
xor eax, eax
push ebp
push 0x47a3bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a3c6
mov eax, dword [0x58769c]
call fcn.0047d520
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47a34c
xor eax, eax
push ebp
push 0x47a563
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47a4e8
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x47a4d6
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.004798dc
test al, al
je 0x47a4d6
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x1a8]
xor ecx, ecx
mov edx, 0xcc
call fcn.0040374c
mov dword [ebp - 0x1a8], 0x10003
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x47a4d6
cmp dword [ebp - 0xf0], 0
je 0x47a4d6
cmp dword [ebp - 0xe4], 0
je 0x47a4d6
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push eax
push 1
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x47af80]
push eax
mov ecx, dword [ebp - 0xe4]
xor edx, edx
mov eax, dword [0x57c06c]
call fcn.004645e8
mov eax, dword [ebp - 0xc8]
call fcn.00479868
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47a406
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a56a
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47a562
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x47a554
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.004798dc
test al, al
je 0x47a554
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax + 4]
push eax
call fcn.004079a8
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47a511
ret
mov dword [0x5877e8], 5
cmp byte [ebp + 8], 2
je 0x47ade2
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47a643
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x47a631
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x47a631
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.0047991c
test al, al
je 0x47a631
mov eax, dword [0x58769c]
call fcn.0047d514
xor eax, eax
push ebp
push 0x47a62a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a631
mov eax, dword [0x58769c]
call fcn.0047d520
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47a59e
xor edx, edx
push ebp
push 0x47ad77
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [0x5877e8], 6
mov byte [0x587955], 1
mov eax, dword [0x5876ac]
test byte [eax + 0x2f0], 0x10
je 0x47a67a
call fcn.0045dd44
call fcn.0045e648
mov dword [0x5877e8], 7
mov eax, dword [0x57c06c]
mov dword [0x587998], eax
mov eax, dword [0x5876ac]
mov dword [0x58799c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x587988], eax
mov eax, dword [ebp - 0x20]
mov dword [0x58798c], eax
mov dword [0x5877e8], 0x2be
push ebp
call fcn.004773ec
pop ecx
cmp byte [0x57bb58], 0
je 0x47a6f3
mov eax, 0x587778
mov ecx, dword [0x587778]
mov edx, dword [ebp - 0x38]
call fcn.00405138
mov byte [0x57bb58], 0
call fcn.00404810
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ae8d
mov eax, 0x587990
mov edx, dword [0x587778]
call fcn.00404e64
mov dword [0x5877e8], 0x2bf
mov eax, dword [0x57c064]
mov dword [0x587994], eax
mov dword [0x5877e8], 0x2c0
mov dword [0x587774], 0x58797c
mov al, 1
call fcn.004610c0
mov dword [0x5877e8], 0x2c1
call fcn.0045c7fc
mov dword [0x5877e8], 0x2c2
push ebp
call fcn.00479974
pop ecx
call fcn.0045e998
test al, al
je 0x47a787
lea eax, [ebp - 0x1e4]
call fcn.00461550
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x1e0]
call fcn.0046186c
mov edx, dword [ebp - 0x1e0]
mov eax, 0x587714
call fcn.00404e64
mov eax, 0x588054
mov edx, dword [0x587714]
call fcn.00404e64
push ebp
call fcn.00479774
pop ecx
test al, al
je 0x47a7ac
mov eax, 0x4649bc
call fcn.00462cd0
cmp byte [ebp - 0x21], 0
jne 0x47a7be
mov eax, 0x461b80
call fcn.00462cd0
jmp 0x47a7c8
mov eax, 0x461c50
call fcn.00462cd0
mov dword [0x5877e8], 8
cmp byte [0x587955], 0
je 0x47acdc
call fcn.0046df80
mov eax, dword [0x5876ac]
cmp byte [eax + 0x324], 0
je 0x47a83d
call fcn.0040c3b4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1e8]
call fcn.0042c214
mov edx, dword [ebp - 0x1e8]
mov eax, dword [0x5877dc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5877dc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x5876ac]
cmp eax, dword [edx + 0x328]
jle 0x47a83d
xor edx, edx
mov eax, dword [0x5877dc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [0x5879b8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, 0x462078
call fcn.00462cd0
mov eax, dword [0x5879b8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x47a892
mov eax, dword [0x5876ac]
test byte [eax + 0x69], 0x80
je 0x47a892
lea ecx, [ebp - 0x1ec]
mov dl, 0x5b
mov eax, dword [0x5876ac]
call fcn.0042dbf8
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [0x5879b8]
mov eax, 7
call fcn.004655ec
mov dword [0x5877e8], 9
inc dword [0x5876b8]
mov dword [0x5877e8], 0xa
lea edx, [ebp - 0x1f4]
mov eax, dword [ebp - 0x2c]
call fcn.004732f0
mov eax, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f0]
call fcn.00472f5c
mov edx, dword [ebp - 0x1f0]
mov eax, 0x58776c
call fcn.00404e64
mov byte [ebp - 0xbb], 0
mov dword [0x5877e8], 0xb
cmp byte [0x587939], 0
jne 0x47a902
mov eax, dword [0x5876ac]
mov al, byte [eax + 0x6a]
mov byte [0x587938], al
lea eax, [ebp - 0x204]
call fcn.0046694c
lea esi, [ebp - 0x204]
mov edi, 0x587c24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x587938], 0
je 0x47aaeb
mov dword [0x5877e8], 0xc
mov byte [0x587954], 1
call fcn.0045c7fc
mov eax, 0x476130
call fcn.00462cd0
mov eax, dword [0x5876ac]
cmp byte [eax + 0x30c], 0
jne 0x47a969
mov eax, dword [0x5876ac]
cmp byte [eax + 0x30d], 0
jne 0x47a969
xor eax, eax
jmp 0x47a96b
mov al, 1
mov byte [0x587784], al
mov eax, dword [0x5876ac]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x587786], al
mov byte [0x587785], 0
cmp byte [0x587954], 0
je 0x47ab47
mov dword [0x5877e8], 0xd
mov al, byte [ebp + 0x10]
call fcn.00479824
sub al, 1
jb 0x47aa5a
je 0x47a9eb
dec al
jne 0x47aad5
call fcn.0045ebd0
test al, al
je 0x47a9ce
cmp dword [0x587724], 0
je 0x47a9df
push ebp
mov eax, dword [0x587778]
call fcn.00479594
pop ecx
jmp 0x47aad5
mov byte [ebp - 0xb9], 1
jmp 0x47aad5
xor eax, eax
push ebp
push 0x47aa3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
mov ecx, dword [0x587778]
mov edx, dword [ebp - 0x38]
call fcn.00405138
mov edx, dword [ebp - 0x208]
mov eax, dword [0x583050]
call fcn.00405508
call fcn.00403970
call fcn.00402dc0
mov byte [0x587954], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47aad5
xor edx, edx
push ebp
push 0x47aab8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x587938], 3
sete byte [ebp - 0xbb]
mov byte [0x587c11], 0
cmp byte [0x587938], 0
setne al
call fcn.0046cf9c
xor eax, eax
cmp byte [0x587938], 0
je 0x47aa9e
mov byte [0x587c11], 1
cmp byte [0x587938], 0
jne 0x47aa87
mov byte [0x587954], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47aad5
mov dword [0x5877e8], 0xe
mov eax, 0x476154
call fcn.00462cd0
jmp 0x47ab47
mov eax, dword [0x5876ac]
cmp byte [eax + 0x30c], 0
jne 0x47ab0b
mov eax, dword [0x5876ac]
cmp byte [eax + 0x30d], 0
jne 0x47ab0b
xor eax, eax
jmp 0x47ab0d
mov al, 1
mov byte [0x587784], al
mov eax, dword [0x5876ac]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x587786], al
call fcn.0045ebdc
test al, al
je 0x47ab47
push ebp
lea eax, [ebp - 0x20c]
call fcn.00464b44
mov eax, dword [ebp - 0x20c]
call fcn.00479594
pop ecx
cmp byte [ebp - 0xbb], 0
je 0x47ab55
call fcn.00465e04
mov eax, dword [0x5876ac]
test byte [eax + 0x2f0], 2
je 0x47ab90
lea ecx, [ebp - 0x210]
mov dl, 0x7b
mov eax, dword [0x5876ac]
call fcn.0042dbf8
mov edx, dword [ebp - 0x210]
mov eax, dword [0x5876ac]
mov ecx, dword [eax + 0x344]
mov eax, 7
call fcn.00465490
call fcn.00479734
test al, al
je 0x47abaf
lea eax, [ebp - 0x214]
call fcn.00461328
mov eax, dword [ebp - 0x214]
call fcn.0046e69c
call fcn.0046e72c
mov dword [0x5877e8], 0xf
mov eax, dword [0x5876ac]
test byte [eax + 0x2f0], 4
je 0x47ac75
call fcn.00460fd8
xor eax, eax
push ebp
push 0x47ac19
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [0x5879c8]
call fcn.0044181c
mov ecx, eax
dec ecx
mov edx, 0x47afa8
mov eax, dword [0x5879c8]
call fcn.004415b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac20
call fcn.004610a4
ret
call fcn.00479734
mov byte [ebp - 0xba], al
mov eax, dword [0x5876ac]
cmp byte [eax + 0x2ef], 0
je 0x47ac93
call fcn.00475e20
cmp byte [0x587787], 0
je 0x47aca6
mov eax, dword [0x587778]
call fcn.0045cd60
mov dword [0x5877e8], 0x10
cmp byte [ebp - 0xba], 0
je 0x47acbe
call fcn.00472110
cmp byte [ebp - 0xba], 0
je 0x47acd5
mov eax, dword [0x5876ac]
test byte [eax + 0x2f1], 0x80
jne 0x47ace3
call fcn.00472164
jmp 0x47ace3
mov byte [ebp - 0xb9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ad81
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47ad76
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x47ad68
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x47ad68
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
call fcn.0047991c
test al, al
je 0x47ad68
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0047d4e0
mov eax, dword [eax + 4]
push eax
call fcn.004079a8
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x47ad0c
ret
mov eax, dword [0x5876ac]
test byte [eax + 0x331], 0x80
je 0x47ae09
mov byte [ebp - 0xb9], 1
jmp 0x47ae09
cmp byte [ebp - 0xc1], 1
jne 0x47ae09
mov byte [ebp - 0xb9], 1
mov dword [0x5877e8], 0x12
cmp byte [ebp + 8], 2
je 0x47ae35
cmp byte [ebp - 0xba], 0
je 0x47ae30
mov eax, dword [0x5876ac]
test byte [eax + 0x2f1], 0x80
jne 0x47ae35
call fcn.00472274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ae5e
mov eax, dword [ebp - 0x6c]
call fcn.00403ec0
call fcn.004072b0
mov byte [eax + 0x181], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47af26
lea eax, [ebp - 0x224]
mov edx, 8
call fcn.00404e34
lea eax, [ebp - 0x1f4]
mov edx, 0x13
call fcn.00404e34
lea eax, [ebp - 0xd8]
call fcn.00404e10
lea eax, [ebp - 0xcc]
call fcn.00404e10
lea eax, [ebp - 0xb8]
call fcn.00404e10
lea eax, [ebp - 0x78]
call fcn.00404e10
lea eax, [ebp - 0x68]
call fcn.00404e10
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404e34
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404e34
lea eax, [ebp - 0x30]
call fcn.00404e10
lea eax, [ebp - 0x21]
mov edx, dword [0x458150]
call fcn.00405904
ret