Function at 0x12fc55c0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071473
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov ecx, 0x84
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [esp + 0x1b0]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1b8]
mov ecx, 0x84
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [0x131c96c0], ebx
call esi
mov ebp, dword [esp + 0x1a0]
mov dword [0x131c96c8], eax
cmp ebp, ebx
je 0x12fc6774
cmp word [ebp], bx
je 0x12fc6774
mov eax, dword [esp + 0x1a4]
cmp eax, ebx
je 0x12fc6774
cmp word [eax], bx
je 0x12fc6774
cmp dword [0x131c96cc], ebx
jne 0x12fc5664
mov dword [0x131c96c0], 2
mov dword [0x131c96c4], 0x5a1
jmp 0x12fc6788
mov eax, dword [0x1307d25c]
mov edx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x198], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1b4]
xor eax, eax
cmp ecx, ebx
mov ecx, 0xf
setne al
mov dword [esp + 0x38], eax
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x1c4]
mov byte [esp + 0x198], 2
stosw word es:[edi], ax
cmp esi, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x58], ebx
mov dword [esp + 0x70], ebx
stosb byte es:[edi], al
je 0x12fc56e7
cmp dword [esi], ebx
je 0x12fc56e7
xor eax, eax
jmp 0x12fc56e9
mov eax, edx
lea ecx, [esp + 0x7c]
test ecx, ecx
jne 0x12fc5768
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x21e9
call esi
mov dword [0x131c96c8], eax
mov dword [0x131c96c0], 7
mov dword [0x131c96c4], 0x5c4
call esi
lea ecx, [esp + 0x14]
mov dword [0x131c96c8], eax
mov byte [esp + 0x198], 1
call fcn.12f47220
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.12f47220
jmp 0x12fc678f
mov ecx, dword [0x13182bc0]
mov edi, dword [0x131c96f8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x13182bc4]
neg eax
mov dword [esp + 0x80], ecx
mov ecx, dword [0x13182bc8]
sbb eax, eax
mov dword [esp + 0x84], ecx
mov ecx, dword [0x13182bcc]
add eax, 0x40002
mov dword [esp + 0x9c], eax
mov eax, dword [0x13182788]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x131c96d8]
cmp eax, 0xffffffff
mov word [esp + 0xac], 0x40
mov dword [esp + 0xb4], ecx
mov word [esp + 0xae], dx
je 0x12fc57e5
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x12fc57e5
mov edi, eax
mov dword [esp + 0xa8], edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xe4]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x130], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
call fcn.12f923b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 3
call fcn.12f923b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 4
call fcn.12f923b0
mov eax, dword [esp + 0x1ac]
mov byte [esp + 0x198], 5
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x12fc5879
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.12fdb400
add esp, 8
cmp eax, ebx
je 0x12fc5879
lea ecx, [esp + 0x1c]
call fcn.12f92cb0
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x20]
call fcn.12f923b0
cmp esi, ebx
mov byte [esp + 0x198], 6
mov dword [esp + 0x60], ebx
je 0x12fc58bf
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.12f925c0
lea ecx, [esp + 0x20]
call fcn.12f92cd0
mov ecx, dword [esi]
mov edi, eax
mov edx, ecx
mov dword [esp + 0x60], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x16c]
mov dword [esp + 0x168], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ebx
push eax
push 0x60
push 1
push 5
push 0x80
push 0x120089
push ebp
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
mov dword [esp + 0x4c], esi
jne 0x12fc593a
cmp dword [esp + 0x74], 0xc0000034
je 0x12fc61fb
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push ebp
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
mov dword [esp + 0x4c], esi
je 0x12fc61ae
push esi
call fcn.12fa1160
add esp, 4
cmp eax, ebx
push esi
jne 0x12fc61d3
call fcn.12fa1330
add esp, 4
test eax, eax
jne 0x12fc61d2
lea ecx, [esp + 0x168]
push 0x28
push ecx
push esi
call fcn.12feca70
add esp, 0xc
test eax, eax
je 0x12fc627c
mov edx, dword [0x131c9c00]
mov ebp, dword [esp + 0x1a4]
lea eax, [esp + 0x44]
push edx
push eax
push 0x1311b178
push ebp
mov dword [esp + 0x64], ebx
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fc59c6
push ebp
call fcn.12fed8f0
add esp, 4
test eax, eax
je 0x12fc59c6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.12fed8f0
add esp, 4
test eax, eax
je 0x12fc59c6
mov dword [esp + 0x68], 1
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x12fc5c18
lea edx, [esp + 0x44]
lea ecx, [esp + 0x14]
push edx
call fcn.12f473b0
mov eax, dword [esp + 0x14]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push eax
call fcn.12fed860
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x12fc629d
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc0]
mov dword [esp + 0xbc], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xbc]
push ecx
push ebp
call fcn.12fecc50
add esp, 8
test eax, eax
je 0x12fc5fdb
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x5c], 1
cmp eax, ebx
jne 0x12fc5fdb
mov edx, dword [esp + 0x1a4]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push edx
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x12fc5fdb
cmp dword [esp + 0x38], ebx
je 0x12fc5ac3
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push esi
call fcn.12fcc580
add esp, 8
cmp eax, ebx
jne 0x12fc5aa8
cmp dword [esp + 0x18], ebx
je 0x12fc5abf
cmp dword [esp + 0x1b4], 1
jne 0x12fc5ac3
push esi
call fcn.12fa1160
add esp, 4
test eax, eax
je 0x12fc5ac3
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x40]
call fcn.12f923b0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x138]
push eax
lea edx, [esp + 0xec]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
push esi
mov byte [esp + 0x1b4], 7
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
call fcn.12fcdf50
add esp, 0x1c
test eax, eax
je 0x12fc5bfb
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebx
push 1
push eax
lea edx, [esp + 0x90]
push ecx
push edx
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5b48
mov dword [esp + 0x6c], ebx
cmp dword [esp + 0x64], ebx
jne 0x12fc5b92
test byte [esp + 0xa0], 8
je 0x12fc5b92
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push ecx
push 1
push 3
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5b92
lea ecx, [esp + 0x1c]
call fcn.12f92cb0
cmp dword [esp + 0x60], ebx
jne 0x12fc5bde
mov eax, dword [esp + 0xa0]
test ah, 1
je 0x12fc5bde
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x30]
push eax
push 2
push 4
push ecx
lea eax, [esp + 0x90]
push edx
push eax
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5bde
lea ecx, [esp + 0x20]
call fcn.12f92cb0
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x131c96d8]
and al, 0x7f
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x198], 6
call fcn.12f92510
push esi
call dword [0x131ca5fc]
jmp 0x12fc5fdb
push ebp
lea ecx, [esp + 0x18]
call fcn.12f474a0
lea edx, [esp + 0xbc]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc0]
mov dword [esp + 0xbc], ebx
push edx
rep stosd dword es:[edi], eax
push ebp
call fcn.12fecc50
add esp, 8
mov edi, 1
test eax, eax
je 0x12fc5cdd
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x5c], edi
cmp eax, ebx
jne 0x12fc5c6f
cmp dword [esp + 0xd8], ebx
je 0x12fc5cdd
mov eax, dword [0x131c9c00]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x130e5240
push ebp
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fc5cbe
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edi
push edx
push ebp
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fc5ca8
mov dword [esp + 0x48], edi
jmp 0x12fc5cdd
mov dword [0x131c96c0], 0x28
mov dword [0x131c96c4], 0x6af
jmp 0x12fc5cd2
mov dword [0x131c96c0], 0x24
mov dword [0x131c96c4], 0x6b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
mov eax, dword [esp + 0x14]
push ebx
push 0x60
push 3
push edi
push 0x80
push 0x12019f
push eax
call fcn.12fed860
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x12fc5d39
mov ecx, dword [esp + 0x14]
push edi
push ebx
push ecx
call fcn.12fecaf0
mov edx, dword [esp + 0x20]
push ebx
push 0x60
push edi
push 7
push 0x80
push 0x12019f
push edx
call fcn.12fed860
add esp, 0x28
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x12fc62be
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x12fc5d4d
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ebx
cmp ecx, ebx
je 0x12fc5d51
mov dword [esp + 0x50], edi
cmp eax, ebx
je 0x12fc5f3e
mov ebp, dword [esp + 0x48]
or esi, 0xffffffff
or edi, 0xffffffff
cmp ebp, ebx
je 0x12fc5dcd
mov eax, dword [esp + 0x10]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push eax
call fcn.12fed860
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x12fc5dd1
cmp dword [esp + 0x38], ebx
je 0x12fc5dc9
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
push ecx
push edi
call fcn.12fcc580
add esp, 8
cmp eax, ebx
jne 0x12fc5dae
cmp dword [esp + 0x40], ebx
je 0x12fc5dc5
cmp dword [esp + 0x1b4], 1
jne 0x12fc5dc9
push edi
call fcn.12fa1160
add esp, 4
test eax, eax
je 0x12fc5dc9
mov dword [esp + 0x38], ebx
mov esi, edi
jmp 0x12fc5dd1
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x1a8], ebx
jne 0x12fc5f30
cmp esi, 0xffffffff
je 0x12fc5f30
lea ecx, [esp + 0x40]
call fcn.12f923b0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x138]
push ecx
lea eax, [esp + 0xec]
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
push esi
mov byte [esp + 0x1b4], 8
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ebx
call fcn.12fcdf50
add esp, 0x1c
test eax, eax
je 0x12fc5f1f
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push ebx
push 1
push ecx
lea eax, [esp + 0x90]
push edx
push eax
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5e6c
mov dword [esp + 0x6c], ebx
cmp dword [esp + 0x64], ebx
jne 0x12fc5eb6
test byte [esp + 0xa0], 8
je 0x12fc5eb6
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 1
push 3
push eax
lea edx, [esp + 0x90]
push ecx
push edx
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5eb6
lea ecx, [esp + 0x1c]
call fcn.12f92cb0
cmp dword [esp + 0x60], ebx
jne 0x12fc5f02
mov eax, dword [esp + 0xa0]
test ah, 1
je 0x12fc5f02
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
push ecx
push 2
push 4
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
push esi
mov dword [esp + 0x38], ebx
call fcn.12fcdcf0
add esp, 0x20
test eax, eax
je 0x12fc5f02
lea ecx, [esp + 0x20]
call fcn.12f92cb0
mov eax, dword [esp + 0xa0]
mov edx, dword [0x131c96d8]
and al, 0x7f
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x198], 6
call fcn.12f92510
cmp edi, 0xffffffff
je 0x12fc5f42
push edi
call dword [0x131ca5fc]
jmp 0x12fc5f42
mov ebp, dword [esp + 0x48]
cmp ebp, ebx
jne 0x12fc5fdb
cmp dword [esp + 0x54], ebx
je 0x12fc5fdb
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x12fc5fdb
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x54]
push ecx
push edi
mov dword [esp + 0x5c], ebx
call fcn.12fcc580
add esp, 8
cmp eax, ebx
jne 0x12fc5f83
cmp dword [esp + 0x54], ebx
jne 0x12fc5f83
mov dword [esp + 0x38], ebx
jmp 0x12fc5fdb
mov edx, dword [esp + 0x10]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push edx
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x12fc5fcc
push 0xffffffffffffffff
push esi
push edi
call fcn.12f9fac0
add esp, 0xc
test eax, eax
je 0x12fc5fc1
mov ebp, 1
mov dword [esp + 0x48], ebp
push esi
call dword [0x131ca5fc]
cmp ebp, ebx
jne 0x12fc5fdb
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.12fecdf0
add esp, 8
cmp word [esp + 0x13a], bx
jne 0x12fc62df
push 0xffffffffffffffff
push 0x110
lea ecx, [esp + 0x38]
call fcn.12f925c0
lea ecx, [esp + 0x30]
call fcn.12f92cd0
mov ebp, eax
mov ecx, 0x44
mov esi, 0x131c96d0
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x13182788]
cmp eax, 0xffffffff
je 0x12fc602a
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x12fc602a
mov dword [ebp + 0x28], eax
lea eax, [ebp + 0x48]
push eax
call fcn.12feda20
mov ecx, dword [0x131c96d4]
mov dl, byte [0x131c96dc]
mov eax, dword [0x131c96d8]
mov dword [esp + 0xfc], ecx
mov cl, byte [0x131c96e0]
add esp, 4
mov byte [esp + 0xf6], dl
mov dword [esp + 0xfc], eax
mov byte [esp + 0xf7], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x110], eax
mov dx, ax
mov eax, dword [esp + 0x6c]
mov word [esp + 0xb8], dx
cmp eax, ebx
je 0x12fc60df
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.12f925b0
push eax
lea ecx, [esp + 0x30]
call fcn.12f925c0
lea ecx, [esp + 0x28]
call fcn.12f925b0
lea ecx, [esp + 0x30]
mov ebp, eax
call fcn.12f92cd0
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.12f92cd0
mov ecx, ebp
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
call fcn.12feda50
add esp, 4
lea edx, [esp + 0x20]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x140]
push eax
lea edx, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov dword [esp + 0xa0], ebx
call fcn.12fcba40
mov ecx, dword [esp + 0xa0]
add esp, 0x28
cmp ecx, ebx
je 0x12fc6142
cmp dword [esp + 0x50], ebx
jne 0x12fc6142
mov dword [esp + 0x50], 1
cmp eax, ebx
je 0x12fc62fe
mov bl, byte [esp + 0x1bc]
test bl, 2
je 0x12fc616d
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x168]
push 0x28
push eax
push ecx
call fcn.12fecab0
add esp, 0xc
test bl, 4
je 0x12fc6189
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x70]
lea eax, [esp + 0x58]
push edx
push eax
push ecx
call fcn.12fee040
add esp, 0xc
mov eax, dword [esp + 0x1c0]
test eax, eax
je 0x12fc619f
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x24], 0
xor ebx, ebx
jmp 0x12fc62fe
mov dword [0x131c96c0], 3
mov dword [0x131c96c4], 0x5fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fc66df
push esi
call dword [0x131ca5fc]
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1a4]
push eax
push ecx
push ebx
push edx
push ebp
call fcn.12f9f760
add esp, 0x14
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 5
call fcn.12f92510
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 4
call fcn.12f92510
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 3
call fcn.12f92510
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 2
call fcn.12f92510
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 1
call fcn.12f47220
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.12f47220
xor eax, eax
jmp 0x12fc6794
mov dword [0x131c96c0], 5
mov dword [0x131c96c4], 0x621
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fc6302
mov dword [0x131c96c0], 4
mov dword [0x131c96c4], 0x63d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fc6309
mov dword [0x131c96c0], 4
mov dword [0x131c96c4], 0x6d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fc6309
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x75a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1a4]
cmp esi, 0xffffffff
je 0x12fc6315
push esi
call dword [0x131ca5fc]
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x12fc6325
push eax
call dword [0x131ca5fc]
cmp dword [esp + 0x24], ebx
jne 0x12fc6412
cmp dword [0x131c9bf8], ebx
je 0x12fc63f0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [0x131c96c0], ebx
call edi
cmp esi, ebx
mov dword [0x131c96c8], eax
je 0x12fc64ab
push esi
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12fc64ab
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push esi
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x12fc63a9
mov dword [0x131c96c0], 3
mov dword [0x131c96c4], 0x11ec
call edi
mov dword [0x131c96c8], eax
jmp 0x12fc63cd
lea eax, [esp + 0xe0]
push eax
push esi
call fcn.12fcb660
add esp, 8
mov edi, eax
push esi
call dword [0x131ca5fc]
cmp edi, ebx
jne 0x12fc63f0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c0], 0x1c
mov dword [0x131c96c4], 0x78f
call edi
mov dword [0x131c96c8], eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x12fc640b
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
push ecx
push eax
push edx
call fcn.12fed2f0
add esp, 0xc
mov ebp, dword [esp + 0x1a4]
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov eax, dword [esp + 0x24]
je 0x12fc65e0
cmp eax, ebx
jne 0x12fc65cc
cmp dword [esp + 0x5c], ebx
je 0x12fc6591
mov eax, dword [0x131c9c00]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x130e5240
push ebp
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fc66df
mov edx, dword [esp + 0x10]
push edx
push ebp
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fc6535
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fc64cb
cmp dword [esp + 0x38], ebx
je 0x12fc6647
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1b8]
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [esi + 0x20c], eax
jae 0x12fc669f
jmp 0x12fc660f
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x11de
call edi
mov dword [0x131c96c8], eax
jmp 0x12fc63f0
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.12fed0b0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1b8]
add esp, 8
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [esi + 0x20c], eax
jb 0x12fc660f
lea ecx, [eax + eax + 2]
push ecx
call fcn.12f5bf8b
mov edx, dword [esi + 0x20c]
mov edi, eax
xor eax, eax
mov dword [esi + 0x208], edi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
jmp 0x12fc66cf
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1b0]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [esi + 0x20c], eax
jb 0x12fc660f
lea edx, [eax + eax + 2]
push edx
call fcn.12f5bf8b
mov edi, eax
mov eax, dword [esi + 0x20c]
mov dword [esi + 0x208], edi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
jmp 0x12fc66cf
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.12fed0b0
add esp, 8
test eax, eax
jne 0x12fc66df
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1b0]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [esi + 0x20c], eax
jae 0x12fc6629
jmp 0x12fc660f
mov edx, dword [esp + 0x14]
push 1
push edx
call fcn.12fecdf0
add esp, 8
jmp 0x12fc66df
cmp eax, ebx
jne 0x12fc665b
cmp dword [esp + 0x48], ebx
je 0x12fc66df
cmp dword [esp + 0x38], ebx
je 0x12fc6647
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1b8]
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [esi + 0x20c], eax
jae 0x12fc6629
mov ecx, 0x82
xor eax, eax
mov edi, esi
push edx
rep stosd dword es:[edi], eax
push esi
call fcn.12f5c88f
add esp, 8
jmp 0x12fc66df
lea eax, [eax + eax + 2]
push eax
call fcn.12f5bf8b
mov edi, eax
mov dword [esi + 0x208], edi
mov ecx, dword [esi + 0x20c]
lea ecx, [ecx + ecx + 2]
jmp 0x12fc66bb
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.12fecdf0
add esp, 8
jmp 0x12fc66df
cmp dword [esp + 0x50], ebx
je 0x12fc666c
push 1
push ebp
call fcn.12fecdf0
add esp, 8
cmp dword [esp + 0x48], ebx
je 0x12fc66df
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.12fed0b0
add esp, 8
test eax, eax
jne 0x12fc66df
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1b0]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [edx - 8]
jmp 0x12fc6495
lea ecx, [eax + eax + 2]
push ecx
call fcn.12f5bf8b
mov edi, eax
mov dword [esi + 0x208], edi
mov edx, dword [esi + 0x20c]
lea ecx, [edx + edx + 2]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x208]
push eax
push ecx
call fcn.12f5c88f
add esp, 0xc
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x12fc66f4
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 5
call fcn.12f92510
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 4
call fcn.12f92510
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], 3
call fcn.12f92510
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 2
call fcn.12f92510
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 1
call fcn.12f47220
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.12f47220
mov eax, dword [esp + 0x24]
jmp 0x12fc6794
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x59b
call esi
mov dword [0x131c96c8], eax
mov eax, 1
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret