Function at 0x47bb30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
xor ebx, ebx
mov dword [edi], vtable.statistics.0
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov byte [ebp - 4], 1
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], 0xa
mov byte [ebp - 4], 2
lea eax, [edi + 0x24]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push ebx
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x47bbcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x47bbc4
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x47bbcc
push eax
call fcn.00406170
mov byte [ebp - 4], 3
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x40]
mov ecx, 0x587944
mov dword [ebp - 0x44], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
fld dword [0x531f28]
fstp dword [edi + 0x50]
lea ecx, [edi + 0x44]
fld dword [0x531f24]
mov dword [edi + 0x44], ebx
fstp dword [edi + 0x54]
mov dword [edi + 0x48], ebx
fld dword [0x531f20]
mov dword [edi + 0x4c], 0x11
fstp dword [edi + 0x58]
mov dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], 0xa
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
call fcn.0042bde0
mov byte [ebp - 4], 6
push ebx
push 0x533edc
lea ecx, [edi + 0x40]
call fcn.00406690
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
push 5
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47bc97
cmp dword [edi + 0x44], ebx
jne 0x47bc85
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47bc85
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push 5
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 6
lea ecx, [eax + 4]
push str.accept
call fcn.00406690
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 2
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47bcf3
cmp dword [edi + 0x44], ebx
jne 0x47bce1
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47bce1
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
push 2
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 6
lea ecx, [eax + 4]
push str.cancel
call fcn.00406690
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 1
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47bd4f
cmp dword [edi + 0x44], ebx
jne 0x47bd3d
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47bd3d
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edx
push 1
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 6
lea ecx, [eax + 4]
push str.finish
call fcn.00406690
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 6
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47bdab
cmp dword [edi + 0x44], ebx
jne 0x47bd99
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47bd99
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push ecx
push edx
push 6
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 7
lea ecx, [eax + 4]
push str.install
call fcn.00406690
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
push 3
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47be07
cmp dword [edi + 0x44], ebx
jne 0x47bdf5
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47bdf5
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push ecx
push edx
push 3
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 4
lea ecx, [eax + 4]
push str.show
call fcn.00406690
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 4
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47be63
cmp dword [edi + 0x44], ebx
jne 0x47be51
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47be51
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
push ecx
push edx
push 4
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 4
lea ecx, [eax + 4]
push str.skip
call fcn.00406690
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
push ebx
lea ecx, [edi + 0x44]
call fcn.0046b280
cmp eax, ebx
jne 0x47bebd
cmp dword [edi + 0x44], ebx
jne 0x47beac
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2f0
cmp al, bl
jne 0x47beac
push 0x8007000e
call fcn.00406170
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push ecx
push edx
push ebx
lea ecx, [edi + 0x44]
call fcn.0046f2a0
push 5
lea ecx, [eax + 4]
push str.start
call fcn.00406690
push ebx
push ebx
push edi
push 0x47b660
push ebx
push ebx
mov byte [edi + 0x3c], bl
call fcn.004ec6b8
add esp, 0x18
cmp eax, ebx
je 0x47bee8
mov dword [edi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret