Function at 0x47c270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d64e3
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x63a800]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x63a800]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x618], 0
mov edi, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edi
je 0x47c8de
mov esi, edi
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47c2df
push 0x80004005
call fcn.00432b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x90], 0
test edi, edi
je 0x47c427
add ebx, 0x260
mov dword [esp + 0x20], ebx
lea esp, [esp]
mov edx, dword [ebx]
mov eax, dword [edx + 0x1b8]
push esi
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x18c]
push esi
mov ecx, ebx
call eax
test eax, eax
je 0x47c413
lea ecx, [esp + 0x1c]
push 0x5c
lea edi, [eax + 0x34]
push ecx
call fcn.004310d0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xa4], 1
call fcn.00431010
add esp, 0x14
mov byte [esp + 0x90], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47c3c3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47c3b5
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47c3b5
push eax
call fcn.00432780
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47c3a8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
jmp 0x47c3c3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00432a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c3eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
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 0x47c413
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x47c310
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x260]
mov eax, dword [edx + 0x18c]
lea esi, [ebx + 0x260]
push edi
mov ecx, esi
call eax
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x47c47c
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c8de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47c8de
cmp byte [edi + 0x32], 1
je 0x47c448
mov ebx, dword [esp + 0x24]
call fcn.0047c110
mov edx, dword [esi]
mov ebx, dword [esp + 0x2c]
mov eax, dword [edx + 0x188]
push ebx
mov ecx, esi
mov dword [0x642a1c], 0x40
mov dword [0x642a20], 0xc4
call eax
test eax, eax
je 0x47c5e8
mov edx, dword [esi]
mov eax, dword [edx + 0x1b0]
push ebx
mov ecx, esi
call eax
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x47c5e8
mov edx, dword [esi]
mov eax, dword [edx + 0x1b4]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x18c]
push ebx
mov ecx, esi
mov dword [esp + 0x20], edi
call eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x47c5d5
mov ebx, dword [0x644474]
push 0x3c
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.005afd80
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x308]
mov eax, dword [edx + 0x198]
or dword [esp + 0x40], 0xf
add edi, 0x308
add esp, 0xc
mov ecx, edi
call eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x34]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x47c55d
push 0
lea ecx, [ebx + 0x34]
call fcn.00432990
mov ecx, dword [ebx + 0x34]
push 8
mov dword [esp + 0x4c], ecx
call fcn.0048986c
add esp, 4
test eax, eax
je 0x47c8d5
mov edx, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 4], edx
mov dword [esp + 0x54], eax
and dword [eax], 0x80000000
mov eax, dword [edi]
mov edx, dword [eax + 0x1c4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1a4]
push ecx
mov ecx, esi
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x1bc]
movzx eax, al
test eax, eax
setne al
movzx ecx, al
push ecx
push ebx
mov ecx, edi
call edx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x47c5e4
mov ebx, edi
jmp 0x47c4d3
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x38]
mov ebx, dword [edi + 0x2c]
shr eax, 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
test eax, eax
je 0x47c8d5
mov ecx, dword [edi + 0x3c]
add edi, 0x3c
mov dword [esp + 0x20], ecx
cmp eax, 0x20
ja 0x47c618
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x47c8d5
cmp byte [ebx + 0x32], 1
je 0x47c636
mov edx, dword [ebx + 0x2c]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jmp 0x47c8bc
mov dword [esp + 0x28], 0
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47c2d5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 4
mov ecx, dword [ebx + 0x34]
mov esi, dword [ecx - 0xc]
mov eax, ecx
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x47c68b
push 0
lea ecx, [ebx + 0x34]
call fcn.00432990
mov ecx, dword [ebx + 0x34]
push esi
call fcn.00446ec0
mov edi, eax
mov esi, edx
xor eax, eax
mov edx, edi
add esp, 4
or edx, esi
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [0x642a1c], 0x1000
mov dword [0x642a20], 0xfe
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
je 0x47c6f7
mov eax, edi
and eax, esi
cmp eax, 0xffffffff
je 0x47c6f7
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x18]
push 0x60ba18
push edx
call fcn.00432720
add esp, 0xc
push esi
push edi
mov dl, 4
call fcn.00445cc0
add esp, 8
mov esi, eax
jmp 0x47c70b
push 3
push 0x60aa6c
lea ecx, [esp + 0x1c]
call fcn.00432a60
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
mov dword [esp + 0x30], eax
call fcn.00432780
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov edi, 0x642ae0
call fcn.00401fd0
push 0x3c
mov esi, eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.005afd80
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x308]
mov eax, dword [edx + 0x198]
or dword [esp + 0x40], 0xf
add edi, 0x308
add esp, 0xc
mov ecx, edi
call eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], esi
mov eax, dword [ebx + 0x34]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x47c78d
push 0
lea ecx, [ebx + 0x34]
call fcn.00432990
mov ecx, dword [ebx + 0x34]
push 8
mov dword [esp + 0x4c], ecx
call fcn.0048986c
add esp, 4
test eax, eax
je 0x47c8cc
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 4], edx
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
xor ecx, ebx
and ecx, 0x7fffffff
xor dword [eax], ecx
mov edx, dword [edi]
mov edx, dword [edx + 0x1c4]
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [ecx + 0x260]
mov eax, dword [eax + 0x1a4]
add ecx, 0x260
push edx
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x1bc]
movzx eax, al
test eax, eax
setne al
movzx ecx, al
push ecx
push esi
mov ecx, edi
call edx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x47c839
push 0
lea ecx, [esp + 0x14]
call fcn.00432990
mov edx, dword [esp + 0x10]
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.004325e0
mov eax, dword [edi]
mov edx, dword [eax + 0x1cc]
push 4
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x20], 0
je 0x47c888
mov cl, bl
and cl, 7
mov dl, 1
shl dl, cl
mov ecx, dword [esp + 0x20]
mov eax, ebx
shr eax, 3
mov al, byte [eax + ecx]
and al, dl
mov edx, dword [edi]
mov eax, dword [edx + 0x1bc]
mov ecx, edi
je 0x47c883
push 1
jmp 0x47c885
push 0
push esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c8bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], 0
je 0x47c8d5
mov ebx, dword [esp + 0x18]
jmp 0x47c620
lea ecx, [esp + 0x14]
call fcn.00432bf0
lea ecx, [esp + 0x10]
call fcn.00432bf0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005ac396
mov esp, ebp
pop ebp
ret