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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
add esp, 0xffffff80
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455c00
mov edx, dword [ebp + 8]
test edx, edx
je 0x456540
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455e00
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455e00
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455e00
mov dword [esp + 0x5c], eax
mov edi, eax
test eax, eax
je 0x456400
mov eax, dword [ebp + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0045ad40
test eax, eax
je 0x456400
mov eax, edi
mov edi, dword [edi]
mov esi, dword [eax + 4]
lea eax, [esi + 0x3fffffff]
lea edx, [eax*4]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x78], edx
mov dword [esp], eax
call fcn.0045a5a0
mov edx, eax
mov eax, 0x20
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1b
lea ecx, [edx + eax]
and ecx, 0x1f
sub eax, ecx
mov ecx, eax
shr ecx, 8
or eax, ecx
mov ebx, eax
test esi, esi
jle 0x45612e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], ebx
and edx, 0x1f
mov dword [esp + 0x7c], edx
mov edx, edi
lea edi, [edi + eax + 4]
xor eax, eax
lea esi, [esi]
mov esi, dword [edx]
movzx ecx, byte [esp + 0x68]
add edx, 4
mov ebx, esi
shl ebx, cl
movzx ecx, byte [esp + 0x7c]
or eax, ebx
shr esi, cl
mov dword [edx - 4], eax
mov eax, esi
mov esi, dword [esp + 0x78]
and eax, esi
cmp edx, edi
jne 0x456108
mov eax, dword [esp + 0x5c]
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00461f00
test eax, eax
je 0x456400
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov esi, dword [esi + 4]
mov dword [esp + 0x78], eax
cmp eax, esi
jge 0x456563
mov edi, esi
sub edi, eax
lea eax, [edi*4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x34], 0
mov eax, dword [eax]
lea edx, [ecx + 0x3fffffff]
lea edi, [edx*4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x7c], edx
cmp ecx, 1
je 0x4561c6
mov eax, dword [eax + edi - 4]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045c2d0
test eax, eax
je 0x456400
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
xor eax, dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 4], ebx
mov ebx, dword [edx]
add eax, 1
mov dword [esp + 0x40], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0045c2d0
test eax, eax
je 0x456400
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
lea ecx, [eax + edx]
lea eax, [eax + esi*4 - 4]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x50], eax
lea eax, [ebx + edx]
mov dword [esp + 0x58], eax
lea eax, [edi + 4]
mov dword [esp + 0x3c], eax
lea eax, [esi - 1]
mov dword [esp + 0x38], eax
mov eax, esi
and esi, 0xfffffffc
shr eax, 2
mov dword [esp + 0x30], esi
shl eax, 4
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x2c], eax
mov eax, esi
lea esi, [esi*4]
mov dword [esp + 0x28], esi
lea esi, [eax + 1]
add eax, 2
mov dword [esp + 0x20], eax
shl eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esi
shl esi, 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x60], eax
lea esi, cs:[esi]
mov edi, dword [esp + 0x50]
mov ebx, 0xffffffff
mov edx, dword [edi]
mov eax, dword [edi - 4]
cmp dword [esp + 0x7c], edx
jne 0x456418
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov esi, ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00586190
mov ecx, dword [esp + 0x3c]
sub dword [esp + 0x6c], 4
mov edx, eax
mov eax, dword [ebx]
mov edi, dword [esp + 0x6c]
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00586600
mov edx, dword [esp + 0x78]
sub esi, eax
neg eax
mov dword [esp + 0x70], esi
test edx, edx
jle 0x456558
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x38], 2
mov ecx, dword [ebx]
mov esi, dword [edi]
jbe 0x456530
lea edx, [esi + 4]
mov ebx, ecx
sub ebx, edx
xor edx, edx
cmp ebx, 8
ja 0x4564b0
mov edi, dword [esp + 0x78]
nop
mov ebx, dword [esi + edx*4]
and ebx, eax
mov dword [ecx + edx*4], ebx
add edx, 1
cmp edi, edx
jne 0x456350
mov eax, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00586450
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x70]
sub dword [esp + 0x58], 4
add dword [edi], eax
mov eax, dword [esp + 0x58]
sub edi, 4
add dword [esp + 0x54], 1
mov dword [eax], esi
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x50], edi
cmp eax, esi
jne 0x4562a8
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4563e4
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004620d0
test eax, eax
je 0x456400
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455d70
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455d70
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
cmp dword [esp + 0x6c], edi
je 0x45643b
mov ebx, dword [edi - 8]
xor esi, esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov esi, dword [esp + 0x7c]
div esi
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, edx
mul ebx
mov esi, eax
mov eax, ecx
mov edi, edx
mov edx, eax
xor eax, eax
or eax, dword [esp + 0x70]
or edx, dword [esp + 0x74]
cmp eax, esi
sbb edx, edi
jae 0x4562c0
mov eax, dword [esp + 0x7c]
sub ebx, 1
mov edx, ebx
add eax, ecx
jae 0x45648b
jmp 0x4562c0
mov ebx, dword [esp + 0x7c]
sub edx, 1
add eax, ebx
jb 0x4564a7
mov ecx, eax
sub esi, dword [esp + 0x60]
sbb edi, dword [esp + 0x64]
mov ebx, ecx
xor ecx, ecx
or ecx, dword [esp + 0x70]
or ebx, dword [esp + 0x74]
cmp ecx, esi
sbb ebx, edi
jb 0x456480
mov ebx, edx
jmp 0x4562c0
mov edi, dword [esp + 0x2c]
movd xmm2, eax
mov edx, ecx
mov ebx, esi
pshufd xmm1, xmm2, 0
add edi, ecx
lea esi, cs:[esi]
movdqu xmm0, xmmword [ebx]
add edx, 0x10
add ebx, 0x10
pand xmm0, xmm1
movups xmmword [edx - 0x10], xmm0
cmp edi, edx
jne 0x4564c8
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
cmp edi, edx
je 0x45635f
mov ebx, dword [esp + 0x28]
mov edx, dword [esi + ebx]
and edx, eax
mov dword [ecx + ebx], edx
mov edx, dword [esp + 0x24]
cmp edi, edx
jle 0x45635f
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + ebx]
and edx, eax
mov dword [ecx + ebx], edx
mov edx, dword [esp + 0x20]
cmp edi, edx
jle 0x45635f
mov edi, dword [esp + 0x18]
and eax, dword [esi + edi]
mov dword [ecx + edi], eax
jmp 0x45635f
mov edi, dword [esp + 0x78]
xor edx, edx
jmp 0x456350
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00455e00
mov dword [ebp + 8], eax
jmp 0x456052
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
jmp 0x45635f
lea ebx, [eax + 1]
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045c2d0
test eax, eax
je 0x456400
mov eax, edi
mov edi, dword [esp + 0x48]
sub eax, esi
mov edx, dword [edi]
lea eax, [eax*4 + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea edx, [edx + esi*4]
mov esi, ebx
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov dword [edi + 4], ebx
mov dword [esp + 0x6c], 4
mov dword [esp + 0x44], 1
jmp 0x456189