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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
test byte [eax + 0x50], 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
jne 0x471bda
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x20], eax
add eax, 8
lea ecx, [ecx + ecx*8]
shl ecx, 3
add eax, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [edx + 0x44], 0
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
jne 0x471bda
cmp dword [ebx + 0x44], 0
jne 0x471bda
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x20]
test eax, eax
je 0x471b70
cmp dword [edx + 0x3c], 0
jne 0x471bda
test eax, eax
je 0x471b70
cmp dword [eax + 0x10], 0
jne 0x471bda
mov ecx, dword [edx + 4]
mov dword [ebp - 4], ecx
test ecx, 0x100
je 0x471b82
test eax, eax
jne 0x471bda
mov edx, dword [esi]
test edx, edx
je 0x471bda
mov ecx, dword [ebx + 4]
test cl, 1
jne 0x471bda
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x471ba3
mov esi, dword [ebp - 0x20]
cmp dword [esi], 1
jg 0x471bda
test edi, edi
jne 0x471bda
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x30], 0
mov esi, dword [ebx + 0x20]
je 0x471bb5
cmp dword [ebx + 0x30], 0
jne 0x471bda
test edi, edi
je 0x471bbf
cmp dword [ebx + 0x30], 0
jne 0x471bda
test eax, eax
je 0x471be3
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x24], 0
mov esi, dword [ebx + 0x20]
jne 0x471bda
test eax, eax
je 0x471be3
mov eax, dword [ebp - 4]
test al, 1
je 0x471be6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test ecx, 0x2000
jne 0x471bda
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + 0x24]
test cl, 0x60
je 0x471c1d
cmp edx, 1
jg 0x471bda
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x2b], 1
je 0x471bda
mov eax, dword [ebp - 4]
test al, 1
jne 0x471bda
test cl, 0x10
jne 0x471bda
mov ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x471c1f
xor ecx, ecx
cmp dword [ebp + 8], 0
jle 0x471c2b
test byte [esi + 0x2c], 0x40
jne 0x471bda
mov esi, dword [ebp - 0xc]
test dword [esi + 0x28], 0x100
je 0x471c43
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x12], 0
je 0x471bda
mov eax, dword [ebp - 4]
cmp dword [ebx + 0x34], 0
je 0x471d53
cmp dword [ebx + 0x30], 0
jne 0x471bda
test edi, edi
jne 0x471bda
test al, 1
jne 0x471bda
test ecx, ecx
jne 0x471bda
mov eax, ebx
nop dword [eax]
test byte [eax + 4], 9
jne 0x471bda
mov edx, dword [eax + 0x34]
test edx, edx
je 0x471c8a
cmp byte [eax], 0x87
jne 0x471bda
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x471bda
cmp dword [eax + 0x44], 0
jne 0x471bda
cmp dword [ebp + 8], 0
jle 0x471cb0
test byte [ecx + 0x2c], 0x40
jne 0x471bda
mov eax, edx
test eax, eax
jne 0x471c70
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0x30]
test esi, esi
je 0x471ce4
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
jle 0x471ce4
nop dword [eax + eax]
cmp word [esi + eax + 0x18], 0
je 0x471bda
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x471cd0
test dword [edi + 4], 0x2000
jne 0x471bda
mov ecx, ebx
call fcn.00471a60
test eax, eax
jne 0x471bda
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
cmp dword [eax], 1
jle 0x471d56
cmp dword [edi + 0x68], 0x1f4
jg 0x471bda
mov esi, dword [ebp - 0x14]
test dword [esi + 0x50], 0x800000
jne 0x471bda
mov eax, dword [edi + 0x28]
mov ecx, esi
cdq
add eax, 1
adc edx, 0
shld edx, eax, 2
shl eax, 2
push edx
push eax
call fcn.00405c90
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x471d59
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
jmp 0x471d59
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 0x15
push 0
push 0
push 0
mov eax, dword [eax + 8]
mov ecx, edi
mov dword [edi + 0x100], eax
call fcn.00450540
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x100], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x38], eax
test edx, edx
je 0x471d9d
mov ecx, esi
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
test edx, edx
je 0x471dae
mov ecx, esi
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x471dbf
mov ecx, esi
call fcn.004059a0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x471ed6
mov edx, dword [ebp - 0x1c]
jmp 0x471df2
mov ecx, esi
mov edi, dword [ecx + 0x10]
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x30]
mov esi, dword [edx + 0x3c]
mov dword [ecx + 0x10], 0
mov ecx, dword [ebp - 0x14]
push 0
mov dword [ebp - 0x28], eax
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x3c], 0
call fcn.00443790
mov edx, dword [ebp - 0x1c]
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [edx + 0x3c], esi
mov esi, dword [ebp - 0xc]
mov dword [edx + 0x30], ebx
mov byte [edx], 0x87
mov dword [esi + 0x10], edi
mov edi, dword [ebp - 0x10]
test ecx, ecx
jne 0x471e50
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x34], eax
jmp 0x471ec3
inc dword [edi + 0x68]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x10], eax
test ebx, ebx
je 0x471eb0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x57], 0
jne 0x471eb0
push dword [ebp + 8]
mov edx, ebx
push dword [ecx + 0x20]
mov ecx, edi
call fcn.00471960
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
add esp, 8
movq qword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x54], 0x471a00
mov dword [ebp - 0x50], fcn.00404c80
call fcn.0043e950
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x471ebd
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], edx
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x471df0
jmp 0x471ed9
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x471eea
mov ecx, dword [ebp - 0x14]
mov edx, eax
call fcn.004059a0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x57], 0
je 0x471f05
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x14], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
test edx, edx
je 0x471f39
mov eax, dword [edx + 0x18]
cmp eax, 1
jne 0x471f2e
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
push edx
cmovne ecx, eax
mov edx, 0x451860
call fcn.0046ad60
add esp, 4
jmp 0x471f32
dec eax
mov dword [edx + 0x18], eax
mov dword [esi + 0x10], 0
mov ecx, dword [ebp - 0x1c]
mov ebx, ecx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 6], 0
mov al, byte [edx + eax + 0x2c]
mov edx, dword [ebx + 0x20]
and al, 0x40
mov byte [ebp - 5], al
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
mov edi, dword [eax]
mov dword [ebp - 0x28], edi
cmp ebx, ecx
jne 0x471f81
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + 0x24]
mov byte [ebp - 6], cl
cmp edi, 1
jle 0x471fad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
inc eax
push eax
lea eax, [edi - 1]
push eax
call fcn.00456a30
mov edx, eax
add esp, 8
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4721a9
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x20], edx
test edi, edi
jle 0x47202c
mov esi, dword [ebp - 0x2c]
lea edi, [eax + 8]
mov eax, dword [ebp - 0x28]
add esi, 0x2c
mov bl, byte [ebp - 5]
add esi, edx
mov dword [ebp - 0x18], eax
test dword [esi + 4], 0x400
je 0x471fd9
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.00456910
movups xmm0, xmmword [edi]
push 0x48
push 0
movups xmmword [esi - 0x24], xmm0
push edi
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi - 0x14], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi - 4], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [esi + 0x1c], xmm0
or byte [esi], bl
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x30], eax
call fcn.00563230
add esp, 0xc
add esi, 0x48
add edi, 0x48
sub dword [ebp - 0x18], 1
jne 0x471fc5
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov al, byte [edx + ecx + 0x2c]
and al, 0x40
or al, byte [ebp - 5]
or al, byte [ebp - 6]
mov byte [edx + ecx + 0x2c], al
mov edx, dword [esi + 0x30]
test edx, edx
je 0x47207b
test dword [ebx + 4], 0x400000
jne 0x47207b
xor ecx, ecx
cmp dword [edx], ecx
jle 0x472071
lea eax, [edx + 0x18]
nop dword [eax + eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x472060
mov esi, dword [ebp - 4]
mov dword [ebx + 0x30], edx
mov dword [esi + 0x30], 0
cmp dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov esi, dword [esi + 0x24]
mov dword [eax + 0x24], 0
jbe 0x47209d
mov edx, dword [ebp - 0x30]
mov ecx, esi
push 1
call fcn.0046bbc0
add esp, 4
test esi, esi
je 0x4720c4
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4720c1
push eax
push esi
mov esi, dword [ebp - 0x10]
mov edx, 0x2c
mov ecx, esi
call fcn.00442710
add esp, 8
mov dword [ebx + 0x24], eax
jmp 0x4720c7
mov dword [ebx + 0x24], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x57], 0
jne 0x472117
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 4]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x472100
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4720f7
mov eax, dword [ecx + 0x1c]
mov edx, ebx
push 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], eax
call fcn.004717d0
add esp, 4
jmp 0x47211a
mov esi, dword [ebp - 4]
mov eax, dword [esi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x472136
mov dword [ebx + 0x3c], eax
mov dword [esi + 0x3c], 0
test edi, edi
jle 0x472192
mov esi, dword [ebp - 0x20]
add esi, 0x40
add esi, dword [ebp - 0x2c]
cmp dword [esi - 0x28], 0
je 0x472187
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
lea eax, [esi - 0x38]
mov edx, ebx
lea ecx, [ebp - 0x74]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x70], 0x471920
mov dword [ebp - 0x6c], fcn.00404c80
mov dword [ebp - 0x5c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043e950
add esi, 0x48
sub edi, 1
jne 0x472143
mov esi, dword [ebp - 4]
mov ebx, dword [ebx + 0x34]
mov esi, dword [esi + 0x34]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], esi
test ebx, ebx
jne 0x471f50
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x90]
mov ebx, dword [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov edx, ebx
mov dword [ebp - 0x78], 0
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0x44a060
mov dword [ebp - 0x88], fcn.00404c80
call fcn.0043e950
push ebx
push dword [ebp - 0x14]
call fcn.0046b930
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret