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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x425004]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc0]
push ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc8]
push ebp
mov ebp, edx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xd4]
movups xmm0, xmmword [eax]
push esi
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov ecx, edx
mov dword [esp + 0x20], esi
sub ecx, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ecx
mov ecx, edx
sub ecx, dword [esp + 0xd4]
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x2c], ecx
xor ecx, ecx
movups xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x24], ecx
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xb8], eax
movups xmmword [esp + 0xa8], xmm0
cmp dword [esp + 0xc8], ecx
jbe 0x403cb2
push edi
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, 1
shl eax, cl
mov dword [esp + 0x50], eax
cmp ecx, dword [esp + 0x30]
jb 0x403c6a
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 0x403bba
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 0x403bba
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 0x403c5a
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]
mov dword [esp + 0x44], eax
sub ecx, ebx
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
mov al, byte [esp + 0x1c]
add cx, word [esp + 0x40]
add al, bl
mov word [esp + 0x10], cx
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x10]
nop dword [eax + eax]
mov dword [ebp + edx*4], eax
inc edx
cmp edx, esi
jb 0x403c40
mov eax, dword [esp + 0x44]
inc edi
mov dword [eax], esi
cmp edi, dword [esp + 0x48]
jb 0x403be0
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x20]
add edx, ebx
mov esi, dword [esp + 0x24]
jmp 0x403c8a
mov byte [esp + 0x16], dl
lea edx, [eax + ebx]
mov word [esp + 0x14], di
mov byte [esp + 0x17], 1
cmp ebx, edx
jae 0x403c8a
mov ecx, eax
lea edi, [esi + ebx*4]
mov eax, dword [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
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 0x403b01
pop edi
mov ecx, dword [esp + 0xbc]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a51f
add esp, 0xb4
ret