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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x18], ecx
movups xmm0, xmmword [eax]
push ebp
mov ebp, edx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xd4]
mov ecx, edx
sub ecx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ecx
mov ecx, edx
sub ecx, dword [esp + 0xd0]
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x28], ecx
xor ecx, ecx
movups xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
movups xmmword [esp + 0x94], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xb4], eax
movups xmmword [esp + 0xa4], xmm0
cmp dword [esp + 0xc4], ecx
jbe 0x403ca8
push esi
push edi
lea esi, [ecx + 1]
movzx eax, byte [ebx + ecx*2 + 1]
movzx edi, byte [ebx + ecx*2]
sub edx, eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x40], edi
mov ebx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], eax
mov ecx, ebp
sub ecx, edx
mov dword [esp + 0x4c], ebx
mov eax, ebp
shl esi, cl
sub eax, edx
mov dword [esp + 0x50], esi
cmp eax, dword [esp + 0x30]
jb 0x403c56
mov ecx, dword [esp + 0x34]
mov eax, 1
add ecx, edx
cmp ecx, 1
cmovl ecx, eax
mov eax, dword [esp + 0x38]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
lea ebp, [eax + ebx*4]
imul eax, edx, 0x34
add eax, dword [esp + 0x3c]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x88], eax
movups xmmword [esp + 0x78], xmm0
cmp ecx, 1
jbe 0x403baa
mov ecx, dword [esp + ecx*4 + 0x58]
mov word [esp + 0x10], di
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x403baa
mov eax, dword [esp + 0x10]
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xcc]
mov edi, 0
sub eax, esi
mov dword [esp + 0x48], eax
je 0x403c4a
mov byte [esp + 0x13], 2
nop word [eax + eax]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
mov ebx, dword [esp + 0xdc]
mov esi, 1
movzx eax, byte [eax + edi*2 + 1]
mov edx, dword [ecx + eax*4]
sub ebx, eax
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov dword [esp + 0x44], eax
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
shl esi, cl
add esi, edx
movzx ecx, byte [eax + edi*2]
mov eax, 0x100
imul ecx, eax
add cx, word [esp + 0x40]
add bl, byte [esp + 0x1c]
mov word [esp + 0x10], cx
mov byte [esp + 0x12], bl
mov eax, dword [esp + 0x10]
nop dword [eax]
mov dword [ebp + edx*4], eax
inc edx
cmp edx, esi
jb 0x403c30
mov eax, dword [esp + 0x44]
inc edi
mov dword [eax], esi
cmp edi, dword [esp + 0x48]
jb 0x403bd0
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x20]
add edx, ebx
jmp 0x403c7a
mov byte [esp + 0x16], dl
lea edx, [esi + ebx]
mov word [esp + 0x14], di
mov byte [esp + 0x17], 1
cmp ebx, edx
jae 0x403c7a
mov eax, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [esp + 0x24]
lea edi, [esi + ebx*4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov esi, 1
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x28], ecx
mov dword [eax], edx
mov edx, dword [esp + 0xdc]
cmp ecx, dword [esp + 0xcc]
jb 0x403af2
pop edi
pop esi
mov ecx, dword [esp + 0xb8]
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a80c
add esp, 0xb4
ret