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

Disassembly:
sub esp, 0x28
mov eax, dword [0x101a4474]
mov edx, dword [esp + 0x34]
dec eax
mov dword [0x101a4474], eax
push ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
push ebp
mov ebp, dword [0x101a4464]
movzx eax, byte [ebx]
push esi
mov esi, dword [0x101a4458]
push edi
imul eax, dword [edx + eax*4 + 8], 0x1639
xor esi, 0x192b
mov dword [esp + 0x1c], esi
mov edx, 0x1bad
mov dword [esp + 0x20], eax
mov eax, dword [0x101a443c]
mov dword [esp + 0x10], eax
movzx eax, byte [0x101a442a]
xor eax, dword [0x101a4480]
dec ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [0x101a4464], ebp
mov dword [esp + 0x18], ebp
mov edi, dword [eax + 0x1ffc]
or edi, 0x176e
dec byte [ebx]
movzx eax, byte [ebx]
movzx eax, word [ebp + eax*8 + 0x1e]
cmp dword [0x101a4480], eax
jae 0x10003a27
mov eax, dword [0x101a4440]
movzx eax, byte [ebx + eax*2]
cmp eax, 0x12b3
jb 0x10003a3e
movzx ecx, byte [edx]
mov dword [esp + 0x14], ecx
movzx eax, byte [edi + ecx*2]
cmp eax, dword [0x101a4444]
jge 0x10003ac6
mov cl, byte [0x101a4429]
inc cl
mov byte [0x101a4429], cl
movzx eax, byte [edx]
movzx ecx, cl
movzx edx, byte [eax + edi + 4]
movzx eax, byte [0x101a442b]
add edx, eax
mov eax, dword [esp + 0x4c]
mov dword [eax + ecx*8 + 0x78], edx
movzx ecx, byte [ebx]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + ecx*4 + 0x28]
imul eax, dword [0x101a4478]
mov dword [esi + ecx*4 + 0x28], eax
mov eax, 0x1bad
dec dword [0x101a4478]
mov esi, dword [0x101a4470]
movzx eax, byte [eax]
mov eax, dword [edx + eax*8]
cdq
idiv dword [0x101a4444]
mov eax, dword [0x101a4468]
mov dword [0x101a4444], edx
mov edx, 0x1bad
movzx eax, byte [eax + 0x1bad]
xor eax, dword [0x101a443c]
or esi, eax
mov dword [0x101a4470], esi
jmp 0x10003b4f
movzx eax, byte [ecx + ecx + 0x113]
cmp eax, dword [0x101a4468]
je 0x10003b49
mov eax, dword [0x101a4464]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
movzx eax, byte [eax + ecx]
cdq
idiv dword [0x101a4478]
mov ecx, dword [0x101a4440]
mov eax, edx
xor edx, edx
div dword [edi + ecx*4 + 0x74]
mov edi, dword [esp + 0x14]
mov eax, edx
xor edx, edx
movzx ecx, word [esi + edi*2 + 0xc]
div ecx
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [esi + edi*2 + 0xc], ax
mov eax, 0x1bad
dec dword [0x101a4440]
movzx esi, byte [ebx]
movzx eax, byte [eax]
mov eax, dword [ecx + eax*4]
and eax, dword [0x101a4478]
movzx ecx, byte [esi + ebx + 6]
and eax, 0x1596
div ecx
mov byte [esi + ebx + 6], al
jmp 0x10003e6e
mov esi, dword [0x101a4470]
movzx eax, byte [edx]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x50]
sub al, byte [ecx + 0x42c]
mov byte [0x101a442b], al
movzx ecx, byte [edx]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [eax + ecx*4]
imul eax, dword [edx + ecx*4]
cdq
idiv dword [ebx + ecx*4 + 0x50]
imul ecx, dword [0x101a4480], 3
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ecx + ebx + 4]
add eax, ecx
mov ecx, dword [esp + 0x3c]
cdq
idiv esi
mov eax, dword [0x101a4440]
mov esi, 0x1bac
mov dword [0x101a4470], edx
mov edx, dword [esp + 0x40]
mov al, byte [ecx + eax*4]
mov ecx, dword [0x101a4480]
or al, byte [edx + ecx*2]
xor edx, edx
movzx ecx, byte [0x101a442a]
mov byte [esp + 0x24], al
movzx eax, word [0x101a4454]
movzx ecx, byte [ecx + ebx]
mov ebx, dword [esp + 0x54]
movzx eax, word [ebp + eax*4 + 0x2e]
div ecx
movzx ecx, byte [esi]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov esi, dword [ebp + ecx*4]
movzx ecx, byte [ecx + ebx + 0x1c]
or esi, dword [edx + 0x3500]
movzx edx, byte [edi + 0x1252]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push dword [ecx + 0x5ac]
push esi
push eax
push dword [esp + 0x38]
call fcn.10002ac9
mov ecx, dword [0x101a4480]
mov esi, 0x1bac
mov edx, dword [esp + 0x5c]
add esp, 0x18
mov dword [edx + ecx*8 + 0xc], eax
movzx ecx, byte [esi]
mov eax, dword [esp + 0x48]
movzx ebx, word [0x101a447c]
mov dword [esp + 0x3c], ebx
cmp ebx, dword [eax + ecx*4 + 8]
jge 0x10003e6e
lea eax, [ebp + 0x5c]
mov ebp, dword [esp + 0x50]
lea edi, [ebx*4 + 0x10]
lea eax, [eax + ebx*8]
add edi, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
movzx eax, byte [ecx + esi + 0x23]
xor edx, edx
movzx ecx, byte [0x101a4428]
div ecx
movzx ecx, byte [ebx + ebx + 0x59b]
imul eax, dword [edi]
push dword [esp + 0x3c]
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
dec esi
mov byte [ebx*2 + 0x59b], dl
mov eax, dword [0x101a4440]
mov ebx, dword [0x101a4460]
imul ebx, dword [0x101a4478]
mov dword [esp + 0x48], esi
movzx ecx, byte [eax + ecx]
inc eax
mov dword [0x101a4440], eax
mov eax, 0x135c
mov dword [esp + 0x38], ecx
movzx ecx, byte [0x101a4429]
cdq
add ecx, ecx
idiv dword [ebp + ecx*8]
mov ebp, dword [0x101a4468]
mov ecx, 0xecd
mov dword [esp + 0x34], edx
mov eax, dword [ebp*4 + 0xa7]
or eax, dword [0x101a443c]
mov dword [esp + 0x30], eax
mov eax, dword [0x101a4470]
cdq
idiv ecx
mov edx, dword [0x101a444c]
mov edi, eax
add edx, 0xffffff89
mov eax, 0x19f0
movzx esi, byte [eax]
mov eax, dword [esp + 0x18]
xor esi, dword [eax]
mov eax, dword [esp + 0x48]
movzx ecx, byte [eax]
mov eax, dword [esp + 0x60]
movzx ecx, byte [ecx + eax]
mov eax, 0x14a8
xor cx, ax
movzx eax, cx
push eax
push ebp
push edx
push esi
push edi
push ebx
push dword [esp + 0x48]
push 0xad9
push dword [esp + 0x54]
push dword [esp + 0x5c]
call fcn.10004d57
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov word [ecx + edx*2 + 0x1e], ax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
movzx eax, byte [eax]
add eax, eax
xor dword [ecx + eax*8], edx
mov eax, dword [0x101a446c]
movzx ebx, byte [0x101a442a]
add eax, 0xf11
mov esi, dword [0x101a4480]
movzx eax, ax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
movzx ebp, word [eax + edx*2]
xor edx, edx
mov eax, dword [esp + 0x84]
movzx ecx, byte [eax + ebx*4]
mov eax, dword [esp + 0x88]
movzx eax, byte [eax + esi*2]
div ecx
mov eax, dword [esp + 0x70]
inc esi
mov ecx, dword [esp + 0x84]
mov edi, edx
mov edx, dword [esp + 0x44]
mov dword [0x101a4480], esi
movzx eax, byte [eax]
movzx esi, byte [eax + ecx]
mov eax, dword [esp + 0x80]
movzx ecx, byte [0x101a4428]
or ecx, dword [esp + 0x68]
movzx eax, byte [eax]
imul eax, eax, 6
movzx eax, word [eax + edx]
xor edx, edx
div ebx
mov ebx, dword [esp + 0x68]
push edx
push ebx
push ecx
push esi
push edi
push ebp
push dword [0x101a4468]
push dword [esp + 0x7c]
push 0xa47
push ebx
call fcn.10003041
mov esi, dword [esp + 0x98]
add esp, 0x54
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
add dword [esp + 0x14], 8
add edi, 4
movzx ecx, byte [esi]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x24], edi
mov word [edx + ecx*2], ax
movzx ecx, byte [esi]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + ecx*4 + 0x20]
or edx, dword [0x101a442c]
movzx eax, byte [ebx + 0x59b]
add edx, eax
mov eax, dword [esp + 0x10]
imul edx, dword [eax + ecx*4 + 0x68]
mov eax, dword [esp + 0x20]
imul edx, dword [eax + ebx*4]
mov dword [eax + ebx*4], edx
inc dword [0x101a442c]
inc ebx
movzx ecx, byte [esi]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
cmp ebx, dword [eax + ecx*4 + 8]
jl 0x10003c64
mov eax, dword [0x101a4470]
pop edi
pop esi
pop ebp
movzx eax, byte [eax*4 + 0x12a]
pop ebx
add esp, 0x28
ret