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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x4ec070]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, edx
mov dword [esp + 0x2c], ecx
test byte [eax + 0x4c], 1
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], eax
jne 0x47b4dd
mov eax, dword [edi + 0x20]
lea ecx, [edx + edx*8]
shl ecx, 3
mov dword [esp + 0x3c], ecx
add ecx, 8
mov dword [esp + 0x1c], eax
add eax, ecx
cmp dword [edi + 0x44], 0
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x14]
jne 0x47b4dd
cmp dword [ecx + 0x44], 0
jne 0x47b4dd
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x20]
test eax, eax
je 0x47b481
cmp dword [edi + 0x3c], 0
jne 0x47b4dd
test eax, eax
je 0x47b481
cmp dword [eax + 0x10], 0
jne 0x47b4dd
test dword [edi + 4], 0x100
je 0x47b48e
test eax, eax
jne 0x47b4dd
mov esi, dword [edx]
test esi, esi
je 0x47b4dd
test byte [ecx + 4], 1
jne 0x47b4dd
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x47b4b2
mov edi, dword [esp + 0x1c]
cmp dword [edi], 1
mov edi, dword [esp + 0x28]
jg 0x47b4dd
test edx, edx
jne 0x47b4dd
cmp dword [edi + 0x30], 0
je 0x47b4be
cmp dword [ecx + 0x30], 0
jne 0x47b4dd
test edx, edx
je 0x47b4c8
cmp dword [ecx + 0x30], 0
jne 0x47b4dd
test eax, eax
je 0x47b4f3
cmp dword [edi + 0x24], 0
jne 0x47b4dd
test eax, eax
je 0x47b4f3
mov eax, dword [edi + 4]
test al, 1
je 0x47b4f6
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004ae965
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
test dword [ecx + 4], 0x2000
jne 0x47b4dd
mov edi, dword [esp + 0x24]
test byte [edi + 0x24], 0x20
mov edi, dword [esp + 0x28]
je 0x47b530
mov dword [esp + 0x38], 1
cmp esi, 1
jg 0x47b4dd
test edx, edx
jne 0x47b4dd
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x47b4dd
mov eax, dword [edi + 4]
test al, 1
jne 0x47b4dd
cmp dword [ecx + 0x34], 0
lea esi, [ecx + 0x34]
mov dword [esp + 0x18], esi
je 0x47b5b4
cmp dword [ecx + 0x30], 0
jne 0x47b4dd
test edx, edx
jne 0x47b4dd
test al, 1
jne 0x47b4dd
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x47b4dd
test byte [ecx + 4], 9
jne 0x47b4dd
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x47b56a
cmp byte [ecx], 0x85
jne 0x47b4dd
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x47b4dd
cmp dword [ecx + 0x44], 0
jne 0x47b4dd
mov ecx, edx
test ecx, ecx
jne 0x47b554
mov esi, dword [edi + 0x30]
test esi, esi
je 0x47b5b4
mov edx, dword [esi]
test edx, edx
jle 0x47b5b4
xor eax, eax
nop word [eax + eax]
cmp word [esi + eax + 0x14], 0
je 0x47b4dd
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x47b5a0
mov eax, dword [esp + 0x24]
mov edx, 0x15
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 0
push 0
mov eax, dword [eax + 8]
push 0
mov dword [esi + 0xf4], eax
call fcn.00459340
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x47b68a
mov eax, dword [esp + 0x28]
mov edx, eax
mov edi, dword [edi + 0x30]
push 0
mov ecx, dword [eax + 0x34]
mov esi, dword [eax + 0x3c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x30], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
call fcn.0044c8d0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + 0x30], edi
mov edi, ecx
mov dword [ecx + 0x3c], esi
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x20], ecx
mov byte [edi], 0x85
test eax, eax
jne 0x47b653
mov eax, dword [esp + 0x18]
jmp 0x47b664
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x47b661
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], edi
mov esi, dword [esp + 0x30]
mov dword [edi + 0x34], eax
cmp byte [esi + 0x51], 0
jne 0x47ba3c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47b5f6
jmp 0x47b68e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
call fcn.00411e60
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [eax + 8]
call fcn.00411e60
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.00411e60
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0x10]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
test edx, edx
je 0x47b71a
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x47b70f
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x104]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x104], edx
jmp 0x47b713
dec eax
mov dword [edx + 0x20], eax
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x14]
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov esi, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x47b74a
mov eax, dword [esp + 0x24]
mov al, byte [eax + 0x24]
mov byte [esp + 0x13], al
jmp 0x47b7a8
mov eax, dword [esp + 0x2c]
push 0
push 0x50
mov ecx, dword [eax]
call fcn.004121b0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47b9d6
push 0x48
mov dword [eax + 4], 1
mov dword [eax], 1
add eax, 8
push 0
push eax
call fcn.004b1740
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + 0x34], 0xffffffff
mov eax, dword [ecx]
lea eax, [eax + eax*8]
mov dword [ecx + eax*8 - 0x38], 0
mov dword [ecx + eax*8 - 0x3c], 0
mov dword [edi + 0x20], ecx
cmp esi, 1
jle 0x47b7d6
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x2c]
inc eax
push eax
lea eax, [esi - 1]
push eax
call fcn.00460180
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x47b9d6
mov dword [edi + 0x20], ecx
test esi, esi
jle 0x47b853
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
add esi, 8
mov eax, dword [esp + 0x18]
add edi, 8
add edi, ecx
mov dword [esp + 0x20], eax
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.0045ff70
movups xmm0, xmmword [esi]
push 0x48
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
call fcn.004b1740
add esp, 0xc
lea edi, [edi + 0x48]
add esi, 0x48
sub dword [esp + 0x20], 1
jne 0x47b7f2
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov al, byte [esp + 0x13]
mov byte [edx + ecx + 0x2c], al
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x47b8a0
test dword [edi + 4], 0x400000
jne 0x47b8a0
xor ecx, ecx
cmp dword [edx], ecx
jle 0x47b896
lea eax, [edx + 0x14]
nop dword [eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x47b880
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x30], edx
mov dword [eax + 0x30], 0
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], eax
mov dword [ecx + 0x24], 0
jbe 0x47b8c8
mov edx, dword [esp + 0x34]
mov ecx, eax
call fcn.004750a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b8e9
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x47b8e6
push ecx
mov ecx, dword [esp + 0x30]
mov edx, 0x2c
push eax
call fcn.0044b8b0
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x51], 0
jne 0x47b92e
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov edx, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
push 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], eax
call fcn.0047b250
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
and eax, 0x100
or dword [edi + 4], eax
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x47b94e
mov dword [edi + 0x3c], eax
mov dword [ecx + 0x3c], 0
test esi, esi
jle 0x47b9c0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esi, 0x40
add esi, dword [esp + 0x3c]
cmp dword [esi - 0x28], 0
je 0x47b9b0
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movaps xmmword [esp + 0x60], xmm0
lea eax, [esi - 0x38]
mov edx, edi
movq qword [esp + 0x70], xmm0
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], 0x47b3a0
mov dword [esp + 0x68], fcn.00403340
mov dword [esp + 0x78], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00448350
mov eax, dword [esp + 0x18]
add esi, 0x48
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x47b961
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + 0x34]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x47b720
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x80]
mov esi, dword [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
mov edx, esi
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x4533c0
mov dword [esp + 0x88], fcn.00403340
call fcn.00448350
test esi, esi
je 0x47ba3c
mov ecx, dword [esp + 0x30]
mov edx, esi
push 1
call fcn.00474a00
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004ae965
mov esp, ebp
pop ebp
ret