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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x30]
mov ebp, dword [eax + 0x18]
mov eax, dword [eax + 0x20]
add eax, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xa8]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x104]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x160]
movups xmm0, xmmword [edx + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xac]
mov ebx, dword [edx + 0x10]
mov esi, dword [edx]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x108]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x164]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x34]
mov edi, dword [edx + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x3c], eax
mov al, byte [edx + 0x21]
movups xmmword [esp + 0x70], xmm0
mov edx, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], al
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
nop dword [eax]
lea eax, [esi - 0x12]
cmp eax, 4
ja case.default.0x474278
jmp dword [eax*4 + 0x474914]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4747ec
cmp ebp, dword [esp + 0x30]
jae 0x474860
cmp edx, dword [esp + 0x34]
jge 0x47432d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.00473f70
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x47432d
mov eax, dword [esp + 0x34]
cmp edx, eax
jge 0x47432d
cmp dword [esp + 0x88], 0
je 0x47485c
movq xmm1, qword [esp + 0x70]
sub eax, edx
movd xmm0, eax
mov eax, dword [esp + 0x34]
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [eax*4 + 0x6ae568]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x170]
movzx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x118]
mov eax, 0
cmovge ecx, eax
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x4748f9
jmp 0x474382
movq xmm1, qword [esp + 0x70]
mov eax, edx
sub eax, dword [esp + 0x34]
movd xmm0, eax
mov eax, dword [esp + 0x34]
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [eax*4 + 0x6ae568]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x170]
movzx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x118]
mov eax, 0
cmovge ecx, eax
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
cmp ecx, 0xff
ja 0x4743ac
mov eax, dword [esp + 0x40]
mov byte [ebx + eax], cl
inc ebx
mov eax, dword [esp + 0x18]
and ebx, dword [esp + 0x50]
mov byte [ebp], cl
inc ebp
dec eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], eax
jmp 0x474283
lea esi, [ecx - 0x100]
and esi, 7
lea eax, [ecx - 0x100]
sar eax, 3
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], eax
jmp 0x4743cc
mov esi, dword [esp + 0x44]
cmp esi, 7
jne 0x4744b1
mov esi, dword [esp + 0x6c]
cmp edx, esi
jge 0x474464
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.00473f70
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x474464
cmp edx, esi
jge 0x474464
cmp dword [esp + 0x88], eax
je 0x474857
movq xmm1, qword [esp + 0x70]
mov eax, esi
sub eax, edx
movd xmm0, eax
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x6ae568]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x114]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0xbc]
cmovge ecx, eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x4748f9
lea edi, [ecx + 9]
jmp 0x4744b4
movq xmm1, qword [esp + 0x70]
mov eax, edx
mov edi, dword [esp + 0x1c]
sub eax, esi
movd xmm0, eax
mov eax, dword [edi + 0x114]
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x6ae568]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [edi + 0xbc]
cmovge ecx, eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
lea edi, [ecx + 9]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
jmp 0x4744b4
lea edi, [esi + 2]
mov dword [esp + 0x28], edi
cmp edi, dword [esp + 0x18]
ja 0x4748f9
mov ecx, dword [esp + 0x38]
mov eax, ecx
sub eax, 0
je 0x474519
sub eax, 1
je 0x4744ff
sub eax, 1
je 0x4744e5
mov eax, dword [esp + 0x64]
mov esi, dword [eax + ecx*8 + 4]
mov dword [esp + 0x54], esi
jmp 0x47452b
mov ecx, dword [esp + 0x3c]
mov esi, 0x15
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
jmp 0x474265
mov ecx, dword [esp + 0x2c]
mov esi, 0x15
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jmp 0x474265
mov ecx, dword [esp + 0x20]
mov esi, 0x15
jmp 0x474265
mov esi, dword [esp + 0x54]
cmp byte [esp + 0x13], 2
jne 0x474682
cmp esi, 3
jl 0x474682
add esi, 0xfffffffd
cmp edx, esi
jge 0x47456d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.00473f70
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x47456d
cmp edx, esi
jl 0x4748cb
movq xmm1, qword [esp + 0x70]
mov eax, edx
mov edi, dword [esp + 0x48]
sub eax, esi
add edi, esi
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
and eax, dword [esi*4 + 0x6ae568]
shl eax, 3
mov dword [esp + 0x14], eax
cmp edx, edi
jge 0x47462d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.00473f70
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x47462d
cmp edx, edi
jge 0x47462d
cmp dword [esp + 0x88], eax
je 0x4748dc
mov edi, dword [esp + 0x48]
sub edx, esi
movq xmm1, qword [esp + 0x70]
mov eax, edi
mov esi, dword [esp + 0x1c]
sub eax, edx
movd xmm0, eax
mov eax, dword [esi + 0xb8]
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [edi*4 + 0x6ae568]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0x60]
cmovge ecx, eax
mov eax, dword [esp + 0x60]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x4748f9
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
jmp 0x4746d0
movq xmm1, qword [esp + 0x70]
sub edx, esi
mov esi, dword [esp + 0x48]
mov eax, edx
sub eax, esi
movd xmm0, eax
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x6ae568]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xb8]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0x60]
cmovge ecx, eax
mov eax, dword [esp + 0x60]
movzx eax, byte [ecx + eax]
sub edx, eax
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
jmp 0x4746d0
cmp edx, esi
jge 0x4746ad
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.00473f70
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x4746ad
cmp edx, esi
jl 0x4748e6
movq xmm1, qword [esp + 0x70]
sub edx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
movd xmm0, edx
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x6ae568]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov eax, dword [edx + eax*8]
add eax, 0xfffffffe
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov eax, ebx
sub eax, ecx
and eax, dword [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
nop word [eax + eax]
cmp ecx, ebx
jle 0x474721
mov esi, dword [esp + 0x68]
sub esi, ecx
cmp edi, esi
cmovle esi, edi
jmp 0x47472e
mov eax, dword [esp + 0x68]
mov esi, edi
sub eax, ebx
cmp edi, eax
cmovg esi, eax
lea eax, [esi + ebp]
cmp eax, edx
jb 0x474739
mov esi, edx
sub esi, ebp
mov eax, dword [esp + 0x40]
lea edi, [ecx + eax]
cmp esi, 8
jl 0x474772
lea eax, [esi + ecx]
cmp eax, ebx
jl 0x474753
lea eax, [esi + ebx]
cmp eax, ecx
jge 0x47476e
mov eax, dword [esp + 0x40]
push esi
add eax, ebx
push edi
push eax
call fcn.0067d850
push esi
push edi
push ebp
call fcn.0067d850
add esp, 0x18
jmp 0x474796
mov eax, dword [esp + 0x40]
lea ecx, [ebx + eax]
test esi, esi
jle 0x47479a
sub edi, ecx
mov edx, esi
sub ebp, ecx
nop
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
mov byte [ecx + ebp - 1], al
sub edx, 1
jne 0x474780
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add ebx, esi
mov eax, dword [esp + 0x18]
add ecx, esi
and ecx, dword [esp + 0x50]
add ebp, esi
and ebx, dword [esp + 0x50]
sub eax, esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp edi, esi
jle 0x4747de
sub edi, esi
mov dword [esp + 0x28], edi
cmp ebp, edx
jb 0x474710
mov esi, 0x16
jmp 0x474864
mov edx, dword [esp + 0x24]
mov esi, 0x12
jmp case.default.0x474278
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x70]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x18], edi
sub eax, ebp
mov dword [ecx + 0x10], ebx
mov dword [ecx], 2
movups xmmword [ecx + 0x50], xmm0
mov dword [ecx + 0x28], 0
mov ecx, dword [esp + 0x84]
pop edi
cdq
pop esi
pop ebp
mov dword [ecx + 0x20], eax
mov eax, 1
mov dword [ecx + 0x24], edx
pop ebx
add esp, 0x70
ret
mov esi, 0x13
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x70]
pop edi
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x14], ecx
sub eax, ebp
mov ecx, dword [esp + 0x80]
mov dword [edx], esi
mov dword [edx + 0x10], ebx
movups xmmword [edx + 0x50], xmm0
cdq
pop esi
pop ebp
mov dword [ecx + 0x20], eax
xor eax, eax
mov dword [ecx + 0x24], edx
pop ebx
add esp, 0x70
ret
cmp dword [esp + 0x88], 0
mov esi, 0x14
jne 0x4748f9
jmp 0x47485c
mov esi, 0x14
jmp 0x47485c
cmp dword [esp + 0x88], 0
mov esi, 0x14
je 0x47485c
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax + 0x1d4], 0xffffffe7
mov eax, 0xffffffe7
pop ebx
add esp, 0x70
ret