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

Disassembly:
sub esp, 0x40
mov dx, word [0x4f4b94]
mov ecx, 0x829
push ebx
push ebp
inc dx
mov ebx, dword [0x4f4b9c]
mov word [0x4f4b94], dx
push esi
mov esi, dword [0x4f4ba0]
push edi
mov word [esp + 0x12], dx
mov dword [esp + 0x28], ebx
movzx eax, byte [esi + 0x1b13]
sub ecx, eax
mov byte [esp + 0x11], 0x99
mov eax, dword [0x4f4b84]
add eax, 0xa
mov dword [esp + 0x4c], ecx
imul ecx, eax, 0xc
mov eax, dword [0x4f4bb0]
mov dword [esp + 0x30], 0x1b4a
mov edi, dword [ecx + eax]
movzx ecx, byte [0x4f4b78]
movzx eax, dx
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], edi
mov ebp, dword [eax + 0x13fc]
mov eax, 0xc0e
div ecx
or ebp, dword [esp + 0x7c]
inc dword [0x4f4b74]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ebp
movzx eax, word [ecx + 0x2ba]
movzx ecx, word [0x4f4b88]
xor eax, ecx
mov ecx, dword [0x4f4bbc]
mov dword [esp + 0x38], eax
dec edx
mov eax, dword [0x4f4b90]
mov dword [esp + 0x1c], eax
movzx ebx, word [ecx + ebx*4]
mov eax, dword [0x4f4bac]
and ebx, 0x1048
imul ecx, edx, 6
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], ecx
movzx eax, word [ecx + eax + 0x28]
mov dword [esp + 0x40], eax
mov al, byte [0x4f4b78]
inc al
mov byte [0x4f4b78], al
movzx eax, al
movzx ecx, byte [eax + esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
cmp ecx, dword [ebp + eax*8 + 0x1c]
mov ebp, dword [esp + 0x64]
jb 0x412b87
mov ax, word [esp + 0x12]
lea esi, [ebp + 0x44]
movzx edi, byte [esp + 0x74]
imul edx, ecx, 0x463
movzx eax, al
mov dword [esp + 0x48], edi
lea esi, [esi + edi*4]
mov dword [esp + 0x34], esi
sub edx, eax
mov eax, ecx
shl eax, 4
add eax, 0x18
mov dword [esp + 0x24], edx
add eax, ebp
mov dword [esp + 0x80], eax
jmp 0x4129a9
mov esi, dword [esp + 0x34]
mov eax, edx
add dword [esp + 0x7c], 6
xor edx, edx
div dword [esi]
mov dl, byte [esp + 0x11]
mov dword [esi], eax
mov ecx, dword [0x4f4ba4]
mov eax, dword [esp + 0x54]
or eax, dword [esp + 0x70]
or dword [ecx + ebx*4], eax
mov eax, dword [0x4f4b9c]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [eax + ecx]
sub ecx, dword [esp + 0x54]
movzx eax, dl
or ecx, eax
mov eax, dword [esp + 0x80]
dec dl
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0x5c]
mov dword [eax], ecx
mov eax, dword [0x4f4b70]
mov ecx, dword [eax + 0x62a4]
mov eax, dword [0x4f4ba4]
mov dword [eax + edx*4], ecx
inc edx
movzx eax, byte [0x4f4b79]
mov ecx, dword [0x4f4ba0]
mov dword [esp + 0x5c], edx
imul edx, eax, 3
mov al, byte [esp + 0x54]
and al, 0x7a
xor al, 0xd9
sub al, byte [edx + ecx]
add al, byte [esp + 0x5c]
mov byte [edx + ecx], al
mov eax, dword [0x4f4ba4]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x20], eax
cmp eax, 0x1101
jne 0x412ae6
mov eax, 0x3701
mov al, byte [eax]
xor byte [0x4f4b79], al
mov eax, dword [0x4f4bbc]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [0x4f4b98]
or esi, 0xcf2
movzx edx, word [eax + ecx*2]
movzx eax, word [0x4f4b8c]
mov ecx, dword [edi*8 + 0x645]
imul ecx, dword [0x4f4b84]
mov al, byte [ebp + eax*4]
mov byte [esp + 0x3c], al
push dword [esp + 0x3c]
push dword [esp + 0x44]
push ecx
push edx
push esi
call fcn.00404ac1
mov ebp, dword [esp + 0x78]
add esp, 0x14
mov esi, dword [esp + 0x20]
dec ebx
mov dword [ebp + edi*4], eax
mov eax, dword [esp + 0x1c]
movzx ecx, byte [0x4f4b79]
movzx eax, word [eax + 0x303c]
imul eax, esi
cdq
idiv ecx
mov edx, dword [esp + 0x78]
sub eax, dword [edx + ebx*8]
inc esi
mov dword [edx + ebx*8], eax
mov eax, 0x3701
mov dword [esp + 0x20], esi
cmp esi, 0x1101
je 0x412a4a
jmp 0x412aea
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
movzx edi, byte [edi + eax]
cmp edi, 0x19eb
jbe 0x412b42
mov ebp, dword [esp + 0x7c]
mov ecx, edi
shl ecx, 4
add ecx, edx
mov eax, dword [0x4f4bbc]
xor edx, edx
movzx eax, word [eax + ebp]
sub eax, ebx
xor eax, ebx
div dword [ecx]
xor edx, edx
dec ebx
mov dword [ecx], eax
lea ecx, [ecx + 0x10]
mov eax, dword [0x4f4bc0]
div edi
mov esi, dword [0x4f4b7c]
xor esi, edx
inc edi
mov dword [0x4f4b7c], esi
cmp edi, 0x19eb
jg 0x412b05
mov ebp, dword [esp + 0x64]
jmp 0x412b48
mov esi, dword [0x4f4b7c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
inc eax
mov edx, dword [esp + 0x24]
add dword [esp + 0x80], 0x10
add edx, 0x463
mov dword [esp + 0x54], eax
cmp eax, dword [ecx + edi*8 + 0x1c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x24], edx
jae 0x4129a5
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
jmp 0x412b8d
mov esi, dword [0x4f4b7c]
mov eax, dword [esp + 0x6c]
movzx ecx, byte [0x4f4b78]
mov ecx, dword [eax + ecx*4]
mov eax, esi
dec esi
mov dword [0x4f4b7c], esi
cmp ecx, eax
jbe 0x412bba
mov eax, dword [esp + 0x78]
dec edi
mov dword [esp + 0x14], edi
cmp dword [eax + edx*4], edi
je 0x412c83
mov eax, dword [0x4f4b84]
mov edi, eax
xor edi, dword [esp + 0x14]
dec eax
mov esi, dword [esp + 0x58]
mov dword [0x4f4b84], eax
lea eax, [edx + 1]
imul edx, eax, 0xc
mov ax, word [esp + 0x12]
movzx ecx, al
movzx eax, word [edx + esi]
mov edx, dword [0x4f4b9c]
imul eax, ecx
mov byte [esp + 0x64], dl
push dword [esp + 0x64]
push 0x10ca
movzx ecx, ax
mov eax, dword [0x4f4bbc]
movzx eax, word [eax + 0x2ed8]
push eax
push ecx
push edi
call fcn.00404ac1
mov edx, dword [0x4f4bb4]
add esp, 0x14
mov ecx, dword [0x4f4ba4]
inc edx
add edx, edx
mov dword [esp + 0x30], 0x1b4b
mov dword [ecx + edx*8], eax
xor edx, edx
mov ecx, dword [0x4f4b70]
mov eax, dword [esi + 0x6d28]
xor eax, dword [ecx + 0x217c]
mov ecx, dword [0x4f4ba0]
movzx ecx, byte [ecx + 0x1a21]
div ecx
movzx eax, word [0x4f4b88]
xor eax, edx
mov ecx, dword [esp + 0x5c]
xor edx, edx
div dword [0x4f4b80]
mov eax, dword [0x4f4bb0]
mov dword [0x4f4b80], edx
xor edx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [0x4f4b84]
or eax, 0x2e4
div dword [ecx + 0x2c]
mov dword [ecx + 0x2c], eax
mov edx, dword [0x4f4b9c]
mov edi, dword [esp + 0x28]
movzx eax, word [edx*8 + 0x16af]
mov edx, 0x1549
cmp eax, edx
jae 0x412cd7
movzx esi, byte [esp + 0x74]
sub edx, eax
mov ax, word [esi + esi + 0x16d7]
or ax, word [esp + 0x18]
dec ebx
movzx ecx, byte [0x4f4b78]
mov word [0x4f4b88], ax
mov eax, dword [edi + ebx*4]
imul eax, dword [ebp + ecx*4 + 0x80]
mov dword [ebp + ecx*4 + 0x80], eax
sub edx, 1
jne 0x412ca5
imul ecx, dword [esp + 0x5c], 0xc
dec ebx
mov edx, dword [esp + 0x78]
mov eax, ebx
sub eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x68]
xor dword [ecx + edx], eax
movzx eax, byte [0x4f4b79]
movzx edx, byte [esp + 0x74]
imul eax, eax, 0xc
imul ecx, edx, 3
mov eax, dword [eax + ebp]
or eax, dword [0x4f4b84]
xor dword [edi + ebx*8], eax
inc byte [0x4f4b79]
mov eax, dword [0x4f4bb4]
mov edi, dword [esp + 0x2c]
or byte [esi + eax*4], 0x88
mov al, byte [0x4f4b79]
sub al, byte [ecx + edi]
mov byte [ecx + edi], al
mov eax, ebx
movzx ecx, byte [esi + edx*4 + 4]
xor edx, edx
div ecx
mov ecx, dword [esp + 0x5c]
sub edx, dword [esp + 0x4c]
mov eax, edx
xor edx, edx
div dword [ebp + 0x1aa4]
pop edi
mov word [ecx*2 + 0x16b1], ax
imul eax, dword [esp + 0x2c], 6
pop esi
pop ebp
movzx eax, word [eax + 0xb31]
xor eax, ebx
pop ebx
add esp, 0x40
ret