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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
cmp dword [ecx + 0x20], 0
je 0x118e326
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa4]
push 0xa
push 4
push ecx
push eax
call fcn.0118e340
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0118a840
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x400]
push eax
call fcn.0118c9f0
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], 0xcdc5f2cc
mov byte [esp + 0x20], 0x68
mov dword [esp + 0x21], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x118de70
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
mov edx, eax
not edx
or edx, 0x7898fa97
add edx, eax
xor eax, 0xf898fa97
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xd
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x118de30
lea eax, [esp + 0x1c]
mov ecx, esi
push 0x11cc050
push eax
push edi
call fcn.0118d700
mov dword [esp], 0xc16a6c54
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x118dedc
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
mov edx, eax
xor edx, 0x179cc1b1
and eax, 0x179cc1b1
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x8b
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x118dea0
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0118d700
mov eax, dword [str.c2CoW0__1]
mov dword [esp + 0x1c], 0x73ded8c4
mov word [esp + 0x20], 0
mov byte [esp + 0x22], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x118df4b
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
mov ebx, ecx
xor ebx, 0xf9e5b494
and ecx, 0xf9e5b494
lea ecx, [ebx + ecx*2]
xor ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x1c
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x118df10
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
push edi
call fcn.0118d700
mov dword [esp + 0x1c], 0xafa4aca3
mov dword [esp + 0x20], 0xbcb3b88b
mov dword [esp + 0x24], 0xb6b588bb
mov byte [esp + 0x28], 0x24
mov dword [esp + 0x29], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x10
ja 0x118dfd5
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
mov edx, eax
xor edx, 0x718af34c
and eax, 0xf18af34c
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, eax
not ecx
and ecx, 0x7c
and eax, 0x83
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x11
jb 0x118df90
mov dword [esp + 8], 0x931ef2f1
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x118e03c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0xd91f3b9c
and eax, 0xd91f3b9c
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xf4
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x118e000
lea edx, [esp + 8]
mov ecx, esi
lea eax, [esp + 0x1c]
push eax
push edx
push edi
call fcn.0118d700
mov dword [esp + 0x1c], 0x6e526c6a
mov byte [esp + 0x20], 0xc0
mov dword [esp + 0x21], 0
mov word [esp + 0x25], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x118e0d1
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx ebx, byte [esp + eax + 0x1c]
lea eax, [ecx + ebx]
add eax, 0x75e24b31
add ecx, 0x75e24b31
mov edx, ebx
not edx
or edx, ecx
lea ecx, [ebx + edx]
add edx, ebx
inc edx
mov ebx, eax
not ebx
and ebx, edx
not edx
and edx, eax
lea eax, [ebx + ecx]
inc eax
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0xb
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x118e080
mov ecx, esi
push ebp
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0118d9b0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x1c], 0x9fed99df
mov dword [esp + 0x20], 0xa3d69dee
mov dword [esp + 0x24], 0xa7d4a1c5
mov dword [esp + 0x28], 0xab87a5d0
mov dword [esp + 0x2c], 0xafd7a9fc
mov dword [esp + 0x30], 0xb3d7addc
mov dword [esp + 0x34], 0xb796b18e
mov dword [esp + 0x38], 0xbbcfb5d9
mov dword [esp + 0x3c], 0xbfcab9d4
mov dword [esp + 0x40], 0xc3b2bdd5
mov dword [esp + 0x44], 0xc7b0c1a1
mov dword [esp + 0x48], 0xcbf9c5b0
mov dword [esp + 0x4c], 0xcfbdc9a2
mov dword [esp + 0x50], 0xd3bfcdba
mov dword [esp + 0x54], 0xd7b2d1fd
mov dword [esp + 0x58], 0xdbaed5b5
mov dword [esp + 0x5c], 0xdfe1d9b9
mov dword [esp + 0x60], 0xe384ddfc
mov dword [esp + 0x64], 0xe793e193
mov dword [esp + 0x68], 0xeb8ee596
mov dword [esp + 0x6c], 0xef98e989
mov dword [esp + 0x70], 0xf3cfed95
mov dword [esp + 0x74], 0xf793f196
mov dword [esp + 0x78], 0xfbcff5cc
mov dword [esp + 0x7c], 0xff9bf99c
mov dword [esp + 0x80], 0x36bfdc9
mov dword [esp + 0x84], 0x7620170
mov dword [esp + 0x88], 0xb6d0577
mov dword [esp + 0x8c], 0xf6b0961
mov dword [esp + 0x90], 0x13640d7a
mov dword [esp + 0x94], 0x17271175
mov dword [esp + 0x98], 0x1b141519
mov word [esp + 0x9c], 0x1918
mov dword [esp + 0x9e], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x85
ja 0x118e26e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
mov ebx, ecx
xor ebx, 0x39ca189a
and ecx, 0x39ca189a
lea ecx, [ebx + ecx*2]
xor ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0xfe
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x86
jb 0x118e230
mov dword [esp + 8], 0x57b7497b
mov dword [esp + 0xc], 0x53bb55a4
mov dword [esp + 0x10], 0x5150
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x118e2ef
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
mov ebx, ecx
xor ebx, 0x3fc6f40e
and ecx, 0x3fc6f40e
lea ecx, [ebx + ecx*2]
lea ebx, [ecx + edx]
and ecx, edx
mov edx, ebx
xor edx, ecx
add edx, ecx
not ecx
and ecx, ebx
add ecx, ecx
sub ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xba
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x118e2a0
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.01190a10
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0118ca00
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x118e328
mov bl, 1
mov eax, ebx
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret