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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x181c7008]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [edx]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edx
call dword [eax + 0x3c]
xor ebx, ebx
mov ecx, esi
mov edi, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
call fcn.180cb2d0
test al, al
je 0x180d85e0
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cfc2e
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x28]
cmp eax, 1
je 0x180d85e0
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push esi
push ebx
call fcn.180cb6cb
push esi
push ebx
lea ecx, [esp + 0x78]
call fcn.180cb6cb
mov ecx, esi
call fcn.180fa9dc
mov ecx, esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
call fcn.180fa9dc
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x18]
add eax, 0x30
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
call dword [eax + 0x14]
mov eax, dword [ebx]
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x180d85c9
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.180d8193
lea edx, [esp + 0x50]
mov ecx, ebx
lea esi, [eax + 2]
call fcn.180d8307
add esi, eax
mov ecx, dword [esp + 0x2c]
mov eax, esi
lea edx, [esp + 0x28]
or eax, 1
bsr eax, eax
push edx
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add eax, esi
add edi, eax
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0x2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x180d8570
lea ecx, [esp + 0x70]
call fcn.180cb763
lea ecx, [esp + 0x28]
call fcn.180cb763
jmp case.default.0x180d8637
mov al, byte [esi + 1]
and al, 0x60
mov dword [esp + 0x10], ebx
cmp al, 0x60
jne 0x180d8601
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cc78f
mov dword [esp + 0x10], eax
jmp 0x180d8626
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x2f], bl
jne 0x180d861e
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cc45b
test al, al
je 0x180d8626
mov dword [esp + 0x10], 1
mov ecx, esi
call fcn.180cb2a3
dec eax
cmp eax, 0x11
ja case.default.0x180d8637
jmp dword [eax*4 + 0x180d89ef]
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d8678
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180ccfff
cdq
push edx
push eax
call fcn.180514c5
add edi, eax
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x10]
jb 0x180d8651
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cceab
cdq
push edx
push eax
call fcn.180514c5
pop ecx
pop ecx
mov edi, eax
jmp case.default.0x180d8637
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d86d0
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cd2b9
push edx
push eax
call fcn.180514c5
add edi, eax
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x10]
jb 0x180d86aa
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cd147
jmp 0x180d8687
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d8728
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180ccfff
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add edi, eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x180d86f3
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cceab
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
imul edi, eax, 9
add edi, 0x49
shr edi, 6
jmp case.default.0x180d8637
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d878c
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cd2b9
push edx
push eax
call fcn.180d36d4
add edi, eax
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x10]
jb 0x180d8766
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cd147
push edx
push eax
call fcn.180d36d4
jmp 0x180d868e
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d87e5
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cd55e
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add edi, eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x180d87b9
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cd40a
or eax, 1
bsr eax, eax
jmp 0x180d8745
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d8837
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cd818
push edx
push eax
call fcn.180514c5
add edi, eax
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x10]
jb 0x180d8811
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180cd6a6
jmp 0x180d8687
mov edi, dword [esp + 0x10]
shl edi, 2
jmp case.default.0x180d8637
mov edi, dword [esp + 0x10]
shl edi, 3
jmp case.default.0x180d8637
mov edi, dword [esp + 0x10]
jmp case.default.0x180d8637
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d88a2
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cf0ad
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
add edi, eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x180d887e
jmp case.default.0x180d8637
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push dword [esp + 0x1c]
call fcn.180cebc4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x180d8690
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d88f4
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180cf0ad
mov ecx, eax
call fcn.180d8d4b
add edi, eax
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x180d88d0
jmp case.default.0x180d8637
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push dword [esp + 0x1c]
call fcn.180cebc4
mov ecx, eax
call fcn.180d8d4b
jmp 0x180d8690
mov al, byte [esi + 1]
and al, 0x60
cmp al, 0x60
jne 0x180d894c
cmp dword [esp + 0x10], ebx
jbe case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push ebx
push esi
push dword [esp + 0x1c]
call fcn.180ce91b
mov eax, dword [eax + 4]
cdq
push edx
push eax
call fcn.180514c5
add edi, eax
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x10]
jb 0x180d8922
jmp case.default.0x180d8637
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
call fcn.180ce6f1
mov eax, dword [eax + 4]
jmp 0x180d8686
mov ecx, ebx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x10], ecx
jbe case.default.0x180d8637
mov al, byte [esi + 1]
and al, 0x60
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], bl
push ecx
cmp al, 0x60
jne 0x180d8999
push ecx
mov ecx, dword [esp + 0x20]
push esi
push dword [esp + 0x20]
call fcn.180ce56b
jmp 0x180d89a7
mov ecx, dword [esp + 0x1c]
push esi
push dword [esp + 0x1c]
call fcn.180ce255
mov ecx, eax
mov eax, dword [ecx + 0x10]
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add eax, dword [ecx + 0x10]
lea ecx, [esp + 0x58]
add edi, eax
call fcn.1800e379
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x10]
jb 0x180d896e
mov ecx, dword [esp + 0xa4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18141824
mov esp, ebp
pop ebp
ret