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

Disassembly:
mov eax, dword [0xc64778]
mov ecx, dword [eax + 0x20]
sub esp, 0x68
test ecx, ecx
push ebx
push ebp
push esi
push edi
jne 0x45ec4a
mov esi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov edi, esi
mov eax, ebp
sar eax, 1
sar edi, 1
mov ebx, edi
imul ebx, eax
shl ebx, 2
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x78], ebx
call dword [0xc37af0]
lea edx, [esi - 1]
mov esi, dword [esp + 0x80]
add esp, 4
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], edx
jle 0x45ec2c
or ecx, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x45ec01
lea eax, [ecx + 1]
and eax, edx
imul eax, ebp
mov dword [esp + 0x84], eax
mov eax, ecx
and eax, edx
imul eax, ebp
mov dword [esp + 0x10], eax
lea edi, [ecx + 2]
lea eax, [ecx + 3]
mov ecx, dword [esp + 0x1c]
and edi, edx
and eax, edx
imul edi, ebp
mov edx, dword [esp + 0x18]
imul eax, ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], eax
or ebx, 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
jmp 0x45ea27
mov edi, dword [esp + 0x7c]
lea eax, [ebx + 2]
mov dword [esp + 0x6c], eax
xor ecx, ecx
dec ebp
and eax, ebp
lea edx, [edi + eax]
lea edx, [esi + edx*4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
add edx, eax
lea edx, [esi + edx*4]
mov dword [esp + 0x40], edx
lea edx, [ebx + 1]
and edx, ebp
add edi, edx
lea edi, [esi + edi*4]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x84]
add edi, edx
mov dword [esp + 0x30], ebp
lea edi, [esi + edi*4]
mov dword [esp + 0x38], edi
mov edi, ebx
and edi, ebp
mov ebp, dword [esp + 0x7c]
add ebp, edi
lea ebp, [esi + ebp*4]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x10]
add ebp, eax
lea ebp, [esi + ebp*4]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x30]
add ebx, 3
and ebx, ebp
mov ebp, dword [esp + 0x7c]
add ebp, ebx
lea ebp, [esi + ebp*4]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x34]
add eax, ebp
lea eax, [esi + eax*4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x84]
add eax, edi
lea eax, [esi + eax*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x84]
add eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
add eax, edx
lea eax, [esi + eax*4]
add edx, ebp
mov dword [esp + 0x48], eax
lea eax, [esi + edx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
lea edx, [eax + edi]
lea edx, [esi + edx*4]
add eax, ebx
mov dword [esp + 0x68], edx
lea edx, [edi + ebp]
lea eax, [esi + eax*4]
add ebp, ebx
lea edi, [esi + edx*4]
mov dword [esp + 0x64], eax
lea ebp, [esi + ebp*4]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
xor edx, edx
mov dl, byte [eax + ecx]
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x40]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x44]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x30]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x48]
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x4c]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x50]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x54]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x58]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x5c]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x60]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x64]
add edx, eax
xor eax, eax
mov al, byte [ecx + ebp]
lea edx, [eax + edx*2]
xor eax, eax
mov al, byte [ebx + ecx]
mov ebx, dword [esp + 0x68]
add edx, eax
xor eax, eax
mov al, byte [edi + ecx]
add edx, eax
xor eax, eax
mov al, byte [ebx + ecx]
add edx, eax
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 4
jl 0x45eb08
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
mov ecx, eax
mov eax, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jne 0x45ea23
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [esp + 0x28]
add ecx, 2
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
jne 0x45e9d0
mov eax, dword [esp + 0x2c]
push ebx
push eax
push esi
call fcn.00420520
mov ecx, dword [esp + 0x38]
push ecx
call dword [0xc37af4]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x80]
cmp ecx, 1
mov eax, dword [esp + 0x84]
jne 0x45ec66
cmp eax, 1
je 0x45ee2f
mov edi, dword [esp + 0x7c]
lea esi, [ecx*4]
sar ecx, 1
sar eax, 1
test ecx, ecx
mov ebp, edi
mov dword [esp + 0x80], ecx
je 0x45edd8
test eax, eax
je 0x45edd8
jle 0x45ee2f
mov dword [esp + 0x7c], eax
test ecx, ecx
jle 0x45edbf
mov ebx, 1
sub ebx, esi
mov dword [esp + 0x6c], ebx
mov ebx, 6
sub ebx, esi
mov dword [esp + 0x64], ebx
mov ebx, 2
sub ebx, esi
mov dword [esp + 0x68], ebx
mov ebx, 7
sub ebx, esi
mov dword [esp + 0x5c], ebx
mov ecx, 4
mov edx, 5
sub ecx, esi
sub edx, esi
mov ebx, 3
sub ebx, esi
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x80]
lea eax, [esi + edi]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], ebx
jmp 0x45ed08
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
xor ebx, ebx
mov bl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [eax + 4]
add ebp, 4
add edi, 8
add eax, 8
add ebx, ecx
xor ecx, ecx
mov cl, byte [eax - 8]
add ebx, ecx
xor ecx, ecx
mov cl, byte [edi - 8]
add ebx, ecx
xor ecx, ecx
sar ebx, 2
mov byte [ebp - 4], bl
mov ebx, dword [esp + 0x6c]
mov cl, byte [ebx + eax - 8]
xor ebx, ebx
mov bl, byte [edx + eax - 8]
xor edx, edx
mov dl, byte [eax - 3]
add ecx, ebx
mov ebx, dword [esp + 0x64]
add ecx, edx
xor edx, edx
mov dl, byte [eax - 7]
add ecx, edx
mov edx, dword [esp + 0x68]
sar ecx, 2
mov byte [ebp - 3], cl
xor ecx, ecx
mov cl, byte [edx + eax - 8]
xor edx, edx
mov dl, byte [ebx + eax - 8]
mov ebx, dword [esp + 0x5c]
add ecx, edx
xor edx, edx
mov dl, byte [eax - 2]
add ecx, edx
xor edx, edx
mov dl, byte [eax - 6]
add ecx, edx
mov edx, dword [esp + 0x60]
sar ecx, 2
mov byte [ebp - 2], cl
xor ecx, ecx
mov cl, byte [edx + eax - 8]
xor edx, edx
mov dl, byte [ebx + eax - 8]
add ecx, edx
xor edx, edx
mov dl, byte [eax - 1]
add ecx, edx
xor edx, edx
mov dl, byte [eax - 5]
add ecx, edx
sar ecx, 2
mov byte [ebp - 1], cl
dec dword [esp + 0x84]
jne 0x45ed00
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
add edi, esi
dec eax
mov dword [esp + 0x7c], eax
jne 0x45ec98
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
add ecx, eax
test ecx, ecx
jle 0x45ee2f
lea eax, [edi + 2]
mov esi, ecx
xor ecx, ecx
mov cl, byte [edi + 4]
xor edx, edx
mov dl, byte [edi]
add eax, 4
add edi, 8
add ecx, edx
sar ecx, 1
mov byte [eax - 6], cl
xor ecx, ecx
mov cl, byte [edi - 3]
xor edx, edx
mov dl, byte [edi - 7]
add ecx, edx
sar ecx, 1
mov byte [eax - 5], cl
xor ecx, ecx
mov cl, byte [edi - 2]
xor edx, edx
mov dl, byte [edi - 6]
add ecx, edx
sar ecx, 1
mov byte [eax - 4], cl
xor ecx, ecx
mov cl, byte [edi - 1]
xor edx, edx
mov dl, byte [edi - 5]
add ecx, edx
sar ecx, 1
dec esi
mov byte [eax - 3], cl
jne 0x45ede3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret