Function at 0x47ca50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c8433
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fb304]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c8]
mov eax, dword [0x50038c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x50038c
mov dword [esp + 0x20], ebx
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1c0], ebx
mov eax, dword [0x50038c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50038c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c0], 1
mov dword [esp + 0x24], ebx
call fcn.0049b53d
mov edi, eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], eax
call dword [0x4fb0ac]
mov ecx, dword [esp + 0x1cc]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004095db
mov byte [esp + 0x1c0], 2
mov eax, dword [0x50038c]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x30]
mov ecx, 0x50038c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
cmp esi, ebx
mov byte [esp + 0x1c0], 3
je 0x47cb45
test esi, 0xffff0000
jne 0x47cb49
movzx esi, si
push esi
call fcn.00407eb5
add esp, 4
cmp eax, ebx
je 0x47cb5d
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004098a0
jmp 0x47cb5d
xor eax, eax
jmp 0x47cb52
push esi
call fcn.0047e220
add esp, 4
push eax
push esi
lea eax, [esp + 0x1c]
call fcn.00409917
mov byte [esp + 0x1c0], 5
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x47cb7a
push eax
call fcn.00480959
add esp, 4
mov edx, dword [esp + 0x14]
push edx
push 0x2712
push edi
call fcn.0049b56f
add esp, 0xc
cmp eax, ebx
jne 0x47ce3c
cmp dword [ebp + 0x1c], ebx
je 0x47cced
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
push str._ws:_ws
lea eax, [esp + 0x28]
call fcn.004476f6
add esp, 0xc
cmp dword [ebp + 0x1c], 1
jne 0x47cbc0
push ebx
jmp 0x47cbc2
push 5
push 0x65
push edi
call fcn.0049b56f
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
push 0x2714
push edi
call fcn.0049b56f
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x28]
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x47cced
lea edx, [esp + 0x28]
push 0x4dcdc4
push edx
call fcn.00408eb2
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x38]
mov bl, 6
push edx
mov ecx, eax
mov byte [esp + 0x1d0], bl
call fcn.00408744
add esp, 0x10
mov byte [esp + 0x1c0], 7
mov esi, dword [eax]
lea eax, [esp + 0xb8]
mov dword [esp + 0xb4], eax
call dword [0x4fb0ac]
push eax
push esi
lea ecx, [esp + 0xbc]
push ecx
call fcn.004095db
mov byte [esp + 0x1c0], 8
mov eax, dword [esp + 0xb4]
test eax, eax
mov esi, eax
je 0x47cc65
push eax
call fcn.0047e220
add esp, 4
push eax
push esi
lea eax, [esp + 0x20]
call fcn.00409917
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0xb8]
cmp eax, edx
je 0x47cc8b
push eax
call fcn.00480959
add esp, 4
mov byte [esp + 0x1c0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ccb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ccda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
push 0x2716
push edi
call fcn.0049b56f
add esp, 0xc
push edi
mov eax, ebp
call fcn.0047cfe0
push 0x47cef0
push 0x4e2b
push edi
call fcn.0049b56f
add esp, 0xc
test eax, eax
jne 0x47ce3c
mov edx, dword [ebp + 0x30]
push edx
push 0x2711
push edi
call fcn.0049b56f
add esp, 0xc
test eax, eax
jne 0x47ce3c
push 0x47cf10
push 0x4e58
push edi
call fcn.0049b56f
add esp, 0xc
test eax, eax
jne 0x47ce3c
mov eax, dword [ebp + 0x34]
push eax
push 0x2749
push edi
call fcn.0049b56f
add esp, 0xc
test eax, eax
jne 0x47ce3c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47cd77
cdq
push edx
push eax
push 0x75c2
push edi
call fcn.0049b56f
add esp, 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47cd9a
cdq
push edx
push eax
push 0x4e
push edi
call fcn.0049b56f
mov eax, dword [ebp + 0x10]
cdq
push edx
push eax
push 0xd
push edi
call fcn.0049b56f
add esp, 0x20
push 1
push 0x34
push edi
call fcn.0049b56f
add esp, 0xc
test eax, eax
jne 0x47ce3c
push edi
call fcn.0049b590
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 0x100020
push edi
mov ebx, eax
call fcn.0049b665
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x47ce11
push eax
lea esi, [esp + 0xb8]
call fcn.0042ba1a
mov byte [esp + 0x1c0], 9
mov eax, dword [eax]
push eax
lea edx, [ebp + 8]
push edx
call fcn.0040803d
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x47ce11
push eax
call fcn.00480959
add esp, 4
test ebx, ebx
je 0x47ce1a
mov dword [ebp + 4], ebx
jmp 0x47ce3c
lea esi, [ebp + 4]
push esi
push 0x200002
push edi
call fcn.0049b665
add esp, 0xc
cmp dword [esi], 0xc8
jne 0x47ce3c
mov dword [esp + 0x20], 1
test edi, edi
je 0x47ce49
push edi
call fcn.0049b620
add esp, 4
mov byte [esp + 0x1c0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ce71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ce99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c0], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b0
ret 8