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

Disassembly:
sub esp, 0x48
push ebx
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x70]
push ebp
push esi
movzx esi, word [0x1004d3fc]
mov ebp, ecx
mov ecx, dword [esp + 0x68]
mov ebx, dword [0x1004d3e8]
imul eax, esi, 0xb6e
push edi
mov dword [esp + 0x3c], 0x1154
mov dword [esp + 0x10], 0x1c31
mov dword [esp + 0x28], eax
movzx eax, dl
inc dl
movzx edi, dl
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x34]
movzx eax, word [ecx + eax*2]
add eax, 0x132f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + edi*4 + 0x64]
or eax, dword [ebp + ecx*4]
mov dword [esp + 0x1c], eax
lea eax, [ebx + ebx*2]
mov eax, dword [edx + eax*4 + 8]
dec ebx
cdq
idiv dword [esp + 0x3c]
mov eax, dword [0x1004d438]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x68]
mov dword [0x1004d3e8], ebx
mov eax, dword [eax + 0xe24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x1dc4]
movzx eax, word [0x1004d400]
or ebx, esi
mov esi, dword [0x1004d3f4]
sub esi, dword [edx + eax*8]
movzx eax, byte [0x1004d3c4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
lea edx, [eax + eax]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x54], edx
movzx ecx, word [eax + ecx*2 + 8]
mov eax, dword [esp + 0x2c]
movzx eax, word [edx + eax]
xor edx, edx
sub eax, ecx
mov ecx, dword [0x1004d40c]
div dword [ecx + 0x793c]
mov ecx, dword [esp + 0x3c]
xor eax, 0x727
movzx eax, ax
mov dword [esp + 0x24], eax
mov eax, 0x1b8d
cdq
idiv dword [ecx + edi*4 + 0x60]
mov edi, dword [0x1004d3e8]
mov ecx, eax
mov eax, 0x5a215bd9
imul ecx
mov eax, dword [0x1004d418]
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + edi*4], ecx
mov eax, dword [0x1004d404]
mov ecx, dword [esp + 0x74]
movzx eax, byte [eax + edi]
cdq
idiv dword [ecx + 0x51d4]
mov eax, dword [esi]
sub esp, 8
mov ecx, dword [esp + 0x70]
mov byte [eax + 0x1c39], dl
mov eax, dword [esp + 0x78]
cdq
idiv dword [ecx + 0x6be0]
mov eax, dword [esp + 0x78]
mov ecx, eax
sub edx, dword [0x1004d430]
inc eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov word [0x1004d430], dx
movzx edx, byte [0x1004d3ee]
movzx eax, ax
push 0xe3ae
push 0xd5
and edx, eax
call fcn.1000db00
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov edx, dword [esp + 0x24]
or edx, dword [esp + 0x38]
mov byte [ecx + 0x1c12], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x30]
mov dword [ebx + eax*4 + 0x8c], 0x6fa
mov eax, dword [0x1004d3e0]
dec eax
mov dword [0x1004d3e0], eax
mov ebp, dword [ebp + eax*4]
mov eax, dword [ecx]
mov dword [esp + 0x20], ebp
movzx eax, byte [eax + esi]
cmp ebp, eax
jle 0x1000a54b
mov edi, dword [esp + 0x78]
mov ebx, ecx
mov ecx, dword [esp + 0x5c]
add edi, 0x10
movzx eax, dx
sub ebx, ecx
mov edx, dword [esp + 0x74]
mov esi, 0x1c31
mov dword [esp + 0x44], eax
add edx, 0x40
mov eax, dword [0x1004d3f0]
lea edi, [edi + ebp*8]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
mov dword [0x1004d3f8], 0
lea eax, [edx + eax*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], eax
mov eax, dword [0x1004d3d4]
sub ecx, eax
mov dword [esp + 0x4c], ecx
lea edx, [eax + ebp*4]
mov dword [esp + 0x24], edx
nop dword [eax + eax]
mov eax, dword [ebx]
add edx, ecx
mov ecx, dword [0x1004d3d8]
sub ebx, 4
mov edi, dword [esp + 0x74]
lea ecx, [ecx + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax]
and eax, ebp
imul eax, dword [esp + 0x44]
and dword [ecx], eax
sub ebp, dword [edx]
mov dl, byte [esp + 0x7c]
sub ebp, 0x78f
mov ecx, dword [esp + 0x78]
movzx eax, dl
dec dl
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x24]
mov dword [edi + eax*8], ebp
mov eax, 0x1aed
sub eax, dword [ecx + 0x44a8]
mov ecx, dword [esp + 0x48]
mov ebp, dword [0x1004d42c]
or dword [edx], 0x2acbe65
imul eax, dword [ecx]
mov dword [ecx], eax
mov cx, word [0x1004d400]
movzx eax, cx
movzx eax, byte [eax + 0x1c12]
and eax, 1
add dword [ebp + esi*4], eax
mov eax, 0xffff
mov ebp, dword [esp + 0x20]
add cx, ax
mov eax, dword [esp + 0x68]
mov word [0x1004d400], cx
mov ecx, dword [ebx]
mov eax, dword [eax + 0x6c34]
mov dword [edi + ecx*4 + 0x74], eax
mov ecx, dword [0x1004d424]
mov edi, dword [esp + 0x14]
cmp ecx, 0x46e
jge 0x1000a512
movzx eax, byte [esp + 0x7c]
lea edi, [ecx + 9]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
lea eax, [edx + eax*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
lea edi, [eax + edi*4]
mov eax, 0x33a
lea edi, [edi + 4]
cdq
idiv esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [0x1004d410]
mov word [eax], dx
mov eax, ecx
movzx esi, byte [ebp + 0x1c15]
cdq
idiv esi
mov esi, dword [esp + 0x14]
mov byte [ebp + 0x1c15], dl
xor edx, edx
mov eax, dword [edi - 4]
div dword [ebx + 0x6bcc]
mov eax, edx
xor edx, edx
div dword [esi]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
mov dword [edx + ebp*4], eax
mov eax, dword [0x1004d438]
mov eax, dword [eax + ecx*4]
inc ecx
sub eax, dword [esp + 0x28]
or eax, dword [esp + 0x70]
imul eax, dword [0x1004d3f4]
mov dword [0x1004d3f4], eax
cmp ecx, 0x46e
jl 0x1000a493
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
inc ebp
mov ecx, dword [esp + 0x30]
add edi, 8
add edx, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edi
mov eax, dword [eax]
mov dword [esp + 0x24], edx
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x4c]
cmp ebp, eax
jg 0x1000a3c0
mov edi, dword [0x1004d3e8]
mov dword [esp + 0x18], ebx
jmp 0x1000a54f
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov ebp, 0x1aed
mov esi, dword [esp + 0x10]
movzx ecx, ax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x7c], eax
cmp ecx, eax
jl 0x1000a5a1
mov edx, dword [esp + 0x34]
mov esi, eax
mov ebx, dword [esp + 0x78]
add edx, 0x18
lea edx, [edx + ecx*4]
nop
mov eax, dword [ebx + ebp*4]
lea edx, [edx + 4]
or eax, dword [edx - 4]
dec ebp
add eax, ecx
inc ecx
xor edi, eax
cmp ecx, esi
jge 0x1000a580
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [0x1004d3e8], edi
mov eax, dword [esp + 0x6c]
mov edx, 0x190a
mov ecx, dword [esp + 0x54]
sub edx, dword [esp + 0x38]
push 0xfb9
movzx ecx, word [ecx + eax + 2]
mov eax, dword [esp + 0x74]
add eax, 0xffffe5ea
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x6c]
push eax
push ecx
mov ecx, esi
call 0x1000ef21
mov ecx, dword [ebx]
add esp, 8
mov esi, dword [esp + 0x44]
mov dword [0x1004d3b4], eax
movzx eax, byte [ecx + 0x1c12]
cdq
idiv dword [esi + ecx*4 + 0x18]
mov eax, dword [esp + 0x30]
movzx ecx, word [0x1004d400]
mov esi, dword [0x1004d440]
sub edx, dword [ebx + eax*4]
mov eax, dword [esp + 0x7c]
sub edx, dword [eax + 0x118]
mov eax, dword [0x1004d41c]
mov dword [ebx + ebp*4], edx
mov edx, esi
sub edx, dword [esp + 0x6c]
inc esi
mov dword [0x1004d440], esi
mov ecx, dword [eax + ecx*4]
mov eax, 0xd6a
sub eax, dword [0x1004d400]
movzx eax, ax
push eax
push 0x1420
call fcn.1000db00
add esp, 0x10
mov dword [0x1004d3f8], eax
lea eax, [ebp - 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret