Function at 0x12f05c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe17f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push esi
push edi
mov dword [ebp - 0xb4], edx
mov byte [ebp - 0xe], cl
mov dword [ebp - 4], 3
mov eax, dword [0xe465e4]
test al, 1
jne 0x12f0644
or eax, 1
mov dword [0xe465e4], eax
mov byte [ebp - 4], 4
push 0x2c
mov dword [0xe4661c], 0
mov dword [0xe46620], 0
call fcn.01385502
push 0xe1b900
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [0xe4661c], eax
call fcn.0138576e
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
push 0xe46240
cmovae esi, dword [ebp + 0x20]
call fcn.01384a84
add esp, 4
test eax, eax
jne 0x12f1822
test esi, esi
je 0x12f06a7
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f0670
sub ecx, edx
je 0x12f06a7
push esi
push edi
call 0x15353ea
cmp eax, 0xffffffff
jne 0x12f06a1
call dword [0xe1c090]
cmp eax, 0x44
je 0x12f06a1
cmp eax, 0x20
je 0x12f06a1
cmp eax, 0x45
je 0x12f06a1
cmp eax, 0x24
jne 0x12f06a7
mov byte [ebp - 0xd], 1
jmp 0x12f06ab
mov byte [ebp - 0xd], 0
push 0xe46240
call fcn.01384a95
xor eax, eax
add esp, 4
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.01319b80
mov esi, dword [ebp - 0xb8]
cmp byte [esi + 0xd], 0
jne 0x12f071c
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x12f06e7
mov eax, dword [eax]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
push eax
call fcn.01313a40
shr eax, 0x1f
add esp, 8
test al, al
jne 0x12f071c
cmp esi, dword [0xe4661c]
je 0x12f071c
lea eax, [ebp + 0x20]
push eax
call fcn.0130abe0
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
cmp byte [ebp - 0xe], 0
je 0x12f0a98
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x12f167b
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0130e550
push 0
mov dl, 1
lea ecx, [ebp - 0x70]
call fcn.012c8f20
add esp, 0x1c
xor ecx, ecx
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x70]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x6c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x12f0a8c
xor edi, edi
nop dword [eax]
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x12f0a8c
sub esp, 0x18
lea eax, [esi + edi]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0130e550
sub esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0130d290
mov byte [ebp - 4], 5
call fcn.012f0370
add esp, 0x24
test al, al
jne 0x12f0a64
cmp byte [ebp - 0xd], al
jne 0x12f07e3
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0
cmovae eax, dword [ebp + 0x20]
push eax
call dword [0xe1c10c]
mov byte [ebp - 0xd], 1
mov esi, dword [ebp - 0x70]
lea ecx, [ebp - 0x1b]
add esi, edi
mov word [ebp - 0x1b], 0x5c
mov byte [ebp - 0x19], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f07f8
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x12f1828
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x1b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.01315f90
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0130e2d0
mov dword [ebp - 0xc8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x12f08bc
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f08b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
push 0
cmovae eax, dword [ebp - 0xd8]
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call dword [0xe1c10c]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x1e]
add eax, edi
mov word [ebp - 0x1e], 0x5c
mov dword [ebp - 0x90], eax
lea edx, [ecx + 1]
mov byte [ebp - 0x1c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f0906
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x12f1828
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x1e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.01315f90
sub esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x48]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.0130d290
sub esp, 0xc
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.0130d290
push dword [ebp + 0x38]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xd8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.0130e550
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov esi, esp
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x74], esi
push dword [ebp - 0x90]
call fcn.0130e2d0
mov edx, dword [ebp - 0xb4]
xorps xmm0, xmm0
mov cl, byte [ebp - 0xe]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
call fcn.012f05c0
add dword [ebp - 0x64], eax
add esp, 0x4c
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x12f0a26
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f0a1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x12f0a64
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f0a5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x70]
add edi, 0x18
inc dword [ebp - 0x18]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x12f0780
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.01310740
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x12f167b
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0130e550
push 0
xor dl, dl
lea ecx, [ebp - 0xc0]
call fcn.012c8f20
add esp, 0x1c
mov byte [ebp - 4], 0xe
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xbc]
xor esi, esi
mov edi, dword [ebp - 0xc0]
sub ecx, edi
imul ecx
mov dword [ebp - 0x90], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x12f166c
nop dword [eax + eax]
mov eax, dword [ebp + 0x38]
cmp dword [eax], 0xa00000
jae 0x12f166c
lea esi, [esi + esi*2]
sub esp, 0x18
shl esi, 3
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [edi + esi]
push eax
call fcn.0130e550
sub esp, 0xc
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x3c]
mov ecx, esp
push eax
call fcn.0130d290
mov byte [ebp - 4], 0xe
call fcn.012f0370
add esp, 0x24
test al, al
jne 0x12f1638
mov edi, dword [ebp - 0xc0]
lea ecx, [ebp - 0x1e]
add edi, esi
mov word [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f0b63
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp + 0x30]
sub eax, edx
cmp eax, ecx
jb 0x12f1828
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x1e]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.01315f90
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.0130e2d0
mov dword [ebp - 0x9c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x12f0c27
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f0c1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x48]
imul ecx
mov dword [ebp - 0x44], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x40], 0xf
shr eax, 0x1f
mov byte [ebp - 0x54], 0
add eax, edx
je 0x12f0c8c
sub esp, 0x18
lea eax, [ebp - 0xac]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0130e550
sub esp, 0xc
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x48]
mov ecx, esp
push eax
call fcn.0130d290
mov byte [ebp - 4], 0x12
call fcn.012f0420
add esp, 0x24
test al, al
je 0x12f15fa
add esi, dword [ebp - 0xc0]
lea ecx, [ebp - 0x1b]
mov word [ebp - 0x1b], 0x5c
lea edx, [ecx + 1]
mov byte [ebp - 0x19], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f0ca2
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x12f1828
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x1b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.01315f90
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x14
call fcn.0130e2d0
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x12f0d5d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f0d53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x24], 0xf
mov ecx, esp
mov byte [ebp - 0x38], 0
push eax
call fcn.0130e550
call fcn.012b4440
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x12f15aa
cmp eax, dword [ebp - 0xb4]
ja 0x12f15aa
cmp byte [ebp - 0xd], 0
jne 0x12f0dbd
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 0
cmovae eax, dword [ebp + 0x20]
push eax
call dword [0xe1c10c]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x5a], 0xfdfbf8bd
xor ecx, ecx
mov word [ebp - 0x56], 0x100
nop dword [eax]
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x5a], al
inc ecx
cmp ecx, 4
jb 0x12f0dd0
lea edx, [ebp - 0x5a]
mov byte [ebp - 0x55], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x12f0de8
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x5a]
mov edi, dword [ebp - 0x8c]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x8c]
cmp esi, 0x10
push eax
cmovae ecx, edi
push ecx
call fcn.01313b30
add esp, 0xc
cmp eax, 0xffffffff
je 0x12f1571
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0xf
mov word [ebp - 0x38], 0x2f
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x8c]
push 1
cmp esi, 0x10
push eax
cmovae ecx, edi
push 0
call fcn.01313bc0
add esp, 0xc
cmp eax, 0xffffffff
je 0x12f0e96
push 0
lea ecx, [ebp - 0x54]
push ecx
push 1
push eax
lea ecx, [ebp - 0x8c]
call fcn.01310cb0
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x12f0ed7
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f0ec4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
mov esi, dword [ebp - 0x78]
add esp, 8
mov edi, dword [ebp - 0x8c]
push 0
push 0
cmp esi, 0x10
lea eax, [ebp - 0x8c]
push 0xffffffffffffffff
cmovae eax, edi
pop edi
call 0x1517557
push eax
push 0
push 0x4e3
call edi
mov esi, eax
xorps xmm0, xmm0
xor eax, eax
test esi, esi
jle 0x12f0f68
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call fcn.01310ae0
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
push esi
cmovae ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
push ecx
cmovae eax, dword [ebp - 0x8c]
push 0xffffffffffffffff
push eax
push 0
push 0x4e3
call edi
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0xf4], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0xe4], xmm0
jmp 0x12f0f8a
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
push 0x104
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 0x1a
push 0
push eax
call fcn.01387760
add esp, 0xc
push 0
call 0x140a7b7
cmp dword [ebp - 0x98], 0x10
lea ecx, [ebp - 0xac]
push 0
cmovae ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x8c]
cmp esi, 0x10
push ecx
cmovae eax, edi
push eax
call dword [0xe1c08c]
test eax, eax
je 0x12f15aa
mov ecx, dword [ebp + 0x38]
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
add dword [ecx], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x12f15e5
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f15db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x12f1638
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f162e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0xbc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0xc0]
sub ecx, edi
mov esi, dword [ebp - 0x90]
imul ecx
inc esi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x90], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x12f0b00
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call fcn.01310740
mov edi, dword [ebp - 0x64]
test edi, edi
jg 0x12f1710
cmp byte [ebp - 0xd], 0
je 0x12f1710
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
cmovae edx, dword [ebp + 0x20]
mov ecx, edx
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12f16b5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.012ab030
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.012b4800
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x12f1710
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f1706
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f182d
push ecx
push edx
call fcn.01385783
add esp, 8
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.01319b80
mov esi, dword [ebp - 0xb8]
cmp byte [esi + 0xd], 0
jne 0x12f1756
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x12f173a
mov eax, dword [eax]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
push eax
call fcn.01313a40
add esp, 8
test eax, eax
jns 0x12f175c
mov esi, dword [0xe4661c]
lea eax, [ebp + 0x20]
push eax
cmp esi, dword [0xe4661c]
jne 0x12f1771
call fcn.0130abe0
mov dword [eax], edi
jmp 0x12f1778
call fcn.0130abe0
add dword [eax], edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x12f17ac
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f17a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f1832
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x12f17ee
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12f17e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12f1832
push ecx
push edx
call fcn.01385783
add esp, 8
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
call fcn.01310740
lea ecx, [ebp + 0x48]
call fcn.01310740
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.0138472b
call fcn.012aa840
call fcn.0138aa20
call fcn.0138aa20
int3