Function at 0x415778
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
movzx eax, word [0x8b10fc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [0x8b10ec]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
movzx ebx, word [edx + eax*2 + 0x1e]
movzx eax, word [0x8b10d0]
mov ebp, dword [0x8b10dc]
push esi
push edi
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
mov eax, ebp
sub eax, dword [ecx + 0x4c44]
mov ecx, 0x1e4
mov dword [esp + 0x10], eax
mov eax, dword [0x8b1144]
inc eax
mov dword [0x8b1144], eax
movzx eax, word [edx + eax*4]
mov dword [esp + 0x20], eax
mov eax, dword [0x8b10e0]
inc eax
mov dword [0x8b10e0], eax
cdq
idiv ecx
mov cx, word [0x8b110c]
mov dword [esp + 0x18], eax
mov eax, 0xffff
movzx edi, cx
add cx, ax
mov eax, dword [esp + 0x2c]
mov word [0x8b110c], cx
inc dword [ebp]
mov esi, dword [ebp]
movzx ecx, word [eax + esi*4]
mov eax, dword [0x8b10dc]
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov word [ecx + esi*4], ax
mov al, 0x1c
sub al, byte [0x8b1160]
mov ecx, dword [edx]
or al, 0xa7
mov esi, dword [esp + 0x18]
xor al, 0xa7
movzx eax, al
sub edx, 4
mov dword [esp + 0x28], edx
mov cx, word [esi + ecx*4 + 0x10]
mov esi, dword [esp + 0x2c]
sub cx, ax
mov eax, dword [ebp]
mov word [esi + eax*2 + 0x3c], cx
mov eax, dword [esp + 0x14]
imul edx, dword [eax], 0xc
movzx eax, word [esi]
imul eax, eax, 6
movzx ecx, word [eax + esi]
mov eax, dword [ebp]
movzx eax, byte [edi + eax*4]
mov edi, dword [esp + 0x14]
add ecx, eax
or ecx, 0xd45
imul ecx, dword [edx + ebx + 0x1c]
mov dword [edx + ebx + 0x1c], ecx
mov eax, dword [ebp]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + eax*8]
jmp 0x4158ae
imul eax, dword [ebp], 6
mov cx, word [eax + esi]
imul eax, dword [ebx], 6
sub ebx, 4
xor cx, word [0x8b114c]
add cx, word [ebp + 0x6e98]
inc edx
mov word [eax + esi], cx
mov eax, dword [ebp]
cmp edx, dword [edi + eax*4]
jle 0x41588a
mov eax, dword [ebp]
mov ecx, dword [0x8b1124]
mov edi, dword [ebp + eax*4]
sub ebp, 4
cmp edi, ecx
jb 0x41599e
imul eax, edi, 0xc
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [0x8b1130]
inc ecx
mov dword [0x8b1124], ecx
mov ecx, dword [0x8b1160]
sub eax, ecx
imul eax, dword [esp + 0x10]
dec ecx
mov edx, dword [esp + 0x18]
mov dword [0x8b1160], ecx
mov dword [esp + 0x14], 0x1475
mov dword [esp + 0x10], eax
mov eax, 0x1baa
sub eax, dword [0x8b10dc]
mov dword [0x8b10dc], eax
imul ecx, dword [ebx], 0xc
mov eax, dword [0x8b1140]
and eax, 0x268
or eax, 0x1807
add dword [ecx + edx], eax
mov eax, edi
cdq
idiv dword [esp + 0x14]
mov ecx, dword [ebp]
sub ebp, 4
mov eax, dword [esp + 0x1c]
add ecx, ecx
movzx esi, word [esi]
sub edx, dword [eax + ecx*8]
xor dword [ebx + esi*8 + 0x78], edx
xor edx, edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
xor eax, 0x2bf
add dword [esp + 0x28], 0xc
mov dword [ecx], eax
mov eax, dword [ebp]
add eax, 4
imul esi, eax, 0xc
mov eax, dword [esp + 0x2c]
movzx ecx, word [eax]
mov eax, dword [0x8b10e8]
mov eax, dword [eax + ecx*8 + 0x70]
div dword [esi + ebx]
mov dword [esi + ebx], edx
mov eax, dword [0x8b1154]
mov ecx, dword [0x8b1124]
and eax, 0x954
mov esi, dword [esp + 0x2c]
inc edi
mov word [0x8b1140], ax
cmp edi, ecx
jae 0x4158d4
movzx eax, word [esi + 0x2bb4]
xor edx, edx
mov ebx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, cx
pop edi
imul eax, ebx
div ecx
xor edx, edx
div dword [0x8b10e0]
mov dword [0x8b10e0], edx
mov ecx, dword [ebp]
imul edx, ecx, 6
movzx ecx, word [esi + ecx*8]
movzx eax, word [edx + esi]
imul ecx, eax
movzx eax, word [0x8b113c]
movzx ecx, cx
imul ecx, eax
lea eax, [ebx + 0x1e10]
mov word [edx + esi], cx
mov ecx, 0x18a1
cdq
idiv ecx
pop esi
cdq
idiv dword [0x8b10dc]
mov eax, dword [0x8b1150]
pop ebp
mov dword [0x8b10dc], edx
pop ebx
add esp, 0x14
ret