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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x6466a8]
mov dword [esp + 0x24], eax
mov ecx, dword [0x6466bc]
mov eax, dword [0x6466d0]
mov edx, dword [0x646668]
push ebx
mov ebx, dword [0x646650]
mov eax, dword [eax + ecx*4 + 0x14]
xor eax, edx
mov ecx, dword [0x6466c0]
mov dword [esp + 0x20], eax
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov eax, dword [esi + 0x6da0]
mov dword [esp + 0x30], eax
mov eax, dword [0x646658]
mov eax, dword [eax + 0x358c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + ebx*4]
and eax, 0x577
inc edi
mov dword [esp + 0x44], eax
movzx eax, word [0x6466b4]
mov dword [esp + 0x74], edi
sub edx, dword [ecx + eax*4]
mov ecx, 0x165d
movzx eax, byte [edi + ebx*4]
mov dword [esp + 0x28], eax
mov eax, dword [0x646698]
mov dword [esp + 0x40], edx
xor edx, edx
movzx edi, byte [edi]
movzx eax, word [eax + 0x30a8]
and eax, 0x12a2
mov dword [esp + 0x14], eax
movzx eax, word [0x64668c]
div ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [0x646678]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + eax*4]
sub eax, 0x923
mov ecx, dword [0x64667c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x63ec]
mov dword [esp + 0x38], eax
movzx eax, word [ebp + edi*2]
xor eax, dword [0x6466d8]
mov dword [esp + 0x48], eax
mov eax, dword [0x64665c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + ebx*8]
movzx esi, word [0x646690]
or eax, 0x1863
mov dword [esp + 0x20], eax
mov eax, ebx
cdq
mov ebx, dword [0x6466a4]
idiv dword [ecx + esi*4]
movzx esi, byte [0x646662]
xor edx, edx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
movzx eax, word [ebp + esi*2]
div ebx
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x14]
mov dl, byte [eax + edi*4]
mov eax, dword [0x646658]
xor dl, byte [eax + ecx*4]
mov eax, dword [esp + 0x1c]
imul ecx, ecx, 0xc
or dl, byte [ecx + eax]
or dl, bl
add esi, esi
mov byte [esp + 0x78], dl
mov eax, dword [0x6466c0]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x24]
mov edi, dword [eax + esi*8]
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
movzx esi, byte [eax + ecx]
movzx ecx, byte [0x646682]
mov eax, dword [esp + 0x54]
movzx ecx, byte [ecx + eax]
mov eax, ebx
cdq
idiv ecx
mov eax, dword [esp + 0x10]
movzx eax, word [ebp + eax*2]
imul eax, dword [0x6466bc]
push eax
push 0x189f
push edx
push 0x14d5
push esi
push edi
call fcn.0041a78e
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x2c]
movzx ecx, byte [ebp]
add ecx, ecx
mov dword [ebx + ecx*8], eax
movzx eax, byte [0x646682]
mov bl, byte [0x646666]
movzx ecx, bl
movzx edi, byte [eax + ebp]
movzx eax, byte [ebp]
mov esi, dword [esi + eax*4]
mov eax, dword [0x6466d0]
mov eax, dword [eax + 0x4ee4]
cdq
idiv ecx
movzx ecx, word [0x646664]
inc bl
mov edx, dword [esp + 0x40]
mov byte [0x646666], bl
mov ecx, dword [edx + ecx*4]
inc dword [0x6466a4]
push ecx
push 0x17ae
push dword [esp + 0x4c]
push eax
push esi
push edi
call fcn.0041a78e
mov ecx, dword [0x6466a4]
add esp, 0x30
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
mov dword [edx + ecx*4], eax
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx + eax*4]
movzx ecx, byte [esp + 0x78]
or eax, ecx
mov ecx, 0x1825
cdq
idiv ecx
mov ecx, dword [esp + 0x1c]
xor dword [esi + ebx*4 + 0x10], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
cmp eax, dword [ecx + edx*4]
jge 0x41a77b
mov ax, word [0x6466a0]
inc ax
mov edi, dword [esp + 0x3c]
mov word [0x6466a0], ax
movzx ecx, byte [ebp]
add ecx, ecx
movzx eax, ax
xor eax, dword [esi + ecx*8 + 8]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
movzx edx, word [esi]
movzx ecx, word [ecx + edx*2]
sub eax, ecx
movzx ecx, word [0x646660]
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
mov word [0x646660], ax
mov eax, dword [0x646650]
mov dl, byte [esp + 0x78]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x38]
imul eax, dword [ecx + ebx*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x10]
mov cl, byte [0x646666]
mov al, byte [edi + eax*4]
and al, cl
or al, dl
add dl, al
dec cl
mov byte [0x646666], cl
movzx eax, byte [ebp + 1]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x78], dl
mov edx, dword [0x646658]
movzx ecx, byte [eax + ecx]
movzx eax, word [0x6466a0]
xor ecx, eax
mov al, byte [esp + 0x70]
xor ecx, dword [0x646678]
inc al
movzx eax, al
add ecx, eax
add dword [edx + ebx*4], ecx
inc word [0x6466a0]
mov edx, dword [esp + 0x44]
movzx eax, byte [ebp + 1]
movzx ecx, byte [0x646663]
add ecx, ecx
mov eax, dword [edx + eax*8]
mov edx, dword [esp + 0x68]
cmp eax, dword [edx + ecx*8]
jb 0x41a77b
mov edx, dword [0x6466a4]
movzx eax, word [0x646664]
mov ecx, dword [edi + eax*4]
mov eax, dword [edi + edx*4 + 0x14]
inc edx
mov dword [0x6466a4], edx
cmp ecx, eax
ja 0x41a77b
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, 0x12b5
sub bx, word [esi + eax*2]
inc bx
mov word [esi + eax*2], bx
movzx eax, byte [esp + 0x78]
div ecx
inc word [esi]
movzx esi, word [esi]
mov eax, edx
cdq
movzx ecx, byte [ebp + esi*4 + 1]
idiv ecx
mov byte [ebp + esi*4 + 1], dl
movzx eax, word [0x646694]
or eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret