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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
mov edx, dword [esp + 0x80]
sub edx, edi
mov dword [esp + 0x38], edx
lea ebx, [edx + 1]
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
lea esi, [ecx + 1]
cmp ebx, ebp
jl 0x4328a5
mov edx, dword [esp + 0x94]
cmp esi, edx
jl 0x4328a5
lea edx, [ebp + ebp]
mov dword [esp + 0x24], edx
lea ecx, [edx + edx]
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x43229b
lea ecx, [edx + edx]
cmp ecx, 6
jl 0x432928
xor ecx, ecx
mov dword [esp + 8], ecx
lea edx, [edx + edx - 6]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
lea ecx, [edx + edx + 2]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + edx + 2]
lea ecx, [ecx + edx + 1]
mov dword [esp], ecx
lea ecx, [edx*4 + 4]
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
lea ecx, [edx + edx + 2]
add ecx, ecx
lea ecx, [ecx + edx + 1]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
lea ecx, [edx + edx + 2]
add ecx, ecx
lea ecx, [ecx + edx + 1]
mov dword [esp + 0x1c], ecx
lea ecx, [edx + edx + 2]
add ecx, ecx
lea ecx, [ecx + edx + 1]
mov dword [esp + 0x20], ecx
lea ecx, [edx + edx + 2]
add ecx, ecx
lea ecx, [ecx + edx + 1]
mov dword [esp + 0x24], ecx
lea ecx, [edx + edx + 2]
add ecx, ecx
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ebx
mov ebx, edx
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 4]
mov ecx, dword [esp]
mov eax, edi
cdq
idiv ebp
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a7500], eax
mov eax, dword [esp + 0x40]
cdq
idiv ebp
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a7504], eax
mov eax, dword [esp + 0x4c]
cdq
idiv ebp
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a7508], eax
mov eax, ecx
cdq
idiv ebp
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a750c], eax
mov eax, esi
cdq
idiv ebp
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a7510], eax
add edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
add ecx, dword [esp + 0x24]
add esi, dword [esp + 0x38]
add ebx, 5
mov eax, dword [esp + 0x48]
cmp ebx, eax
jle 0x4321c2
mov edx, ebx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov ecx, edx
imul ecx, ebx
mov ebp, ebx
mov ebx, edx
mov edi, dword [esp + 0x30]
mov eax, ecx
cdq
idiv edi
add eax, eax
add eax, eax
mov dword [ebx*4 + 0x7a7500], eax
add ecx, ebp
inc ebx
cmp ebx, edi
jl 0x432272
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x94]
lea ecx, [edx + edx]
mov dword [esp + 0x38], ecx
lea ebx, [ecx + ecx]
mov dword [esp + 0x34], ebx
test ebx, ebx
jle 0x43240b
mov edx, ecx
lea ecx, [edx + edx]
cmp ecx, 6
jl 0x432921
xor ecx, ecx
mov ebx, edx
lea edx, [ebx + ebx - 6]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x28]
lea ebx, [edx + edx + 2]
mov dword [esp + 0x4c], ebx
lea ebx, [edx + edx + 2]
lea ebx, [ebx + edx + 1]
mov dword [esp], ebx
lea ebx, [edx*4 + 4]
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [esp + 0x44], ebx
lea ebx, [edx + edx + 2]
add ebx, ebx
lea ebx, [ebx + edx + 1]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], esi
lea ebx, [edx + edx + 2]
add ebx, ebx
lea ebx, [ebx + edx + 1]
mov dword [esp + 0x20], ebx
lea ebx, [edx + edx + 2]
add ebx, ebx
lea ebx, [ebx + edx + 1]
mov dword [esp + 0x24], ebx
lea ebx, [edx + edx + 2]
add ebx, ebx
lea ebx, [ebx + edx + 1]
mov dword [esp + 0x3c], ebx
lea ebx, [edx + edx + 2]
add ebx, ebx
lea edx, [ebx + edx + 1]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 4]
mov ebp, dword [esp]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x44]
cdq
idiv edi
mov dword [ecx*4 + 0x797400], eax
mov eax, ebx
cdq
idiv edi
mov dword [ecx*4 + 0x797404], eax
mov eax, dword [esp + 0x4c]
cdq
idiv edi
mov dword [ecx*4 + 0x797408], eax
mov eax, ebp
cdq
idiv edi
mov dword [ecx*4 + 0x79740c], eax
mov eax, esi
cdq
idiv edi
mov dword [ecx*4 + 0x797410], eax
mov ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
add edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
add ebp, dword [esp + 0x3c]
add esi, dword [esp + 0x28]
add ecx, 5
mov edx, dword [esp + 0x48]
cmp ecx, edx
jle 0x432357
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov ebx, ecx
imul ebx, esi
mov edi, dword [esp + 0x34]
mov eax, ebx
cdq
idiv edi
mov dword [ecx*4 + 0x797400], eax
add ebx, esi
inc ecx
cmp ecx, edi
jl 0x4323ed
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2c], edx
test edx, edx
jle 0x43291a
xor esi, esi
xor ecx, ecx
xor edx, edx
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x7c]
mov eax, dword [edx + 0x797400]
add eax, ebx
test eax, eax
jge 0x43243e
lea esi, [ecx + 1]
cmp eax, dword [esp + 0x8c]
jge 0x432906
add edx, 0x10
inc ecx
cmp ecx, edi
jl 0x43242f
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x28], ebp
test ebp, ebp
jle 0x4328ff
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 0x7a7500]
sar esi, 2
add esi, edi
test esi, esi
jge 0x432486
lea ebx, [ecx + 1]
cmp esi, eax
jge 0x4328f2
add edx, 0x10
inc ecx
cmp ecx, ebp
jl 0x432474
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp esi, edx
jge 0x4324aa
mov edx, dword [esp + 0x28]
cmp ebx, edx
jl 0x4324ca
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x94]
push eax
mov edx, dword [esp + 0x74]
push edx
call dword [0x5b1480]
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [eax + eax]
add eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x34]
test edx, edx
jle 0x43257b
mov eax, dword [esp + 0x38]
lea edx, [eax + eax]
cmp edx, 6
jl 0x4328eb
xor ecx, ecx
lea edx, [eax + eax - 6]
mov eax, dword [esp + 0x24]
mov edi, dword [ecx*4 + 0x797400]
imul edi, eax
mov dword [ecx*4 + 0x797400], edi
mov edi, dword [ecx*4 + 0x797404]
imul edi, eax
mov dword [ecx*4 + 0x797404], edi
mov edi, dword [ecx*4 + 0x797408]
imul edi, eax
mov dword [ecx*4 + 0x797408], edi
mov edi, dword [ecx*4 + 0x79740c]
imul edi, eax
mov dword [ecx*4 + 0x79740c], edi
mov edi, dword [ecx*4 + 0x797410]
imul edi, eax
mov dword [ecx*4 + 0x797410], edi
add ecx, 5
cmp ecx, edx
jle 0x4324f9
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov eax, dword [ecx*4 + 0x797400]
imul eax, edx
mov dword [ecx*4 + 0x797400], eax
inc ecx
cmp ecx, edi
jl 0x432561
mov edi, dword [esp + 0x78]
mov eax, esi
imul eax, dword [esp + 0x30]
push eax
mov edx, dword [esp + 0x74]
push edx
call dword [0x5b1480]
add esp, 8
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x2c]
mov ebx, ecx
mov edx, dword [esp + 0x30]
imul ebx, edx
add ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x94]
imul eax, edx
neg ecx
imul ecx, edx
add eax, ecx
push eax
push ebx
mov ebx, dword [esp + 0x50]
call dword [0x5b1480]
add esp, 8
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x28]
sub eax, ebx
cmp esi, edx
jge 0x4328ad
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x28]
lea ecx, [edx + edx]
add ecx, ecx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x70]
lea ecx, [ebx + ecx]
mov dword [esp], ecx
sub ebp, edx
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x44], ebp
lea edx, [edi + edi]
add edx, edx
mov edi, dword [esp + 0x24]
imul edi, dword [esp + 0x7c]
add edx, edi
mov dword [esp + 0x4c], edx
add eax, eax
add eax, eax
mov edx, esi
mov ebp, dword [esp + 0x30]
imul edx, ebp
mov dword [esp + 0x34], edx
mov edx, esi
imul edx, ebp
add edx, ebx
mov edi, esi
imul edi, ebp
add edi, ecx
lea ebp, [esi + esi]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebx, edx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push eax
push ebx
call dword [0x5b1480]
add esp, 8
mov eax, dword [esp + 0x44]
push eax
push edi
call dword [0x5b1480]
add esp, 8
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x54]
add edi, edi
add edi, edi
add edi, dword [esp + 0x70]
add edi, esi
mov dword [esp + 0x50], edi
mov edx, dword [ebp + 0x797400]
mov eax, dword [esp + 0x74]
add edx, eax
mov ecx, dword [esp + 0x4c]
add edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x797404]
add edx, eax
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x797408]
add edx, eax
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x79740c]
add edx, eax
add edx, ecx
mov dword [esp + 0x18], edx
add edi, dword [esp + 0x38]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], esi
lea eax, [esp + 0xc]
movd mm2, dword [eax]
movd mm3, dword [eax + 4]
movd mm4, dword [eax + 8]
movd mm5, dword [eax + 0xc]
pxor mm7, mm7
mov edx, dword [esp + 0x50]
lea edi, [0x7a7500]
mov eax, dword [esp + 0x54]
shl eax, 4
add edi, eax
mov ebx, dword [esp + 0x58]
mov eax, dword [edi]
mov ecx, dword [edi + 8]
movd esi, mm2
movd mm0, dword [esi + eax]
punpcklbw mm0, mm7
movd mm1, dword [esi + ecx]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd esi, mm3
movd mm1, dword [esi + eax]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd mm1, dword [esi + ecx]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd esi, mm4
movd mm1, dword [esi + eax]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd mm1, dword [esi + ecx]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd esi, mm5
movd mm1, dword [esi + eax]
punpcklbw mm1, mm7
paddusw mm0, mm1
movd mm1, dword [esi + ecx]
punpcklbw mm1, mm7
paddusw mm0, mm1
psrlw mm0, 3
packuswb mm0, mm1
movd dword [edx], mm0
add edx, 4
add edi, 0x10
cmp edx, ebx
jne 0x432715
emms
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esi, eax
add ebx, eax
add edi, eax
add ebp, 0x10
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jl 0x43265c
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
add eax, eax
mov dword [esp + 0x2c], eax
lea edx, [eax + eax]
sar edx, 2
mov ebp, dword [esp + 0x30]
imul ebp, edx
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x70]
lea esi, [ecx + ebp]
push ebx
push esi
call dword [0x5b1480]
add esp, 8
mov edx, ebp
add edx, dword [esp]
mov eax, dword [esp + 0x44]
push eax
push edx
call dword [0x5b1480]
add esp, 8
mov ebp, dword [esp + 0x54]
add ebp, ebp
add ebp, ebp
mov eax, dword [esp + 4]
cmp ebp, eax
jge 0x4328a5
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
add eax, dword [edx*8 + 0x797400]
mov edx, dword [ebp*4 + 0x7a7500]
add edx, eax
movzx ebx, byte [edx + esi]
movzx ecx, byte [edx + esi + 1]
movzx edi, byte [edx + esi + 2]
movzx edx, byte [edx + esi + 3]
mov dword [esp + 0x24], edx
add eax, dword [ebp*4 + 0x7a7508]
movzx edx, byte [eax + esi]
add edx, ebx
mov dword [esp + 0x20], edx
movzx edx, byte [eax + esi + 1]
add edx, ecx
mov dword [esp + 0x1c], edx
movzx ecx, byte [eax + esi + 2]
add ecx, edi
movzx ebx, byte [eax + esi + 3]
add ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sar eax, 1
mov edi, dword [esp + 0x28]
mov byte [edi + ebp], al
sar edx, 1
mov byte [edi + ebp + 1], dl
sar ecx, 1
mov byte [edi + ebp + 2], cl
sar ebx, 1
mov byte [edi + ebp + 3], bl
add ebp, 4
mov eax, dword [esp + 4]
cmp ebp, eax
jl 0x432818
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
add ebx, ebx
add ebx, ebx
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax]
add ecx, ecx
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
lea esi, [edx + ecx]
mov dword [esp], esi
sub ebp, eax
add ebp, ebp
add ebp, ebp
mov dword [esp + 0x44], ebp
lea eax, [edi + edi]
add eax, eax
mov edi, dword [esp + 0x24]
imul edi, dword [esp + 0x7c]
add eax, edi
mov dword [esp + 0x4c], eax
jmp 0x4327bb
xor ecx, ecx
jmp 0x432559
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
jmp 0x43249a
xor ebx, ebx
jmp 0x43249a
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
jmp 0x43245e
xor esi, esi
jmp 0x43245e
xor ecx, ecx
jmp 0x4323e4
xor edx, edx
jmp 0x432265