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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ecx + 0x1b8]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov ebx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
test byte [edi + 0x44], 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], edi
jne 0x475381
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
lea ecx, [ecx + ecx*4]
shl ecx, 4
add eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x1c]
test eax, eax
je 0x474ed2
cmp dword [ebx + 0x38], 0
jne 0x475381
cmp dword [eax + 0x10], 0
jne 0x475381
test dword [ebx + 8], 0x100
je 0x474ee3
test eax, eax
jne 0x475381
mov esi, dword [edx]
test esi, esi
je 0x475381
test byte [ecx + 8], 1
jne 0x475381
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x474f17
mov edi, dword [esp + 0x1c]
cmp dword [edi], 1
mov edi, dword [esp + 0x10]
jg 0x475381
test edx, edx
jne 0x475381
cmp dword [ebx + 0x2c], 0
je 0x474f27
cmp dword [ecx + 0x2c], 0
jne 0x475381
test edx, edx
je 0x474f35
cmp dword [ecx + 0x2c], 0
jne 0x475381
test eax, eax
je 0x474f4d
cmp dword [ebx + 0x20], 0
jne 0x475381
test byte [ebx + 8], 1
jne 0x475381
test dword [ecx + 8], 0x2000
jne 0x475381
mov eax, dword [esp + 0x14]
test byte [eax + 0x2c], 0x20
je 0x474f8c
mov dword [esp + 0x24], 1
cmp esi, 1
jg 0x475381
test edx, edx
jne 0x475381
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x475381
cmp dword [ecx + 0x30], 0
lea esi, [ecx + 0x30]
je 0x475012
cmp dword [ecx + 0x2c], 0
jne 0x475381
test edx, edx
jne 0x475381
test byte [ebx + 8], 1
jne 0x475381
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x475381
nop
test byte [ecx + 8], 9
jne 0x475381
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x474fdb
cmp byte [ecx + 4], 0x74
jne 0x475381
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jl 0x475381
mov ecx, edx
test ecx, ecx
jne 0x474fc0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x475012
mov edx, dword [eax]
test edx, edx
jle 0x475012
add eax, 0x18
nop dword [eax]
cmp word [eax], 0
je 0x475381
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x475000
mov eax, dword [esp + 0x14]
mov edx, 0x15
mov ecx, dword [esp + 0x18]
push 0
push 0
mov eax, dword [eax + 0x10]
push 0
mov dword [ecx + 0x1b8], eax
call fcn.00457ee0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x1b8], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4750d9
mov eax, dword [ebx + 0x30]
mov edx, ebx
mov edi, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x38]
mov ecx, dword [esp + 0x10]
push 0
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0
call fcn.0044efa0
mov ecx, eax
mov dword [ebx + 0x38], esi
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x2c], edi
mov byte [ebx + 4], 0x74
test ecx, ecx
je 0x4750b5
mov dword [ecx + 0x30], eax
test eax, eax
je 0x4750b0
mov dword [eax + 0x34], ecx
mov dword [ecx + 0x34], ebx
mov eax, ecx
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x30], eax
cmp byte [edi + 0x49], 0
jne 0x475375
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x475052
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov esi, eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], esi
call fcn.0041b3e0
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [eax + 0x10]
call fcn.0041b3e0
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [eax + 0x14]
call fcn.0041b3e0
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x18]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
test edx, edx
je 0x475170
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x47515c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1c8]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x1c8], edx
jmp 0x475160
dec eax
mov dword [edx + 0x20], eax
mov dword [edi + 0x18], 0
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov byte [esp + 0xf], 0
mov dword [esp + 0x28], eax
mov edi, dword [eax]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x47519a
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x2c]
mov byte [esp + 0xf], al
jmp 0x4751bd
mov ecx, dword [esp + 0x10]
xor edx, edx
push 0
push 0
call fcn.0045d710
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
mov dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x47535d
cmp edi, 1
jle 0x4751f2
mov eax, dword [ebp + 8]
mov edx, ecx
mov ecx, dword [esp + 0x10]
inc eax
push eax
lea eax, [edi - 1]
push eax
call fcn.0045d5d0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x1c], ecx
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x49], 0
jne 0x475361
jmp 0x4751f6
mov eax, dword [esp + 0x10]
test edi, edi
jle 0x47526f
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
add edi, 8
mov ebx, dword [esp + 0x38]
add esi, 8
add edi, ecx
nop
mov edx, dword [edi + 0x38]
mov ecx, eax
call fcn.0045d430
movups xmm0, xmmword [esi]
push 0x50
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
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x2c], eax
call fcn.005b9c20
mov eax, dword [esp + 0x1c]
lea edi, [edi + 0x50]
add esp, 0xc
add esi, 0x50
sub ebx, 1
jne 0x475210
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0xf]
mov byte [edx + ecx + 0x2c], al
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x4752a8
xor ecx, ecx
cmp dword [edx], ecx
jle 0x47529e
lea eax, [edx + 0x18]
nop dword [eax + eax]
xor edi, edi
lea eax, [eax + 0x18]
mov word [eax - 0x18], di
inc ecx
cmp ecx, dword [edx]
jl 0x475290
mov dword [ebx + 0x2c], edx
mov dword [esi + 0x2c], 0
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4752c3
mov ecx, dword [esp + 0x10]
push 0
push 0
call fcn.0044e7c0
add esp, 8
mov edi, eax
jmp 0x4752c5
xor edi, edi
cmp dword [esp + 0x24], 0
jbe 0x4752d7
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.0046fd90
push dword [ebx + 0x20]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0044e280
add esp, 4
mov dword [ebx + 0x20], eax
cmp byte [edi + 0x49], 0
jne 0x475329
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov edx, ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
push 0
mov dword [esp + 0x58], eax
call fcn.00474d00
add esp, 4
mov eax, dword [esi + 8]
and eax, 1
or dword [ebx + 8], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x475343
mov dword [ebx + 0x38], eax
mov dword [esi + 0x38], 0
mov ebx, dword [ebx + 0x30]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], esi
test ebx, ebx
jne 0x475170
mov eax, edi
jmp 0x475361
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x475375
push 1
mov ecx, eax
call fcn.0046f880
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret