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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe16f75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x188
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x94], 1
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 0
mov ecx, esi
mov byte [edi], 0
mov dword [ebp - 0x4c], esi
call fcn.0130ff50
sub esp, 8
mov dword [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x94], 1
lea ecx, [ebp - 0x60]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0130c390
add esp, 8
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x18], 0xfff2fbff
mov dword [ebp - 0x14], 0x100ebf9
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 6
jb 0x12e5361
cmp byte [edi], 0
mov byte [ebp - 0x11], 0
jne 0x12e538f
push 1
lea ecx, [ebp - 0x48]
mov byte [edi], 1
call fcn.0130ff50
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp byte [edi], 1
jne 0x12e5c21
mov esi, dword [esi]
lea edx, [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x12e53b8
sub edx, ecx
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x90]
call fcn.012ab030
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.01315710
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x12e5420
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e5416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e5c55
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 1
mov al, byte [ebp - 0x60]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov cl, byte [edi]
mov byte [edi], al
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x60], cl
mov ecx, dword [ebp - 0x54]
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x60]
mov dword [edi + 8], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
call fcn.0130bff0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x20], 0
push eax
push 1
push 0
push edx
call 0x14a0304
test eax, eax
je 0x12e5c0b
xor esi, esi
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x74], esi
jbe 0x12e5b64
nop dword [eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x12e5b57
cmp dword [eax + 0x30], 0
je 0x12e5b57
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x12e54c9
cmp ecx, 4
jne 0x12e5b57
mov eax, dword [eax + 0x18]
cmp eax, 0xc9
jae 0x12e5b57
test eax, eax
je 0x12e5b57
push 0xe304b8
lea ecx, [ebp - 0x130]
call fcn.012aaf00
mov dword [ebp - 4], 6
xor edi, edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x18], edi
jbe 0x12e5554
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 0
je 0x12e554b
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
push 0
inc eax
push eax
call fcn.0130e030
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x130]
mov eax, dword [eax + esi*4]
mov esi, dword [eax + 0x1c]
call fcn.012aafa0
mov ecx, dword [ebp - 0x120]
mov dl, byte [edi + esi]
mov esi, dword [ebp - 0x2c]
mov byte [eax + ecx - 1], dl
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + esi*4]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x12e5503
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push 0
mov byte [ebp - 0x60], 0
call fcn.0130ff50
mov byte [ebp - 4], 8
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0xa0], xmm0
mov byte [ebp - 0xa8], 3
call fcn.01385502
mov esi, eax
add esp, 4
lea eax, [ebp - 0x6b]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0xe304b8
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.012ab030
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x35], 0xf0fae6e3
mov dword [ebp - 0x31], 0xfcf4fe
mov byte [ebp - 0x2d], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x35], al
inc ecx
cmp ecx, 7
jb 0x12e55e5
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x2d], 0
test al, al
jne 0x12e5622
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x60], 1
call fcn.0130ff50
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
jmp 0x12e562d
cmp al, 1
jne 0x12e5cae
mov edi, dword [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x35]
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xd8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e5651
sub ecx, edx
lea eax, [ebp - 0x35]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.012ab030
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.01315710
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], edx
cmp ecx, 0x10
jb 0x12e56c2
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e56b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e5c55
push ecx
push edx
call fcn.01385783
mov edx, dword [ebp - 0x1c]
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 [edx]
mov byte [ebp - 0xa8], al
mov eax, dword [ebp - 0x1c]
mov byte [edx], 3
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x9c], edx
mov dword [esi + 0xc], eax
call fcn.0130bff0
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x2c]
push 0x18
movq qword [ebp - 0x80], xmm0
mov byte [ebp - 0x88], 3
mov esi, dword [eax + esi*4]
call fcn.01385502
mov edx, eax
add esp, 4
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov esi, dword [esi + 8]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e5774
sub ecx, dword [ebp - 0x1c]
push ecx
push esi
mov ecx, edx
call fcn.012ab030
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 0xf
xor ecx, ecx
mov dword [ebp - 0x25], 0xf9e6e6
mov byte [ebp - 0x21], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 3
jb 0x12e57a8
xorps xmm0, xmm0
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x25]
mov dword [ebp - 0xe0], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e57e0
sub ecx, edx
lea eax, [ebp - 0x25]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.012ab030
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.01315710
mov byte [ebp - 4], 0xf
mov edx, eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], edx
cmp ecx, 0x10
jb 0x12e5851
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e5844
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e5c55
push ecx
push edx
call fcn.01385783
mov edx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 4], 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov al, byte [edx]
mov byte [ebp - 0x88], al
mov eax, dword [ebp - 0x1c]
mov byte [edx], 3
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x7c], edx
mov dword [esi + 0xc], eax
call fcn.0130bff0
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x98], esp
mov esi, dword [eax + ecx*4]
mov eax, esp
push 0x18
mov dword [ebp - 0x50], eax
movq qword [eax + 8], xmm0
mov byte [eax], 3
call fcn.01385502
mov edx, eax
add esp, 4
lea eax, [ebp - 0x6d]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 0x13
xorps xmm0, xmm0
mov esi, dword [esi + 0x30]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e5904
sub ecx, dword [ebp - 0x3c]
push ecx
push esi
mov ecx, edx
call fcn.012ab030
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xf4], 0
mov dword [ecx + 8], eax
mov byte [ebp - 4], 0x14
xor ecx, ecx
mov dword [ebp - 0x17], 0xfff2fbff
mov word [ebp - 0x13], 0xf9
mov byte [ebp - 0x11], 1
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 5
jb 0x12e5941
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x17]
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x12e5976
sub edx, ecx
lea eax, [ebp - 0x17]
push edx
push eax
lea ecx, [ebp - 0x148]
call fcn.012ab030
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x15
push eax
mov ecx, edi
call fcn.01315710
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x14
mov esi, eax
call fcn.012aae60
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0130c010
sub esp, 0x10
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.01312e20
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x6a]
mov dword [ebp - 0x6a], 0xe5e6f5e3
mov dword [ebp - 0x66], 0xfeebf7e0
mov word [ebp - 0x62], 0x100
call fcn.012b7620
push eax
lea ecx, [ebp - 0x60]
call fcn.01312600
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0130c010
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0xfff2fbff
mov dword [ebp - 0x44], 0x100ebf9
call fcn.012b8d00
mov edi, dword [ebp - 0x78]
mov esi, eax
cmp byte [edi], 0
jne 0x12e5a4e
push 1
lea ecx, [ebp - 0x100]
mov byte [edi], 1
call fcn.0130ff50
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x12e5a51
mov eax, dword [ebp - 0x4c]
cmp byte [edi], 1
jne 0x12e5c5a
mov edi, dword [eax]
mov edx, esi
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x12e5a80
sub edx, ecx
lea ecx, [ebp - 0xc0]
push edx
push esi
call fcn.012ab030
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.01315710
mov byte [ebp - 4], 8
mov esi, eax
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x12e5ae8
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e5ade
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e5c55
push ecx
push edx
call fcn.01385783
add esp, 8
lea eax, [ebp - 0x60]
mov dword [ebp - 0xb0], 0
push eax
mov ecx, esi
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0130b970
lea ecx, [ebp - 0x60]
call fcn.0130bff0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0x10
jb 0x12e5b54
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12e5b4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12e5c55
push ecx
push edx
call fcn.01385783
add esp, 8
mov esi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, dword [ebp - 0x74]
jb 0x12e54a0
cmp dword [ebp - 0x20], 0
je 0x12e5c0b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x4c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
je 0x12e5be7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x12e5be7
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x50], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x12e5bdd
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x12e5bc0
cmp esi, 0x2ad736ef
je 0x12e5beb
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x12e5ba5
mov eax, dword [eax]
jmp 0x12e5b80
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
push dword [ebp - 0x20]
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 - 0x78]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, edi
call fcn.01310220
push eax
lea ecx, [ebp - 0x160]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x198]
call fcn.013123b0
add esp, 4
mov byte [ebp - 4], 5
jmp 0x12e5cde
call fcn.0138aa20
mov ecx, edi
call fcn.01310220
push eax
lea ecx, [ebp - 0x148]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc0]
call fcn.013123b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x164]
call fcn.012b1120
add esp, 4
lea eax, [ebp - 0x164]
push 0xe416e8
push eax
call fcn.0138716b
lea ecx, [ebp - 0x60]
call fcn.01310220
push eax
lea ecx, [ebp - 0x198]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
call fcn.013123b0
add esp, 4
mov byte [ebp - 4], 0xd
push eax
mov edx, 0x131
lea ecx, [ebp - 0x180]
call fcn.012b1120
add esp, 4
lea eax, [ebp - 0x180]
push 0xe416e8
push eax
call fcn.0138716b
int3