Function at 0x47be40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526dea
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 0x47bedc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x47bed4
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x47bedc
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.0040b940
mov byte [ebp - 4], 6
push ebx
push 0x533edc
lea ecx, [edi + 0x40]
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47bfa7
cmp dword [edi + 0x44], ebx
jne 0x47bf95
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47bf95
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.0046f0c0
push 6
lea ecx, [eax + 4]
push str.accept
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c003
cmp dword [edi + 0x44], ebx
jne 0x47bff1
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47bff1
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.0046f0c0
push 6
lea ecx, [eax + 4]
push str.cancel
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c05f
cmp dword [edi + 0x44], ebx
jne 0x47c04d
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47c04d
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.0046f0c0
push 6
lea ecx, [eax + 4]
push str.finish
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c0bb
cmp dword [edi + 0x44], ebx
jne 0x47c0a9
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47c0a9
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.0046f0c0
push 7
lea ecx, [eax + 4]
push str.install
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c117
cmp dword [edi + 0x44], ebx
jne 0x47c105
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47c105
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.0046f0c0
push 4
lea ecx, [eax + 4]
push str.show
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c173
cmp dword [edi + 0x44], ebx
jne 0x47c161
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47c161
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.0046f0c0
push 4
lea ecx, [eax + 4]
push str.skip
call fcn.00406650
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.0046b260
cmp eax, ebx
jne 0x47c1cd
cmp dword [edi + 0x44], ebx
jne 0x47c1bc
mov eax, dword [edi + 0x4c]
push 1
push eax
lea ecx, [edi + 0x44]
call fcn.0046b2d0
cmp al, bl
jne 0x47c1bc
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.0046f0c0
push 5
lea ecx, [eax + 4]
push str.start
call fcn.00406650
push ebx
push ebx
push edi
push 0x47b970
push ebx
push ebx
mov byte [edi + 0x3c], bl
call fcn.004ec8e8
add esp, 0x18
cmp eax, ebx
je 0x47c1f8
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