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

Disassembly:
sub esp, 0xec
cmp dword [esp + 0xf4], 0
mov dword [esp + 0x78], 0
jle 0x1000a4a6
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
push esi
push edi
lea eax, [ebp + 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xa0]
mov edx, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x50]
mov esi, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xa4]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp + 0xc0], eax
xor eax, edx
mov dword [esp + 0x28], eax
mov eax, ebp
xor eax, ecx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x28]
xor eax, esi
xor ecx, edi
mov dword [esp + 0xa0], ebx
xor ecx, dword [esp + 0x8c]
xor eax, ebx
xor eax, dword [esp + 0x94]
xor ecx, dword [esp + 0x90]
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xf0], edx
mov eax, dword [ecx + 0xa8]
mov edi, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x58]
mov esi, dword [ecx + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xac]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x84]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xa4], ecx
xor ecx, esi
xor ecx, ebx
mov dword [esp + 0xb4], ebx
xor ecx, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
xor ecx, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
xor eax, edx
xor eax, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x100]
xor eax, dword [esp + 0x34]
xor eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xb0]
mov ebx, dword [ecx + 0x60]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0xb4]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x88]
mov dword [esp + 0xb8], edi
mov edi, dword [ecx + 0x64]
mov dword [esp + 0xac], esi
mov esi, dword [ecx + 0x38]
mov dword [esp + 0xb0], edx
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x8c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edx
lea eax, [ecx + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xdc], eax
xor eax, edx
xor eax, edi
mov dword [esp + 0xbc], ecx
xor eax, dword [esp + 0x4c]
xor ecx, esi
xor eax, dword [esp + 0x54]
xor ecx, ebx
xor ecx, dword [esp + 0x48]
xor ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x100]
mov eax, dword [ecx + 0xb8]
mov edi, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x68]
mov esi, dword [ecx + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xbc]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xd4], ecx
xor ecx, esi
xor ecx, ebx
mov dword [esp + 0xe4], ebx
mov ebx, dword [esp + 0x100]
mov eax, dword [eax + 0x1c]
xor ecx, dword [esp + 0x60]
xor ecx, dword [esp + 0x68]
mov dword [esp + 0xd8], eax
xor eax, edx
xor eax, edi
mov dword [esp + 0xe8], edi
xor eax, dword [esp + 0x64]
xor eax, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xe0], edx
mov edx, dword [ebx + 0x4c]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x24]
mov edi, eax
mov dword [esp + 0xf8], esi
xor edi, edx
mov esi, dword [ebx + 0x48]
mov ebx, ecx
xor edi, dword [esp + 0x80]
xor ebx, esi
xor ebx, dword [esp + 0x7c]
xor ebx, dword [esp + 0x1c]
xor edi, dword [esp + 0x10]
xor ebx, dword [esp + 0x14]
xor edi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x44]
mov edx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
shr edx, 0x1f
mov eax, dword [esp + 0x40]
xor esi, esi
shld ecx, eax, 1
or esi, ecx
add eax, eax
mov ecx, dword [esp + 0x100]
or edx, eax
mov eax, dword [esp + 0xc0]
xor edx, ebx
xor eax, edx
xor esi, edi
xor ebp, esi
mov dword [ecx], eax
mov eax, dword [esp + 0xf4]
mov dword [ecx + 4], ebp
xor eax, esi
mov ebp, dword [esp + 0x100]
mov ecx, dword [esp + 0xf0]
xor ecx, edx
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x98]
xor ecx, edx
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x9c]
xor eax, esi
mov dword [ebp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
xor ecx, edx
mov dword [ebp + 0x54], eax
mov eax, dword [esp + 0xa0]
xor eax, esi
mov dword [ebp + 0x78], ecx
mov ecx, dword [esp + 0x90]
xor ecx, edx
mov dword [ebp + 0x7c], eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x5c]
xor eax, esi
mov dword [ebp + 0xa0], ecx
xor esi, esi
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0xa4], eax
mov eax, dword [esp + 0x58]
shld ecx, eax, 1
shr edx, 0x1f
or esi, ecx
add eax, eax
mov ecx, dword [esp + 0xa4]
or edx, eax
xor edx, dword [esp + 0x28]
xor esi, dword [esp + 0x70]
xor ecx, edx
mov eax, dword [esp + 0xa8]
mov dword [ebp + 8], ecx
xor eax, esi
mov ecx, ebp
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
xor ecx, edx
mov dword [ebp + 0x30], ecx
xor eax, esi
mov ecx, ebp
mov dword [ecx + 0x34], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
xor ecx, edx
mov dword [ebp + 0x58], ecx
xor eax, esi
mov ecx, ebp
mov dword [ecx + 0x5c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor ecx, edx
mov dword [ebp + 0x80], ecx
xor eax, esi
mov ecx, ebp
mov dword [ecx + 0x84], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
xor ecx, edx
xor eax, esi
mov edx, ebp
mov ebp, dword [esp + 0x84]
xor esi, esi
mov dword [edx + 0xa8], ecx
mov ecx, dword [esp + 0x78]
mov dword [edx + 0xac], eax
mov edx, ecx
mov eax, dword [esp + 0x74]
shld ecx, eax, 1
shr edx, 0x1f
or esi, ecx
add eax, eax
xor esi, dword [esp + 0x44]
or edx, eax
xor edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
xor ecx, edx
xor eax, esi
mov dword [ebp], ecx
mov ecx, dword [esp + 0xc4]
xor ecx, edx
mov dword [ebp + 4], eax
mov ebp, dword [esp + 0x100]
mov eax, dword [esp + 0xc8]
xor eax, esi
mov dword [ebp + 0x38], ecx
mov ecx, ebp
mov dword [ecx + 0x3c], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
xor ecx, edx
mov dword [ebp + 0x60], ecx
xor eax, esi
mov ecx, ebp
mov dword [ecx + 0x64], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
xor ecx, edx
xor eax, esi
mov dword [ebp + 0x88], ecx
mov ecx, ebp
mov dword [ecx + 0x8c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
xor ecx, edx
xor eax, esi
mov edx, ebp
mov esi, dword [esp + 0xd4]
mov dword [edx + 0xb4], eax
mov eax, edi
mov dword [edx + 0xb0], ecx
xor ecx, ecx
mov edx, dword [esp + 0xd8]
shld edi, ebx, 1
shr eax, 0x1f
add ebx, ebx
or ecx, edi
xor ecx, dword [esp + 0x5c]
or eax, ebx
xor eax, dword [esp + 0x58]
mov edi, ebp
mov ebx, dword [esp + 0xf8]
xor edx, ecx
xor ebx, eax
xor esi, eax
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0xe0]
mov dword [edi + 0x40], ebx
xor edx, ecx
mov ebx, dword [esp + 0xe4]
xor ebx, eax
mov dword [edi + 0x44], edx
mov edx, dword [esp + 0xe8]
mov dword [edi + 0x68], ebx
xor edx, ecx
mov ebx, dword [esp + 0x60]
mov dword [edi + 0x18], esi
xor ebx, eax
mov dword [edi + 0x6c], edx
mov edx, dword [esp + 0x64]
xor edx, ecx
mov dword [edi + 0x90], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 0x94], edx
mov edx, dword [esp + 0x68]
xor edx, eax
mov esi, dword [esp + 0xec]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0xb8], edx
xor eax, ecx
mov edx, dword [esp + 0x70]
xor ecx, ecx
mov dword [edi + 0xbc], eax
mov eax, edx
shld edx, ebx, 1
shr eax, 0x1f
or ecx, edx
add ebx, ebx
xor ecx, dword [esp + 0x78]
or eax, ebx
mov edx, dword [esp + 0x2c]
xor eax, dword [esp + 0x74]
xor edx, ecx
mov ebx, dword [esp + 0x24]
xor esi, eax
mov dword [edi + 0x24], edx
xor ebx, eax
mov edx, dword [esp + 0x20]
xor edx, ecx
mov dword [edi + 0x48], ebx
mov ebx, dword [esp + 0x7c]
mov dword [edi + 0x4c], edx
xor ebx, eax
mov edx, dword [esp + 0x80]
xor edx, ecx
mov dword [edi + 0x70], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x74], edx
xor ebx, eax
mov edx, dword [esp + 0x10]
xor edx, ecx
mov dword [edi + 0x20], esi
mov esi, dword [edi + 0xc]
mov dword [edi + 0x9c], edx
mov edx, dword [esp + 0x14]
xor edx, eax
mov dword [edi + 0x98], ebx
mov eax, dword [esp + 0x18]
xor eax, ecx
mov dword [edi + 0xc0], edx
mov edx, dword [edi + 8]
xor ecx, ecx
mov dword [edi + 0xc4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x10048440]
mov ebx, dword [ecx + 0x100483e0]
mov ecx, 0x40
sub ecx, ebx
lea ebp, [edi + eax*8]
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, edx
mov edx, esi
call fcn.100477a0
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x14]
call fcn.100478e0
mov ecx, dword [esp + 0x10]
or esi, eax
or edi, edx
mov dword [ebp], esi
mov edx, dword [esp + 0x20]
add ecx, 4
mov esi, dword [esp + 0x24]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
cmp ecx, 0x60
jl 0x1000a341
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], 5
mov ecx, dword [eax - 0x10]
lea eax, [eax + 0x28]
mov edx, dword [eax - 0x30]
mov edi, dword [eax - 0x28]
mov esi, dword [eax - 0x24]
mov ebp, dword [eax - 0x20]
mov ebx, dword [eax - 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax - 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax - 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax - 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax - 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
not ecx
not edx
and ecx, esi
xor ecx, dword [esp + 0x14]
and edx, edi
xor edx, dword [esp + 0x18]
not edi
mov dword [eax - 0x38], edx
and edi, ebp
mov edx, dword [esp + 0x20]
not ebp
mov dword [eax - 0x34], ecx
and ebp, edx
xor dword [eax - 0x30], edi
not esi
mov ecx, dword [esp + 0x24]
and esi, ebx
xor dword [eax - 0x2c], esi
not ebx
xor dword [eax - 0x28], ebp
and ebx, ecx
xor dword [eax - 0x24], ebx
not edx
mov ebp, dword [esp + 0x18]
not ecx
mov ebx, dword [esp + 0x14]
and edx, ebp
xor dword [eax - 0x20], edx
and ecx, ebx
xor dword [eax - 0x1c], ecx
not ebp
and ebp, dword [esp + 0x2c]
not ebx
and ebx, dword [esp + 0x10]
xor dword [eax - 0x18], ebp
xor dword [eax - 0x14], ebx
sub dword [esp + 0x1c], 1
jne 0x1000a3c1
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x100]
mov eax, dword [ecx*8 + 0x10048320]
xor dword [ebp], eax
mov eax, dword [ecx*8 + 0x10048324]
inc ecx
xor dword [ebp + 4], eax
mov dword [esp + 0x88], ecx
cmp ecx, dword [esp + 0x104]
jl 0x10009d51
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret