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

Disassembly:
sub esp, 0x520
mov eax, dword [0x4b000c]
xor eax, esp
mov dword [esp + 0x51c], eax
mov eax, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x524]
xorps xmm0, xmm0
push ebx
xor ebx, ebx
mov dword [esp + 0x34], eax
test eax, eax
mov eax, ecx
cdq
setne bl
push ebp
push esi
mov esi, dword [esp + 0x53c]
lea ebx, [ebx*4 + 4]
idiv ebx
push edi
mov edi, eax
mov dword [esp + 0x24], ebx
mov eax, 2
cmp edi, eax
movups xmmword [esp + 0x9c], xmm0
cmovl edi, eax
mov eax, dword [esp + 0x538]
cdq
and edx, 3
mov dword [esp + 0x18], edi
lea ebp, [edx + eax]
mov eax, 2
sar ebp, 2
cmp ebp, 2
cmovl ebp, eax
xor edx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x538], edx
jle 0x43ebaa
add esi, eax
mov dword [esp + 0x4c], esi
nop dword [eax + eax]
xor eax, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x43eb8b
lea eax, [ecx - 1]
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], eax
mov ecx, edx
mov eax, dword [esp + 0x538]
not ecx
dec eax
and ecx, 2
mov dword [esp + 0x54], eax
add ecx, ecx
lea eax, [ebp - 1]
dec edi
mov dword [esp + 0x58], eax
mov eax, edx
and eax, 3
mov dword [esp + 0x60], edi
or ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, ebx
shr ecx, 1
neg ecx
mov dword [esp + 0x48], ecx
nop
mov eax, dword [esp + 0x50]
and eax, ecx
lea ecx, [edx - 2]
cdq
idiv ebx
and ecx, dword [esp + 0x54]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
cdq
and edx, 3
lea ebp, [ebx + 1]
and ebp, edi
push ebx
lea esi, [edx + eax]
mov edx, dword [esp + 0x1c]
sar esi, 2
push esi
lea edi, [esi + 1]
and edi, dword [esp + 0x60]
call fcn.0043e5b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x38]
lea eax, [ecx + eax*8]
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.0043e5b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ebx
push edi
lea eax, [ecx + eax*8]
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.0043e5b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ebp
push edi
lea eax, [ecx + eax*8]
mov ecx, esi
mov dword [esp + 0x94], eax
call fcn.0043e5b0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x8c]
add esp, 0x20
mov esi, 0xc
lea eax, [ecx + eax*8]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x9c]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x43e7e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x43e7d0
jmp 0x43e934
mov dword [esp + 0x38], 0
lea ebp, [esp + 0xac]
lea eax, [esp + 0x6c]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
mov eax, ecx
and eax, 0xfffe
shr ecx, 0x10
mov dword [esp + 0x64], eax
xor edi, edi
mov dword [esp + 0x68], ecx
mov eax, dword [esp + edi*4 + 0x64]
mov ebx, edi
shl ebx, 4
add ebx, ebp
test eax, 0x8000
je 0x43e873
mov ecx, eax
shr ecx, 0xa
and ecx, 0x1f
mov dword [ebx], ecx
mov ecx, eax
shr ecx, 5
and eax, 0x1f
and ecx, 0x1f
mov dword [ebx + 8], eax
mov dword [ebx + 4], ecx
test edi, edi
jne 0x43e86c
mov ecx, dword [ebp + 8]
sar ecx, 4
or dword [ebp + 8], ecx
mov eax, 0xf
jmp 0x43e8bd
mov edx, eax
mov esi, eax
shr edx, 7
and edx, 0x1e
shr esi, 3
mov ecx, edx
and esi, 0x1e
shr ecx, 4
or ecx, edx
mov dword [ebx], ecx
mov ecx, esi
shr ecx, 4
or ecx, esi
mov dword [ebx + 4], ecx
mov ecx, eax
and ecx, 0xf
add ecx, ecx
mov dword [ebx + 8], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
sar ecx, 4
mov edx, esi
sar edx, 3
test edi, edi
cmovne edx, ecx
shr eax, 0xb
or edx, esi
and eax, 0xe
mov dword [ebp + 8], edx
inc edi
mov dword [ebx + 0xc], eax
cmp edi, 2
jl 0x43e832
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x32c]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push esi
push ebx
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0043e270
mov eax, dword [esp + 0x40]
add esp, 0x10
add ebx, dword [esp + 0x24]
add eax, 4
add ebp, 0x20
mov dword [esp + 0x2c], ebx
sub dword [esp + 0x34], 1
mov dword [esp + 0x30], eax
jne 0x43e815
add esi, 4
sub dword [esp + 0x3c], 1
mov dword [esp + 0x38], esi
jne 0x43e801
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [esp + 0x9c], xmm0
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x8c]
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0xcc]
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0xac]
push eax
push esi
push ebx
push ebp
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0043e3b0
lea eax, [esp + 0x94]
push eax
push esi
push ebx
push ebp
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x128]
push eax
lea edx, [esp + 0x10c]
lea ecx, [esp + 0xec]
call fcn.0043e3b0
add esp, 0x30
mov ecx, ebx
not ecx
mov eax, ebx
test ebp, ebp
je 0x43e9b1
and ecx, 4
and eax, 7
jmp 0x43e9b7
and ecx, 2
and eax, 3
mov edx, dword [esp + 0x5c]
add ecx, ecx
or ecx, eax
mov esi, edx
shl esi, 4
xor edi, edi
add esi, ecx
mov eax, dword [esp + esi*4 + 0x32c]
test eax, eax
jne 0x43e9e6
mov eax, dword [esp + esi*4 + 0x12c]
mov esi, dword [eax*4 + 0x4a0cb4]
jmp 0x43eac7
test ebp, ebp
je 0x43eaab
xor ecx, edx
test cl, 1
jne 0x43ea08
mov eax, dword [esp + esi*4 + 0x12c]
mov esi, dword [eax*4 + 0x4a0cb4]
jmp 0x43eac7
cmp eax, 1
jne 0x43ea56
mov eax, dword [esp + esi*4 + 0xec]
mov ecx, dword [esp + esi*4 + 0x128]
mov edx, dword [eax*4 + 0x4a0cb4]
mov eax, dword [esp + esi*4 + 0x16c]
add edx, dword [ecx*4 + 0x4a0cb4]
add edx, dword [eax*4 + 0x4a0cb4]
mov eax, dword [esp + esi*4 + 0x130]
add edx, 2
mov eax, dword [eax*4 + 0x4a0cb4]
add eax, edx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
jmp 0x43eac7
cmp eax, 2
jne 0x43ea83
mov eax, dword [esp + esi*4 + 0x128]
mov ecx, dword [esp + esi*4 + 0x130]
mov edx, dword [eax*4 + 0x4a0cb4]
mov eax, dword [ecx*4 + 0x4a0cb4]
inc edx
add eax, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x43eac7
mov eax, dword [esp + esi*4 + 0xec]
mov ecx, dword [esp + esi*4 + 0x16c]
mov edx, dword [eax*4 + 0x4a0cb4]
mov eax, dword [ecx*4 + 0x4a0cb4]
inc edx
add eax, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x43eac7
mov eax, dword [esp + esi*4 + 0x12c]
xor ecx, ecx
cmp eax, 2
sete cl
mov esi, dword [eax*4 + 0x4a0cc4]
mov edi, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x8c]
sub ecx, eax
imul ecx, esi
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x80]
sar eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
sub ecx, eax
imul ecx, esi
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x84]
sub ecx, eax
sar ebx, 3
imul ecx, esi
lea edx, [ecx + eax*8]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x98]
sub ecx, eax
imul ecx, esi
mov esi, dword [esp + 0x44]
sar edx, 3
mov byte [esi - 2], dl
mov edx, dword [esp + 0x1c]
mov byte [esi - 1], bl
mov ebx, dword [esp + 0x24]
lea eax, [ecx + eax*8]
xor ecx, ecx
sar eax, 3
test edi, edi
mov edi, dword [esp + 0x60]
cmovne eax, ecx
mov ecx, dword [esp + 0x10]
mov byte [esi + 1], al
mov eax, dword [esp + 0x20]
mov byte [esi], cl
inc eax
mov ecx, dword [esp + 0x48]
add esi, 4
inc ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
cmp eax, dword [esp + 0x534]
jl 0x43e720
mov ecx, dword [esp + 0x534]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
inc edx
lea eax, [ecx*4]
add esi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x4c], esi
cmp edx, dword [esp + 0x538]
jl 0x43e6d0
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ad4d
add esp, 0x520
ret