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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [esp + 0x23c]
mov ecx, dword [0x429004]
xor ecx, esp
mov dword [esp + 0x214], ecx
mov esi, 0xffffffd4
cmp eax, 0x5dc
jb 0x405402
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x22c]
mov eax, dword [eax]
movzx edx, al
lea edi, [ecx + 0x270]
xorps xmm0, xmm0
movups xmmword [edi + 0x5c], xmm0
movups xmmword [edi + 0x50], xmm0
movups xmmword [edi + 0x40], xmm0
movups xmmword [edi + 0x30], xmm0
movups xmmword [edi + 0x20], xmm0
movups xmmword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
cmp edx, 0xc
ja 0x405402
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], eax
lea eax, [ecx + 0x4dc]
sub esp, 4
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x7c]
lea ebx, [esp + 0x78]
push 0x164
push ecx
push dword [esp + 0x240]
push dword [esp + 0x240]
push edx
push ebx
push edi
push 0x100
push eax
call fcn.00402ae0
add esp, 0x28
cmp eax, 0xffffff88
ja 0x404931
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x1c]
ja 0x405402
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
shr eax, 0x18
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x22c]
add eax, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x238]
mov dword [esp + 4], edi
mov edi, eax
lea eax, [eax + 0x2dc]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x68]
mov dword [esp], eax
mov eax, ecx
add ecx, 0xfffffff8
lea edx, [edi + 0x34]
lea ebx, [edi + 0x3c]
lea esi, [eax + 1]
mov dword [esp + 0x30], eax
mov edi, eax
nop word [eax + eax]
mov ebp, edi
mov eax, dword [esp]
mov dword [esp + 0x18], ecx
add edi, 0xffffffff
add esi, 0xffffffff
mov ecx, dword [esp + 4]
cmp dword [ecx + ebp*4], 0
lea ecx, [eax + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 1]
mov dword [esp + 0x38], edx
lea edx, [edx + 0x34]
mov dword [esp + 0x10], ebx
lea ebx, [ebx + 0x34]
je 0x4048c0
mov dword [esp + 0xc], esi
mov dword [esp + 0x34], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 1]
xor ecx, ecx
cmp eax, 2
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov dword [esp], eax
jb 0x404a12
mov eax, dword [esp + 4]
add eax, 0xffffffff
cmp eax, 3
jae 0x404938
xor ebp, ebp
mov edx, 1
jmp 0x4049d8
mov esi, eax
jmp 0x405402
mov esi, ebx
mov eax, dword [esp + 0xc]
and eax, 0xfffffffc
xor edx, edx
xor ebp, ebp
nop word cs:[eax + eax]
nop
mov edi, dword [esp + 0x238]
mov edi, dword [edi + edx*4 + 0x274]
add edi, ebp
mov ebx, dword [esp + 0x238]
mov dword [ebx + edx*4 + 0x2ac], ebp
mov ecx, dword [esp + 0x238]
mov ecx, dword [ecx + edx*4 + 0x278]
add ecx, edi
mov ebx, dword [esp + 0x238]
mov dword [ebx + edx*4 + 0x2b0], edi
mov edi, dword [esp + 0x238]
mov edi, dword [edi + edx*4 + 0x27c]
add edi, ecx
mov ebx, dword [esp + 0x238]
mov dword [ebx + edx*4 + 0x2b4], ecx
mov ecx, dword [esp + 0x238]
mov ebp, dword [ecx + edx*4 + 0x280]
add ebp, edi
mov ebx, dword [esp + 0x238]
mov dword [ebx + edx*4 + 0x2b8], edi
add edx, 4
cmp eax, edx
jne 0x404950
add edx, 1
mov ebx, esi
mov esi, dword [esp + 0x10]
mov ecx, ebp
test byte [esp + 4], 3
je 0x404a12
mov eax, dword [esp + 0x238]
lea eax, [eax + edx*4]
add eax, 0x2a8
mov edx, dword [esp + 0xc]
and edx, 3
xor edi, edi
nop dword [eax]
mov ecx, dword [eax + edi*4 - 0x38]
add ecx, ebp
mov dword [eax + edi*4], ebp
add edi, 1
mov ebp, ecx
cmp edx, edi
jne 0x404a00
mov edi, dword [esp + 0x238]
mov dword [edi + 0x2a8], ecx
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp]
je 0x404b45
xor ecx, ecx
cmp eax, 1
je 0x404b01
mov esi, ebx
mov dword [esp + 0x14], eax
and eax, 0xfffffffe
xor ecx, ecx
nop dword [eax + eax]
movzx ebx, byte [edi + ecx + 0x4dc]
mov edx, dword [esp + 0x238]
mov edi, dword [edx + ebx*4 + 0x2a8]
lea ebp, [edi + 1]
mov edx, dword [esp + 0x238]
mov dword [edx + ebx*4 + 0x2a8], ebp
mov edx, dword [esp + 0x238]
mov byte [edx + edi*2 + 0x2dc], cl
mov edx, dword [esp + 0x238]
mov byte [edx + edi*2 + 0x2dd], bl
mov edx, dword [esp + 0x238]
movzx ebx, byte [edx + ecx + 0x4dd]
mov edx, dword [esp + 0x238]
mov edi, dword [edx + ebx*4 + 0x2a8]
lea ebp, [edi + 1]
mov edx, dword [esp + 0x238]
mov dword [edx + ebx*4 + 0x2a8], ebp
mov edx, ecx
add dl, 1
mov ebp, dword [esp + 0x238]
mov byte [ebp + edi*2 + 0x2dc], dl
mov edx, dword [esp + 0x238]
mov byte [edx + edi*2 + 0x2dd], bl
mov edi, dword [esp + 0x238]
add ecx, 2
cmp eax, ecx
jne 0x404a50
mov ebx, esi
mov esi, dword [esp + 0x10]
mov ebp, dword [esp]
mov eax, dword [esp + 0x14]
test al, 1
je 0x404b45
movzx eax, byte [edi + ecx + 0x4dc]
mov edx, dword [edi + eax*4 + 0x2a8]
lea edi, [edx + 1]
mov ebp, esi
mov esi, ebx
mov ebx, dword [esp + 0x238]
mov dword [ebx + eax*4 + 0x2a8], edi
mov ebx, esi
mov esi, ebp
mov ebp, dword [esp]
mov edi, dword [esp + 0x238]
mov byte [edi + edx*2 + 0x2dc], cl
mov byte [edi + edx*2 + 0x2dd], al
mov dword [edi + 0x2a8], 0
cmp ebp, 2
mov ecx, dword [esp + 4]
jb 0x404bfd
cmp ecx, 1
jne 0x404b6d
xor edi, edi
mov edx, 1
jmp 0x404bee
mov eax, dword [esp + 0x238]
add eax, 0x278
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x30]
mov ebx, dword [esp + 0xc]
and ebx, 0xfffffffe
xor edi, edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], ebx
nop word cs:[eax + eax]
mov ebx, dword [eax - 4]
mov ebp, dword [eax]
mov ecx, edx
shl ebx, cl
add ebx, edi
add cl, 1
shl ebp, cl
mov dword [eax - 0x274], edi
mov edi, ebp
add edi, ebx
mov dword [eax - 0x270], ebx
mov ebx, dword [esp + 0xc]
add eax, 8
add edx, 2
mov ebp, dword [esp + 0x14]
lea ecx, [ebx + ebp]
add ecx, 0xfffffffe
add ebp, 0xfffffffe
mov dword [esp + 0x14], ebp
cmp ecx, 0xffffffff
jne 0x404ba0
mov edx, dword [esp + 0x14]
neg edx
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x38]
test cl, 1
je 0x404bfd
mov eax, dword [esp + 0x238]
mov dword [eax + edx*4], edi
mov edx, dword [esp + 0x30]
lea ebp, [edx + 1]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
add ecx, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ecx
cmp eax, ecx
mov edi, dword [esp + 0x238]
mov dword [esp + 0x14], ebp
jae 0x404e62
imul edx, edx, 0x34
mov ecx, dword [esp + 4]
imul eax, ecx, 0xffffffcc
add eax, edx
add eax, 0x38
mov dword [esp + 0x30], eax
add edx, 0x38
mov eax, ecx
shl eax, 4
lea eax, [eax + eax*2]
sub edx, eax
mov dword [esp + 0x48], edx
lea eax, [edi + 4]
mov dword [esp + 8], eax
lea eax, [edi + ecx*4]
add eax, 4
mov dword [esp + 0x4c], eax
lea eax, [ecx - 8]
shr eax, 3
mov dword [esp + 0x44], eax
add eax, 1
mov dword [esp + 0x28], eax
and ecx, 0xfffffff8
mov eax, dword [esp + 0x18]
shr eax, 3
add eax, 1
and eax, 0xfffffffe
neg eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x5c]
jmp 0x404ccd
add ecx, 1
add dword [esp + 0xc], 1
add dword [esp + 0x34], 0x34
add ebx, 0x34
add esi, 0x34
cmp ecx, dword [esp + 0x50]
jae 0x404e62
cmp dword [esp], 2
jb 0x404cb0
mov edx, 1
cmp dword [esp + 4], 8
mov dword [esp + 0x10], esi
jae 0x404cf0
mov ebp, dword [esp]
jmp 0x404de0
imul eax, dword [esp + 0xc], 0x34
mov edi, dword [esp + 0x30]
add edi, eax
add edi, dword [esp + 0x238]
cmp edi, dword [esp + 0x4c]
mov edi, dword [esp + 0x238]
mov ebp, dword [esp]
jae 0x404d22
add eax, dword [esp + 0x48]
add eax, edi
cmp dword [esp + 8], eax
jb 0x404de0
movd xmm1, ecx
xorps xmm0, xmm0
movss xmm0, xmm1
cmp dword [esp + 0x44], 0
je 0x404d89
mov esi, ebx
xor edx, edx
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
movdqu xmm1, xmmword [edi + edx*4 + 4]
movdqu xmm2, xmmword [edi + edx*4 + 0x14]
psrld xmm1, xmm0
psrld xmm2, xmm0
movdqu xmmword [ebx + edx*4 - 0x30], xmm1
movdqu xmmword [ebx + edx*4 - 0x20], xmm2
movdqu xmm1, xmmword [edi + edx*4 + 0x24]
movdqu xmm2, xmmword [edi + edx*4 + 0x34]
psrld xmm1, xmm0
psrld xmm2, xmm0
movdqu xmmword [ebx + edx*4 - 0x10], xmm1
movdqu xmmword [ebx + edx*4], xmm2
add edx, 0x10
add eax, 2
jne 0x404d40
jmp 0x404d8d
mov esi, ebx
xor edx, edx
test byte [esp + 0x28], 1
mov ebx, esi
je 0x404dbf
shl edx, 2
or edx, 4
movdqu xmm1, xmmword [edi + edx]
movdqu xmm2, xmmword [edi + edx + 0x10]
psrld xmm1, xmm0
psrld xmm2, xmm0
imul eax, ecx, 0x34
add eax, edi
movdqu xmmword [edx + eax], xmm1
movdqu xmmword [edx + eax + 0x10], xmm2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp]
je 0x404cb0
nop dword [eax + eax]
mov edi, ebp
sub edi, edx
mov eax, dword [esp + 4]
sub eax, edx
mov ebp, dword [esp + 0x238]
and edi, 3
je 0x404e15
nop word cs:[eax + eax]
mov esi, ebx
mov ebx, dword [ebp + edx*4]
shr ebx, cl
mov dword [esi + edx*4], ebx
mov ebx, esi
add edx, 1
add edi, 0xffffffff
jne 0x404e00
cmp eax, 3
mov edi, ebp
mov esi, dword [esp + 0x10]
mov ebp, dword [esp]
jb 0x404cb0
nop word [eax + eax]
mov eax, dword [edi + edx*4]
shr eax, cl
mov dword [esi + edx*4 - 8], eax
mov eax, dword [edi + edx*4 + 4]
shr eax, cl
mov dword [esi + edx*4 - 4], eax
mov eax, dword [edi + edx*4 + 8]
shr eax, cl
mov dword [esi + edx*4], eax
mov eax, dword [edi + edx*4 + 0xc]
shr eax, cl
mov dword [esi + edx*4 + 4], eax
add edx, 4
cmp ebp, edx
jne 0x404e30
jmp 0x404cb0
mov eax, dword [edi + 0x30]
mov dword [esp + 0xac], eax
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0x9c], xmm0
movdqu xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esp + 0x8c], xmm1
movdqu xmmword [esp + 0x7c], xmm0
mov esi, dword [esp + 0x2c]
test esi, esi
mov edx, dword [esp + 0x1c]
je 0x4053e3
mov eax, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x22c]
lea ecx, [eax + 0xf4]
mov dword [esp + 0x64], ecx
lea ecx, [eax + 0x14]
mov dword [esp + 0x3c], ecx
add eax, 0x74
mov dword [esp + 0x58], eax
xor ebx, ebx
jmp 0x404ee3
mov esi, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0x7c], ecx
add ebx, 1
cmp ebx, esi
je 0x4053e3
mov eax, dword [esp + 0x60]
movzx ecx, byte [eax + ebx*2]
mov dword [esp + 0x10], ecx
movzx eax, byte [eax + ebx*2 + 1]
mov ebp, dword [esp + 0x14]
sub ebp, eax
mov ecx, dword [esp + eax*4 + 0x7c]
mov dword [esp + 8], ecx
mov ecx, edx
sub ecx, ebp
mov esi, 1
shl esi, cl
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x5c]
mov dword [esp + 4], ebp
jae 0x404f60
mov ebp, dword [esp + 8]
lea ecx, [esi + ebp]
cmp ebp, ecx
jae 0x404ed0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 4]
shl eax, 0x10
mov esi, dword [esp + 0x10]
add eax, esi
add eax, 0x1000000
cmp dword [esp + 0x38], 3
jae 0x4052fd
mov esi, dword [esp + 0x40]
jmp 0x4053cb
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x70]
add eax, ebp
mov dword [esp + 0x18], eax
test eax, eax
mov ecx, 1
cmovg ecx, eax
mov eax, dword [edi + ecx*4 + 0x2a4]
imul edx, ebp, 0x34
mov esi, dword [edi + edx + 0x30]
mov dword [esp + 0xe0], esi
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov dword [esp], eax
sub esi, eax
mov dword [esp + 0xc], esi
movups xmm0, xmmword [edi + edx + 0x20]
movups xmmword [esp + 0xd0], xmm0
movdqu xmm0, xmmword [edi + edx]
movups xmm1, xmmword [edi + edx + 0x10]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 8]
lea ebx, [edx + esi*4]
movups xmmword [esp + 0xc0], xmm1
movdqu xmmword [esp + 0xb0], xmm0
cmp dword [esp + 0x18], 2
mov dword [esp + 0x34], ebx
jl 0x40512a
mov edx, dword [esp + ecx*4 + 0xb0]
test edx, edx
je 0x40512a
mov eax, ebp
movzx eax, al
shl eax, 0x10
mov ecx, dword [esp + 0x10]
lea esi, [eax + ecx]
add esi, 0x1000000
xor eax, eax
cmp edx, 8
jb 0x405120
mov eax, edx
and eax, 0xfffffff8
movd xmm0, esi
pshufd xmm0, xmm0, 0
lea edi, [eax - 8]
mov ebx, edi
shr ebx, 3
add ebx, 1
mov ebp, ebx
and ebp, 7
xor ecx, ecx
cmp edi, 0x38
jb 0x4050cc
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 8]
lea edi, [ecx + edi*4]
and ebx, 0xfffffff8
neg ebx
xor ecx, ecx
movdqu xmmword [edi + ecx*4 - 0xf0], xmm0
movdqu xmmword [edi + ecx*4 - 0xe0], xmm0
movdqu xmmword [edi + ecx*4 - 0xd0], xmm0
movdqu xmmword [edi + ecx*4 - 0xc0], xmm0
movdqu xmmword [edi + ecx*4 - 0xb0], xmm0
movdqu xmmword [edi + ecx*4 - 0xa0], xmm0
movdqu xmmword [edi + ecx*4 - 0x90], xmm0
movdqu xmmword [edi + ecx*4 - 0x80], xmm0
movdqu xmmword [edi + ecx*4 - 0x70], xmm0
movdqu xmmword [edi + ecx*4 - 0x60], xmm0
movdqu xmmword [edi + ecx*4 - 0x50], xmm0
movdqu xmmword [edi + ecx*4 - 0x40], xmm0
movdqu xmmword [edi + ecx*4 - 0x30], xmm0
movdqu xmmword [edi + ecx*4 - 0x20], xmm0
movdqu xmmword [edi + ecx*4 - 0x10], xmm0
movdqu xmmword [edi + ecx*4], xmm0
add ecx, 0x40
add ebx, 8
jne 0x405050
test ebp, ebp
mov edi, dword [esp + 8]
je 0x405102
add ecx, edi
mov edi, dword [esp + 0x3c]
lea ecx, [edi + ecx*4]
shl ebp, 5
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmmword [ecx + edi - 0x10], xmm0
movdqu xmmword [ecx + edi], xmm0
add edi, 0x20
cmp ebp, edi
jne 0x4050f0
cmp edx, eax
mov edi, dword [esp + 0x238]
mov ebx, dword [esp + 0x34]
je 0x40512a
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [ebx + eax*4], esi
add eax, 1
cmp edx, eax
jne 0x405120
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x4052e0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp]
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 8]
lea eax, [eax + ecx*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
lea eax, [eax + ecx*4]
mov dword [esp + 0x48], eax
xor ebx, ebx
jmp 0x405189
mov eax, dword [esp]
mov dword [esp + eax*4 + 0xb0], ecx
mov ebx, dword [esp + 0x18]
add ebx, 1
cmp ebx, ebp
je 0x4052e0
mov esi, edi
mov edx, dword [esp + 0x50]
movzx ebp, byte [edx + ebx*2 + 1]
mov eax, dword [esp + 0x14]
sub eax, ebp
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov edi, 1
shl edi, cl
mov dword [esp + 0x18], ebx
movzx edx, byte [edx + ebx*2]
mov dword [esp], ebp
mov ebx, dword [esp + ebp*4 + 0xb0]
lea ecx, [edi + ebx]
shl edx, 8
add eax, dword [esp + 4]
movzx eax, al
shl eax, 0x10
add edx, dword [esp + 0x10]
add eax, edx
add eax, 0x2000000
lea edx, [ebx + 1]
cmp ecx, edx
mov edx, 1
cmovbe edi, edx
cmp edi, 8
jae 0x405200
mov edx, dword [esp + 0x34]
mov edi, esi
mov ebp, dword [esp + 0xc]
jmp 0x4052d0
mov dword [esp + 0x30], edi
and edi, 0xfffffff8
movd xmm0, eax
pshufd xmm0, xmm0, 0
mov dword [esp + 0x4c], edi
lea ebp, [edi - 8]
mov edx, ebp
shr edx, 3
add edx, 1
mov esi, edx
and esi, 3
xor edi, edi
cmp ebp, 0x18
jb 0x405278
mov edi, dword [esp + 0x44]
lea ebp, [edi + ebx*4]
and edx, 0xfffffffc
neg edx
xor edi, edi
nop dword [eax]
movdqu xmmword [ebp + edi*4 - 0x70], xmm0
movdqu xmmword [ebp + edi*4 - 0x60], xmm0
movdqu xmmword [ebp + edi*4 - 0x50], xmm0
movdqu xmmword [ebp + edi*4 - 0x40], xmm0
movdqu xmmword [ebp + edi*4 - 0x30], xmm0
movdqu xmmword [ebp + edi*4 - 0x20], xmm0
movdqu xmmword [ebp + edi*4 - 0x10], xmm0
movdqu xmmword [ebp + edi*4], xmm0
add edi, 0x20
add edx, 4
jne 0x405240
test esi, esi
je 0x4052a2
add edi, ebx
mov edx, dword [esp + 0x48]
lea edx, [edx + edi*4]
shl esi, 5
xor edi, edi
nop word [eax + eax]
movdqu xmmword [edx + edi - 0x10], xmm0
movdqu xmmword [edx + edi], xmm0
add edi, 0x20
cmp esi, edi
jne 0x405290
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x30], esi
mov edi, dword [esp + 0x238]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
je 0x405170
add ebx, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [edx + ebx*4], eax
add ebx, 1
cmp ebx, ecx
jb 0x4052d0
jmp 0x405170
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
jmp 0x404ed4
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x24]
and edx, 0xfffffff8
movd xmm0, eax
pshufd xmm0, xmm0, 0
lea ebp, [edx - 8]
mov edi, ebp
shr edi, 3
add edi, 1
mov esi, edi
and esi, 3
xor ebx, ebx
cmp ebp, 0x18
jb 0x405378
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 8]
lea ebp, [ebx + ebp*4]
and edi, 0xfffffffc
neg edi
xor ebx, ebx
nop word [eax + eax]
movdqu xmmword [ebp + ebx*4 - 0x70], xmm0
movdqu xmmword [ebp + ebx*4 - 0x60], xmm0
movdqu xmmword [ebp + ebx*4 - 0x50], xmm0
movdqu xmmword [ebp + ebx*4 - 0x40], xmm0
movdqu xmmword [ebp + ebx*4 - 0x30], xmm0
movdqu xmmword [ebp + ebx*4 - 0x20], xmm0
movdqu xmmword [ebp + ebx*4 - 0x10], xmm0
movdqu xmmword [ebp + ebx*4], xmm0
add ebx, 0x20
add edi, 4
jne 0x405340
test esi, esi
je 0x4053a2
add ebx, dword [esp + 8]
mov edi, dword [esp + 0x3c]
lea edi, [edi + ebx*4]
shl esi, 5
xor ebx, ebx
nop dword [eax]
movdqu xmmword [edi + ebx - 0x10], xmm0
movdqu xmmword [edi + ebx], xmm0
add ebx, 0x20
cmp esi, ebx
jne 0x405390
cmp dword [esp + 0x24], edx
jne 0x4053b4
mov edi, dword [esp + 0x238]
jmp 0x4052e8
add dword [esp + 8], edx
mov edi, dword [esp + 0x238]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 8]
nop
mov dword [esi + ebp*4], eax
add ebp, 1
cmp ecx, ebp
jne 0x4053d0
mov eax, dword [esp + 0x28]
jmp 0x404ed0
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x54]
mov byte [eax], cl
mov byte [eax + 1], 1
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x68]
mov byte [eax + 3], cl
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040eab1
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret