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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [0x4de47c]
mov edi, dword [edi]
xor edi, ebp
mov dword [esp + 0x11c], edi
mov edi, esi
mov dword [esp + 0x88], edi
mov edi, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
jmp 0x470fb2
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xf4]
mov dword [esp], eax
call fcn.00469a30
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xf0], eax
jmp 0x471237
mov eax, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
cmp eax, 8
jae 0x470fc9
jmp 0x470fea
jmp 0x470fb2
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x78], ecx
mov eax, 8
cmp eax, ecx
jbe 0x47104f
jmp 0x471051
jmp 0x470f66
jmp 0x470fc7
mov eax, dword [esp + 0x74]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov ecx, 0x7f
call fcn.00464550
movaps xmm0, xmmword [esp + 0x60]
mov cx, ax
mov ax, cx
movd xmm1, eax
pshuflw xmm1, xmm1, 0
pshufd xmm1, xmm1, 0
movaps xmmword [esp + 0xb0], xmm1
por xmm0, xmm1
pcmpeqw xmm0, xmm1
packsswb xmm0, xmm1
pmovmskb eax, xmm0
not eax
cmp al, 0
jne 0x4710ce
jmp 0x4710d3
jmp 0x470ff1
mov edx, dword [esp + 0x78]
mov ecx, 8
call fcn.00401ee0
movaps xmm0, xmmword [esp + 0x60]
call fcn.00464290
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
movaps xmm1, xmmword [0x4aa090]
pand xmm0, xmm1
packuswb xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x54], ecx
add edx, eax
mov dword [esp + 0x58], edx
add eax, 8
mov dword [esp + 0x5c], eax
cmp eax, ecx
jbe 0x47110f
jmp 0x471111
jmp 0x470f66
jmp 0x47105f
mov eax, dword [esp + 0x58]
movaps xmm0, xmmword [esp + 0x40]
movlpd qword [esp + 0xe0], xmm0
mov ecx, dword [esp + 0xe0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xcc]
add eax, 8
mov dword [esp + 0x3c], eax
setb al
jb 0x47111e
jmp 0x471141
jmp 0x4710d5
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
call fcn.00401ee0
lea ecx, [0x4aa18c]
mov edx, 0x10
xor eax, eax
lea eax, [0x4aa1a0]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401e40
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x34], ecx
add eax, 0x10
mov dword [esp + 0x38], eax
mov eax, 8
cmp eax, ecx
jbe 0x471183
jmp 0x471185
mov eax, dword [esp + 0x34]
mov ecx, eax
sub ecx, 8
mov dword [esp + 0x30], ecx
cmp eax, eax
jbe 0x4711a2
jmp 0x4711a4
jmp 0x471170
mov edx, dword [esp + 0x34]
mov ecx, 8
call fcn.00401eb0
mov ecx, dword [esp + 0x34]
mov eax, 8
cmp eax, ecx
jbe 0x4711ca
jmp 0x4711cc
jmp 0x471193
mov edx, dword [esp + 0x34]
mov ecx, edx
call fcn.00401ee0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
jmp 0x470fef
jmp 0x4711af
mov edx, dword [esp + 0x34]
mov ecx, 8
call fcn.00401ee0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xcc]
mov word [esp + 0x118], 0
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x114]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x11c]
xor ecx, ebp
mov eax, dword [0x4de47c]
mov eax, dword [eax]
sub eax, ecx
jne 0x471222
jmp 0x471227
call fcn.004a85b0
mov eax, dword [esp + 0x84]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
jmp 0x4711da
lea ecx, [esp + 0x100]
lea edx, [esp + 0xe8]
call fcn.00469ab0
cmp byte [esp + 0x104], 0
jne 0x471258
jmp 0x4712cb
jmp 0x471237
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x1c], edx
mov si, dx
mov word [esp + 0xc8], si
shr edx, 0x10
and edx, 0x1f
mov byte [esp + 0xca], dl
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x28], ecx
add edx, eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jbe 0x4712e6
jmp 0x4712e8
jmp 0x471235
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x18], ecx
cmp eax, eax
jbe 0x471303
jmp 0x471305
jmp 0x4712d0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
call fcn.00401eb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jbe 0x471343
jmp 0x471345
jmp 0x4712f5
mov edx, dword [esp + 0x28]
mov ecx, edx
call fcn.00401ee0
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], ecx
lea ecx, [esp + 0x110]
call fcn.0046a030
cmp word [esp + 0x110], 0
je 0x471367
jmp 0x471375
jmp 0x471310
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
call fcn.00401ee0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x14], eax
setb al
jb 0x4713bd
jmp 0x4713e0
movzx eax, byte [esp + 0x112]
mov dword [esp + 0x10], eax
jmp 0x471352
mov ax, word [esp + 0x110]
mov word [esp + 0xe], ax
sub ax, 0x49
je 0x4713ac
jmp 0x47138a
mov ecx, str.switch_on_corrupt_value
mov edx, 0x17
xor eax, eax
lea eax, [0x4dd440]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401e40
mov ax, word [esp + 0xe]
mov ecx, dword [esp + 0x7c]
movzx edx, ax
call fcn.0044e1d0
lea ecx, [0x4aa18c]
mov edx, 0x10
xor eax, eax
lea eax, [0x4aa1a0]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
jmp 0x471256