Function at 0x1363040
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7ec3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x7c], ebx
push edi
mov dword [ebp - 0xf4], 1
lea esi, [ebx + 8]
mov dword [ebp - 4], 0
push 0
mov ecx, esi
mov byte [ebx], 0
mov dword [ebp - 0x3c], esi
call fcn.01390250
sub esp, 8
mov dword [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0xf4], 1
lea ecx, [ebp - 0x50]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0138ca00
add esp, 8
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x14], 0x8b868fb3
mov dword [ebp - 0x10], 0x100978d
mov edi, edi
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 6
jb 0x13630d0
cmp byte [ebx], 0
mov byte [ebp - 0xd], 0
jne 0x13630fe
push 1
lea ecx, [ebp - 0x38]
mov byte [ebx], 1
call fcn.01390250
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp byte [ebx], 1
jne 0x1363911
mov esi, dword [esi]
lea edx, [ebp - 0x14]
xor eax, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1363123
sub edx, ecx
lea eax, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x78]
call fcn.013282e0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.01395b30
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x1363182
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1363178
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 1
mov al, byte [ebp - 0x50]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov cl, byte [edi]
mov byte [edi], al
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x50], cl
mov ecx, dword [ebp - 0x44]
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x50]
mov dword [edi + 8], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], esi
call fcn.0138c670
lea eax, [ebp - 0x18]
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0
push eax
push 1
push 0
push edi
call 0x15073f2
test eax, eax
jne 0x13631f9
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x60], ebx
jbe 0x1363861
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1363854
cmp dword [eax + 0x30], 0
je 0x1363854
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x1363230
cmp ecx, 4
jne 0x1363854
mov eax, dword [eax + 0x18]
cmp eax, 0xc9
jae 0x1363854
test eax, eax
je 0x1363854
push 0xdd02e8
lea ecx, [ebp - 0x128]
call fcn.01328180
mov dword [ebp - 4], 6
xor edi, edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 0x18], edi
jbe 0x13632be
lea ebx, [ebx]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 0
je 0x13632b5
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x128]
push 0
inc eax
push eax
call fcn.0138e470
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x128]
mov eax, dword [eax + ebx*4]
mov esi, dword [eax + 0x1c]
call fcn.01328220
mov ecx, dword [ebp - 0x118]
mov dl, byte [edi + esi]
mov byte [eax + ecx - 1], dl
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + ebx*4]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x1363270
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
push 0
mov byte [ebp - 0x50], 0
call fcn.01390250
mov byte [ebp - 4], 8
xor eax, eax
push 0x18
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x70], 3
call fcn.014034b0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x5b]
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], eax
xor eax, eax
mov byte [ebp - 4], 9
mov dword [esi], eax
mov ecx, esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push 0xdd02e8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.013282e0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x2a], 0x848e92af
mov dword [ebp - 0x26], 0x80888a
mov byte [ebp - 0x22], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x2a], al
inc ecx
cmp ecx, 7
jb 0x1363341
mov al, byte [ebp - 0x50]
mov byte [ebp - 0x22], 0
test al, al
jne 0x136337e
push 1
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x50], 1
call fcn.01390250
mov edi, dword [ebp - 0x108]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], eax
jmp 0x1363389
cmp al, 1
jne 0x136399e
mov edi, dword [ebp - 0x48]
xor eax, eax
lea ecx, [ebp - 0x2a]
mov dword [ebp - 0xd8], eax
lea edx, [ecx + 1]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13633b5
sub ecx, edx
lea eax, [ebp - 0x2a]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.013282e0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.01395b30
mov byte [ebp - 4], 0xa
mov ebx, eax
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x1363420
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1363416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov al, byte [ebx]
mov byte [ebx], 3
mov ecx, dword [ebx + 0xc]
mov byte [ebp - 0x70], al
mov eax, dword [ebx + 8]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x70]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x68], eax
call fcn.0138c670
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x90], 0
mov edx, dword [eax + edx*4]
xor eax, eax
add edx, 8
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
call fcn.013a2a40
mov byte [ebp - 4], 0xe
xor ecx, ecx
mov dword [ebp - 0x21], 0x8d92aa
mov byte [ebp - 0x1d], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 3
jb 0x13634a2
xor eax, eax
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x21]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
lea edx, [ecx + 1]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13634e0
sub ecx, edx
lea eax, [ebp - 0x21]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.013282e0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.01395b30
mov byte [ebp - 4], 0xe
mov ebx, eax
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0x10
jb 0x136354b
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1363541
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 8
mov al, byte [ebp - 0x90]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov cl, byte [ebx]
mov byte [ebx], al
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x88]
mov byte [ebp - 0x90], cl
mov ecx, dword [ebp - 0x84]
mov dword [ebx + 0xc], ecx
lea ecx, [ebp - 0x90]
mov dword [ebx + 8], eax
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], esi
call fcn.0138c670
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov ebx, dword [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edx, dword [eax + ebx*4]
xor eax, eax
mov byte [ecx], 0
add edx, 0x30
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.013a2a40
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [ebp - 0x13], 0x8b868fb3
mov word [ebp - 0xf], 0x8d
mov byte [ebp - 0xd], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 5
jb 0x13635e4
xor eax, eax
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x13]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea ecx, [edx + 1]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1363621
sub edx, ecx
lea eax, [ebp - 0x13]
push edx
push eax
lea ecx, [ebp - 0xa8]
call fcn.013282e0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
push eax
mov ecx, edi
call fcn.01395b30
mov byte [ebp - 4], 0x12
mov esi, eax
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x136368c
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1363682
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, esi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 8
call fcn.0138c690
sub esp, 0x10
lea eax, [ebp - 0x128]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.013930a0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5a]
mov dword [ebp - 0x5a], 0x919281af
mov dword [ebp - 0x56], 0x82978b94
mov word [ebp - 0x52], 0x100
call fcn.013336b0
push eax
lea ecx, [ebp - 0x50]
call fcn.01392840
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0138c690
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x8b868fb3
mov dword [ebp - 0x34], 0x100978d
call fcn.01331b60
mov edi, dword [ebp - 0x7c]
mov esi, eax
cmp byte [edi], 0
jne 0x1363740
push 1
lea ecx, [ebp - 0x110]
mov byte [edi], 1
call fcn.01390250
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x1363743
mov eax, dword [ebp - 0x3c]
cmp byte [edi], 1
jne 0x136394a
mov edi, dword [eax]
mov edx, esi
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
lea ecx, [edx + 1]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x1363780
sub edx, ecx
lea ecx, [ebp - 0xc0]
push edx
push esi
call fcn.013282e0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x17
push eax
mov ecx, edi
call fcn.01395b30
mov byte [ebp - 4], 8
mov esi, eax
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x13637e8
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13637de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0xb0], 0
push eax
mov ecx, esi
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0138c040
lea ecx, [ebp - 0x50]
call fcn.0138c670
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x1363854
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136384a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1363945
push ecx
push edx
call fcn.01403731
add esp, 8
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x60]
jb 0x1363207
cmp dword [ebp - 0x18], 0
je 0x13638fd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x1c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
je 0x13638d9
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x13638d9
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
lea esp, [esp]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x13638d2
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x13638b5
cmp esi, 0x2ad736ef
je 0x13638dd
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x13638a0
mov eax, dword [eax]
jmp 0x1363877
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.01390560
push eax
lea ecx, [ebp - 0x140]
call fcn.01328180
push eax
mov edx, 0xdd0c14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
call fcn.01392660
add esp, 4
mov byte [ebp - 4], 5
jmp 0x13639ce
call fcn.014089d0
mov ecx, edi
call fcn.01390560
push eax
lea ecx, [ebp - 0xc0]
call fcn.01328180
push eax
mov edx, 0xdd0c14
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.01392660
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x144]
call fcn.0132cf80
add esp, 4
lea eax, [ebp - 0x144]
push 0xddf5d0
push eax
call fcn.0140511b
lea ecx, [ebp - 0x50]
call fcn.01390560
push eax
lea ecx, [ebp - 0x178]
call fcn.01328180
push eax
mov edx, 0xdd0c14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x140]
call fcn.01392660
add esp, 4
mov byte [ebp - 4], 0xd
push eax
mov edx, 0x131
lea ecx, [ebp - 0x160]
call fcn.0132cf80
add esp, 4
lea eax, [ebp - 0x160]
push 0xddf5d0
push eax
call fcn.0140511b
int3