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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6fc
mov eax, dword [0x12a40a0]
xor eax, esp
mov dword [esp + 0x6f8], eax
mov eax, dword [str.RtlUnwind]
push ebx
push esi
push edi
mov ecx, str.RtlUnwind
call dword [eax + 0xc]
add eax, 0x10
push 0x12a23f4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
call fcn.01292ce0
test eax, eax
je 0x1292878
mov esi, dword [esp + 0x34]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1292160
sub ecx, edx
sar ecx, 1
je 0x1292878
push esi
call dword [0x129d02c]
push 0xa
push 1
push 0
call dword [0x129d010]
mov edi, eax
test edi, edi
je 0x12922c4
push edi
push 0
call dword [fcn.0129d014]
mov dword [esp + 0xc], eax
test eax, eax
je 0x12922c4
push edi
push 0
call dword [fcn.0129d018]
test eax, eax
je 0x12922c4
push eax
call dword [fcn.0129d01c]
mov ebx, eax
test ebx, ebx
je 0x12922c4
mov edi, ebx
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x12921d0
sub edi, ecx
mov ecx, ebx
sar edi, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x12921e4
sub ecx, edx
sar ecx, 1
push 0x206
lea eax, [ecx + ecx]
mov ecx, 0xfffffffe
sub ecx, eax
add dword [esp + 0x10], ecx
xor eax, eax
push eax
mov word [esp + 0x2f8], ax
lea eax, [esp + 0x2fa]
push eax
call fcn.012965d0
add esp, 0xc
lea eax, [esp + 0x2f0]
push esi
push 0x104
push eax
call fcn.01294079
add esp, 0xc
test eax, eax
jne 0x12922c4
push ebx
lea eax, [esp + 0x2f4]
push eax
call dword [0x129d14c]
test eax, eax
je 0x12922c4
push 0
push 0
push 4
push 0
push 0
push 0x40000000
lea eax, [esp + 0x308]
push eax
call dword [fcn.0129d020]
mov esi, eax
test esi, esi
je 0x12922c4
cmp esi, 0xffffffff
je 0x12922c4
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
lea eax, [ebx + 2]
mov dword [esp + 0x1c], 0
lea eax, [eax + edi*2]
push eax
push esi
call dword [0x129d024]
push esi
call dword [0x129d028]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jne 0x12922c4
push 3
push 0
push 0
lea eax, [esp + 0x2fc]
push eax
push 0
push 0
call dword [0x129d140]
push 0
call fcn.01294108
add esp, 4
push eax
call fcn.012940f8
add esp, 4
call fcn.012940d5
mov esi, eax
mov edi, 0x4c4b40
call fcn.012940d5
imul esi, eax
dec edi
jne 0x12922e3
push esi
push 0x12a2408
call fcn.0129416c
mov eax, dword [str.RtlUnwind]
add esp, 8
mov ecx, str.RtlUnwind
call dword [eax + 0xc]
mov ebx, dword [fcn.0129d050]
push edi
lea esi, [eax + 0x10]
push edi
push 0x12a23e0
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], esi
call ebx
mov edi, eax
test edi, edi
jne 0x1292377
mov edi, dword [esi - 0x10]
cmp dword [esi - 0xc], eax
lea edx, [esi - 0x10]
je 0x12924fe
cmp dword [edx + 0xc], eax
lea ecx, [edx + 0xc]
jge 0x1292354
cmp dword [esi - 8], eax
jl 0x1292cbc
mov dword [esi - 0xc], eax
mov word [esi], ax
jmp 0x12924fe
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1292368
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
jmp 0x12924fe
js 0x1292cc6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x12923a0
push edi
lea ecx, [esp + 0x14]
call fcn.01293130
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
push edi
push esi
push 0x12a23e0
call ebx
push dword [esi - 8]
push esi
call fcn.012942ac
add esp, 8
test eax, eax
js 0x1292cbc
cmp eax, dword [esi - 8]
jg 0x1292cbc
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x12923d4
sub ecx, edx
sar ecx, 1
cmp ecx, 0x80
jne 0x12924fe
push ecx
lea eax, [esp + 0xa8]
push esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], eax
call fcn.01292de0
mov eax, dword [str.RtlUnwind]
mov ebx, dword [esp + 0xa0]
mov ecx, str.RtlUnwind
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], edi
test ebx, ebx
je 0x1292461
test ebx, 0xffff0000
jne 0x1292451
movzx ebx, bx
mov ecx, ebx
call fcn.01293600
test eax, eax
je 0x1292476
push ebx
push eax
lea ecx, [esp + 0x14]
call fcn.01293070
jmp 0x129246e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1292456
sub ecx, edx
jmp 0x1292463
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x14]
call fcn.01293260
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x1292491
push eax
call fcn.012941cd
add esp, 4
push 0x3f
lea eax, [esp + 0x2b5]
push 0
push eax
mov byte [esp + 0x2bc], 0
call fcn.012965d0
mov edx, edi
add esp, 0xc
mov dword [esp + 0x14], 0x40
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x12924c0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2b4]
sub edx, ecx
push eax
mov ecx, edi
call fcn.012937d0
add esp, 8
test eax, eax
jne 0x1292521
add edi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x12924fe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1292c85
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1292c85
push 0xff
lea eax, [esp + 0xa5]
push 0
push eax
mov byte [esp + 0xac], 0
call fcn.012965d0
add esp, 0xc
xor eax, eax
mov word [esp + 0x1a0], ax
lea ebx, [ebx]
mov byte [esp + eax + 0xa0], al
inc eax
cmp eax, 0x100
jl 0x1292550
xor ebx, ebx
mov word [esp + 0x1a0], 0
xor dh, dh
lea ecx, [ecx]
mov dl, byte [esp + ebx + 0xa0]
mov eax, ebx
and eax, 0x8000003f
jns 0x1292585
dec eax
or eax, 0xffffffc0
inc eax
movzx eax, byte [esp + eax + 0x2b0]
add al, dl
add dh, al
movzx eax, dh
lea ecx, [esp + 0xa0]
add ecx, eax
inc ebx
movzx eax, byte [ecx]
mov byte [esp + ebx + 0x9f], al
mov byte [ecx], dl
cmp ebx, 0x100
jl 0x1292570
push ecx
push 0x12a4f60
mov edx, 0x12a4f60
lea ecx, [esp + 0xa8]
call fcn.01292070
add esp, 8
push 0x40
push 0x3000
push 0x400000
push 0
call dword [0x129d004]
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x12924e4
xor ecx, ecx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add al, cl
xor byte [ecx + 0x12a4f60], al
inc ecx
cmp ecx, 0x6d1dc
jb 0x12925f0
lea eax, [ebx + 0x400000]
push eax
push 0x131213c
push 0x12a4f60
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.01291c00
add esp, 0xc
test eax, eax
jne 0x12924e4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], 1
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov dword [esp + 0x10], edx
mov ebx, dword [edx + 0x80]
lea eax, [edx + 0xf8]
mov dword [esp + 0x38], eax
mov eax, 0xcccccccd
mul dword [edx + 0x84]
mov eax, edx
shr eax, 4
add ebx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
test eax, eax
jle 0x1292744
lea edx, [ebx + ecx]
mov dword [esp + 0x30], edx
mov edi, edi
mov eax, dword [edx]
test eax, eax
je 0x1292739
cmp dword [esp + 0x28], 0
je 0x12924e4
add eax, ecx
push eax
call dword [0x129d008]
mov dword [esp + 0x20], eax
test eax, eax
je 0x129270f
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx - 0xc]
add ebx, edx
add ecx, edx
cmp dword [ebx], 0
mov dword [esp + 0x1c], ecx
je 0x1292717
mov eax, dword [ebx]
test eax, eax
jns 0x12926de
and eax, 0x7fffffff
jmp 0x12926e3
add eax, 2
add eax, edx
push eax
push dword [esp + 0x24]
call dword [fcn.0129d00c]
mov dword [ebx], eax
test eax, eax
je 0x129270f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx], eax
add ebx, 4
add ecx, 4
cmp dword [ebx], 0
mov dword [esp + 0x1c], ecx
jne 0x12926d1
jmp 0x1292717
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
inc eax
add edx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
cmp eax, dword [esp + 0x18]
jl 0x1292690
cmp dword [esp + 0x28], 0
je 0x12924e4
mov eax, dword [esp + 0x10]
xor edx, edx
movzx ebx, word [eax + 6]
test ebx, ebx
jle 0x12924e4
xor eax, eax
jmp 0x1292760
mov esi, dword [esp + 0x38]
lea eax, [eax + eax*4]
cmp dword [esi + eax*8], 0x6c65722e
mov esi, dword [esp + 0x2c]
jne 0x1292786
mov edi, dword [esp + 0x38]
cmp dword [edi + eax*8 + 4], 0x636f
mov edi, dword [esp + 0x24]
je 0x1292793
inc edx
movzx eax, dx
cmp eax, ebx
jl 0x1292760
jmp 0x12924e4
movzx eax, dx
mov edx, dword [esp + 0x38]
lea eax, [eax + eax*4]
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, ecx
je 0x12924e4
cmp dword [ebx], 0
je 0x1292827
mov edi, dword [esp + 0xc]
mov dword [esp + 0x18], 0x3000
lea ebx, [ebx]
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
sub eax, 8
shr eax, 1
xor edx, edx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x1292810
mov esi, eax
lea ebx, [ebx]
movzx ecx, word [ebx + edx*2 + 8]
mov eax, ecx
and eax, 0xf000
cmp word [esp + 0x18], ax
jne 0x129280b
mov esi, dword [esp + 0x10]
and ecx, 0xfff
add ecx, dword [ebx]
mov eax, edi
sub eax, dword [esi + 0x34]
mov esi, dword [esp + 0x14]
add dword [ecx + edi], eax
inc edx
cmp edx, esi
jl 0x12927e0
mov eax, dword [esp + 0x1c]
add ebx, dword [eax]
cmp dword [ebx], 0
jne 0x12927c0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x78]
test eax, eax
je 0x12924e4
cmp dword [edx + 0x7c], 0
je 0x12924e4
cmp dword [ecx + eax + 0x14], 0
jbe 0x12924e4
mov ebx, dword [ecx + eax + 0x1c]
mov eax, dword [edx + 0x28]
add ebx, ecx
test eax, eax
je 0x129286d
push 0
push 1
push ecx
add eax, ecx
call eax
test eax, eax
je 0x12924e4
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx]
add eax, ecx
call eax
jmp 0x12924e4
xor eax, eax
push 0x206
push eax
mov word [esp + 0x500], ax
lea eax, [esp + 0x502]
push eax
call fcn.012965d0
add esp, 0xc
lea eax, [esp + 0x4f8]
push 0x104
push eax
push 0
call dword [0x129d030]
lea ecx, [esp + 0x4f8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x12928b7
sub ecx, edx
sar ecx, 1
je 0x1292c85
mov ebx, dword [0x129d034]
lea eax, [esp + 0x4f8]
push eax
push 0x12a23f4
call ebx
test eax, eax
je 0x1292c85
push 0
call fcn.01294108
add esp, 4
push eax
call fcn.012940f8
add esp, 4
lea eax, [esp + 0x2b1]
push 0x3f
push 0
push eax
mov byte [esp + 0x2bc], 0
call fcn.012965d0
add esp, 0xc
xor esi, esi
lea ebx, [ebx]
call fcn.012940d5
mov byte [esp + esi + 0x2b0], al
inc esi
cmp esi, 0x40
jb 0x1292920
push 0x80
lea eax, [esp + 0xa5]
push 0
push eax
mov byte [esp + 0xac], 0
call fcn.012965d0
add esp, 0xc
lea edx, [esp + 0xa0]
lea esi, [esp + 0x2b0]
mov edi, 0x40
mov al, byte [esi]
movzx ecx, al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [eax + 0x12a2420]
mov byte [edx], al
movzx eax, byte [ecx + 0x12a2420]
mov byte [edx + 1], al
lea esi, [esi + 1]
lea edx, [edx + 2]
dec edi
jne 0x1292964
lea eax, [esp + 0x1ac]
mov dword [esp + 0x1a8], eax
push ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x1b0]
call fcn.01292ec0
push dword [esp + 0x1a8]
push 0x12a23e0
call ebx
test eax, eax
mov eax, dword [esp + 0x1a8]
lea ecx, [esp + 0x1ac]
sete bl
cmp eax, ecx
je 0x12929de
push eax
call fcn.012941cd
add esp, 4
test bl, bl
jne 0x1292c85
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2f8], ax
lea eax, [esp + 0x2fa]
push eax
call fcn.012965d0
add esp, 0xc
lea eax, [esp + 0x2f0]
push eax
push 0x104
call dword [0x129d038]
lea eax, [esp + 0x2f0]
push eax
push 0
push 0
push eax
call dword [0x129d03c]
lea eax, [esp + 0x2f0]
push eax
call dword [0x129d148]
test eax, eax
je 0x1292c85
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x510]
push eax
call dword [fcn.0129d020]
mov esi, eax
test esi, esi
je 0x1292c85
cmp esi, 0xffffffff
je 0x1292c75
push 0
push esi
call dword [0x129d040]
test eax, eax
je 0x1292c75
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.01292f80
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x18]
push eax
sub ebx, edi
push ebx
push edi
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebx
call dword [0x129d044]
test eax, eax
je 0x1292c68
cmp ebx, dword [esp + 0x14]
jne 0x1292c68
push esi
call dword [0x129d028]
push 0
call dword [fcn.0129d048]
mov ecx, dword [eax + 0x3c]
mov ebx, 0x12a4f60
lea esi, [eax + 0xf8]
sub ebx, eax
movzx eax, word [ecx + eax + 6]
add esi, ecx
xor edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x1292c59
lea ecx, [esi + 0xc]
mov esi, dword [ecx]
cmp esi, ebx
ja 0x1292b2b
mov eax, dword [ecx + 4]
add eax, esi
cmp ebx, eax
jb 0x1292b38
mov eax, dword [esp + 0x18]
inc edx
add ecx, 0x28
cmp edx, eax
jl 0x1292b18
jmp 0x1292c59
mov ecx, dword [esp + 0x20]
lea eax, [edx + edx*4]
lea eax, [ecx + eax*8]
test eax, eax
je 0x1292c59
mov esi, dword [eax + 0x14]
sub esi, dword [eax + 0xc]
push 0xff
lea eax, [esp + 0x1ad]
push 0
push eax
add esi, ebx
mov byte [esp + 0x1b4], 0
call fcn.012965d0
xor eax, eax
add esp, 8
lea edx, [esp + 0x2b4]
lea ecx, [esp + 0x1ac]
mov word [esp + 0x2ac], ax
call fcn.01292000
lea edx, [edi + esi]
push edx
lea ecx, [esp + 0x1b0]
call fcn.01292070
add esp, 8
lea eax, [esp + 0x2f0]
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push eax
call dword [fcn.0129d020]
mov esi, eax
test esi, esi
je 0x1292c68
cmp esi, 0xffffffff
je 0x1292c68
mov ebx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push esi
mov dword [esp + 0x30], 0
call dword [0x129d024]
test eax, eax
je 0x1292c68
cmp ebx, dword [esp + 0x1c]
jne 0x1292c68
push esi
call dword [0x129d028]
push 0x40
lea eax, [esp + 0x60]
push 0
push eax
call fcn.012965d0
add esp, 0xc
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x314]
xorps xmm0, xmm0
push eax
mov dword [esp + 0x80], 0x44
mov dword [esp + 0x70], 0
movq qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], 0
call dword [0x129d04c]
test edi, edi
je 0x1292c85
push edi
call fcn.01294074
add esp, 4
jmp 0x1292c85
test edi, edi
je 0x1292c75
push edi
call fcn.01294074
add esp, 4
test esi, esi
je 0x1292c85
cmp esi, 0xffffffff
je 0x1292c85
push esi
call dword [0x129d028]
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1292ca3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x704]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.01293a19
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.012937b0
push 0x80070057
call fcn.012937b0
int3