Function at 0x1018abf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ac
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1025acd4], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1018ba3a
cmp dword [0x1025b434], 0
je 0x1018ba3a
mov eax, dword [edi]
call dword [eax + 0x78]
mov byte [eax], 0
call fcn.101aa940
push eax
call fcn.101aae40
add esp, 4
call fcn.101aa770
mov eax, dword [0x1025b450]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, 0xffffffff
je 0x1018ac94
cmp dword [0x1025b454], 0xffffffff
je 0x1018ac94
push eax
mov dword [ebp - 0x784], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1018ac94
mov eax, dword [0x1025b458]
test eax, eax
je 0x1018ac94
lea ecx, [ebp - 0x784]
push ecx
call eax
push eax
push dword [0x1025b450]
call ebx
push dword [ebp - 0x784]
push dword [0x1025b454]
call ebx
mov ecx, edi
call fcn.1018a340
mov eax, dword [0x1025ad30]
mov esi, dword [eax]
mov dword [ebp - 0x788], esi
cmp esi, eax
je 0x1018adc6
cmp dword [edi + 0xc8], 0
jne 0x1018adc6
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1018accb
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x1018acd0
mov eax, 0x10202940
push eax
lea ecx, [ebp - 0x548]
call fcn.10183f20
add esi, 0x10
lea ecx, [ebp - 0x534]
push esi
call fcn.10002790
mov ecx, edi
mov dword [ebp - 0x79c], 0
mov dword [ebp - 0x798], 0
mov dword [ebp - 0x794], 0
call fcn.101a2480
fld qword [edi + 0xd0]
mov ecx, edi
fnstcw word [ebp - 0x782]
movzx eax, word [ebp - 0x782]
or eax, 0xc00
mov dword [ebp - 0x78c], eax
push 0x64
fldcw word [ebp - 0x78c]
fistp qword [ebp - 0x790]
mov eax, dword [ebp - 0x790]
push eax
push dword [esi]
fldcw word [ebp - 0x782]
push str.ScanFileName
call fcn.100d0960
test eax, eax
jne 0x1018ad65
mov dword [edi + 0xc8], 1
lea ecx, [edi + 0xf0]
call fcn.101891d0
mov eax, dword [edi]
lea ecx, [ebp - 0x79c]
push 0
push ecx
push 0
push dword [edi + 0xe0]
lea ecx, [ebp - 0x548]
push 0
push ecx
push dword [esi]
mov ecx, edi
call dword [eax + 0x60]
lea ecx, [ebp - 0x79c]
call fcn.1002a360
lea ecx, [ebp - 0x548]
call fcn.101841c0
lea ecx, [ebp - 0x788]
call fcn.10014d60
mov esi, dword [ebp - 0x788]
cmp esi, dword [0x1025ad30]
jne 0x1018acb0
lea ecx, [ebp - 0x778]
mov dword [ebp - 0x7a0], 0
mov dword [ebp - 0x79c], 0
mov dword [ebp - 0x798], 0xffffffff
mov dword [ebp - 0x778], 0
mov dword [ebp - 0x774], 0
call fcn.1003cef0
lea ecx, [ebp - 0x780]
mov dword [ebp - 0x778], eax
mov dword [ebp - 0x780], 0
mov dword [ebp - 0x77c], 0
call fcn.1003cef0
push 0x100
mov dword [ebp - 0x780], eax
lea eax, [ebp - 0x778]
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.101778b0
push 0x200
push 0
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.101778b0
push 0x100
push 0
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push SysReAllocString
call fcn.101778b0
push 0x200
push 0
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push SysReAllocString
call fcn.101778b0
add esp, 0x50
lea eax, [ebp - 0x778]
push 0x100
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_
push SysReAllocString
call fcn.101778b0
push 0x200
push 0
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_
push SysReAllocString
call fcn.101778b0
mov esi, dword [ebp - 0x780]
lea ecx, [ebp - 0x780]
add esp, 0x28
push dword [esi + 4]
call fcn.10087b30
mov eax, dword [ebp - 0x780]
lea ecx, [ebp - 0x780]
push dword [ebp - 0x78c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x780]
mov dword [eax], esi
mov eax, dword [ebp - 0x780]
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x778]
mov esi, dword [ebp - 0x780]
push esi
mov dword [ebp - 0x77c], 0
push dword [eax + 4]
call fcn.10188920
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x780]
mov eax, dword [ebp - 0x774]
mov dword [ebp - 0x77c], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x1018af91
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x1018af6d
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1018af61
mov dword [esi], edx
mov edx, dword [ebp - 0x780]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x1018af8c
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x1018af81
mov dword [edx + 8], ecx
jmp 0x1018af9c
mov dword [esi], esi
mov eax, dword [ebp - 0x780]
mov dword [eax + 8], eax
push 0x100
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10178260
push 0x200
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10178260
push 0x100
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10178260
push 0x200
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10178260
add esp, 0x40
lea eax, [ebp - 0x778]
push 0x100
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel_
push SysReAllocString
call fcn.10178260
push 0x200
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel_
push SysReAllocString
call fcn.10178260
push 0x100
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu_
push SysReAllocString
call fcn.10178260
push 0x200
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu_
push SysReAllocString
call fcn.10178260
add esp, 0x40
lea eax, [ebp - 0x778]
push 0x100
push 1
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID_
push SysReAllocString
call fcn.101778b0
push 0x200
push 1
lea eax, [ebp - 0x778]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerCLSID_
push SysReAllocString
call fcn.101778b0
add esp, 0x28
lea ecx, [ebp - 0x770]
push 0
call fcn.1005b320
mov eax, dword [ebp - 0x778]
mov esi, dword [eax]
mov dword [ebp - 0x788], esi
cmp esi, eax
je 0x1018b494
lea ebx, [ebx]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1018b0f0
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ebx, eax
jmp 0x1018b0f5
mov ebx, 0x10202940
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x544], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x540], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x53c], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x538], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x530]
push ebx
mov dword [ebp - 0x534], eax
call fcn.101221f0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, dword [ebp - 0x538]
add eax, 0x10
mov dword [ebp - 0x418], eax
add ebx, 0xfffffff0
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
mov ecx, dword [esi + 0x14]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x1018b26b
cmp dword [ebx + 0xc], 0
jl 0x1018b25c
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x1018b25c
push edx
call fcn.10002a60
add esp, 4
mov dword [ebp - 0x78c], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1018b251
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x78c]
add eax, 0x10
mov dword [ebp - 0x538], eax
jmp 0x1018b26b
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x538]
call fcn.10003740
push 0
push 0x10202940
push 0x10202940
push 0x10202940
push dword [esi + 0x10]
lea ebx, [esi + 0x10]
push 0xc1
lea ecx, [ebp - 0x770]
call fcn.1005ccb0
cmp eax, 1
je 0x1018b322
push ebx
lea eax, [ebp - 0x784]
push eax
lea ecx, [ebp - 0x780]
call fcn.1005e9c0
mov edx, dword [ebp - 0x784]
mov eax, dword [ebp - 0x780]
mov ebx, dword [ebx]
cmp edx, eax
je 0x1018b2fa
mov ecx, dword [edx + 0x10]
mov eax, ebx
mov si, word [eax]
cmp si, word [ecx]
jne 0x1018b2eb
test si, si
je 0x1018b2e7
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x1018b2eb
add eax, 4
add ecx, 4
test si, si
jne 0x1018b2c5
xor eax, eax
jmp 0x1018b2f0
sbb eax, eax
or eax, 1
test eax, eax
jns 0x1018b2fc
mov eax, dword [ebp - 0x780]
mov edx, eax
sub edx, dword [ebp - 0x780]
lea ecx, [ebp - 0x548]
mov eax, dword [edi]
neg edx
sbb edx, edx
and edx, 2
push edx
push dword [edi + 0xe0]
push ecx
push ebx
mov ecx, edi
call dword [eax + 0x8c]
mov edx, dword [ebp - 0x418]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b340
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b35e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b37c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b39a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b3b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b3d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x530]
call fcn.10122860
mov edx, dword [ebp - 0x534]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b3ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x538]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b41d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x53c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b43b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x540]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x544]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b477
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x788]
call fcn.10014d60
mov esi, dword [ebp - 0x788]
cmp esi, dword [ebp - 0x778]
jne 0x1018b0e0
mov eax, dword [0x1025ad20]
mov esi, dword [eax]
cmp esi, eax
je 0x1018b81e
push 0
push 0x10202940
push 0x10202940
push 0x10202940
push dword [esi + 0x10]
lea ebx, [esi + 0x10]
push 0xc1
lea ecx, [ebp - 0x770]
call fcn.1005ccb0
cmp eax, 1
je 0x1018b7d6
push ebx
lea eax, [ebp - 0x78c]
push eax
lea ecx, [ebp - 0x778]
call fcn.1005e9c0
mov eax, dword [ebp - 0x78c]
mov ecx, dword [ebp - 0x778]
cmp eax, ecx
je 0x1018b535
mov edx, dword [eax + 0x10]
mov ecx, dword [ebx]
jmp 0x1018b500
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x1018b526
test bx, bx
je 0x1018b522
mov bx, word [ecx + 2]
cmp bx, word [edx + 2]
jne 0x1018b526
add ecx, 4
add edx, 4
test bx, bx
jne 0x1018b500
xor ecx, ecx
jmp 0x1018b52b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov ecx, dword [ebp - 0x778]
jns 0x1018b537
mov eax, ecx
cmp eax, ecx
jne 0x1018b7d6
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1018b54f
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ebx, eax
jmp 0x1018b554
mov ebx, 0x10202940
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x544], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x540], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x53c], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x538], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x530]
push ebx
mov dword [ebp - 0x534], eax
call fcn.101221f0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0
push dword [edi + 0xe0]
add eax, 0x10
mov dword [ebp - 0x548], 0
lea ecx, [ebp - 0x548]
mov dword [ebp - 0x418], eax
mov eax, dword [edi]
push ecx
push dword [esi + 0x10]
mov ecx, edi
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
call dword [eax + 0x8c]
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b69f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b6bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b6db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b6f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b717
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x530]
call fcn.10122860
mov edx, dword [ebp - 0x534]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b75e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x538]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b77c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x53c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b79a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x540]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b7b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x544]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1018b7d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1018b7fc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1018b7f8
cmp esi, dword [eax + 8]
jne 0x1018b7f8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1018b7e8
mov esi, eax
jmp 0x1018b812
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1018b812
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1018b806
cmp esi, dword [0x1025ad20]
jne 0x1018b4a3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.101f9fcf
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.101f9fcf
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.100099b0
add esp, 0x20
test eax, eax
jne 0x1018b860
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x414]
push eax
push 0x19
call fcn.100099b0
add esp, 8
test eax, eax
jne 0x1018b87c
mov word [ebp - 0x414], ax
push edi
lea ecx, [ebp - 0x7ac]
call fcn.10182650
push ecx
lea eax, [ebp - 0x414]
mov ecx, esp
push eax
call fcn.10002490
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.10002490
lea ecx, [ebp - 0x7ac]
call fcn.10183e10
mov ecx, dword [edi + 4]
push str.EXMN
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp word [ebp - 0x20c], 0
je 0x1018b8f7
mov ecx, dword [0x1025ace0]
test esi, esi
jne 0x1018b8e6
mov ecx, dword [0x1025acdc]
mov eax, dword [edi]
push 0
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, edi
call dword [eax + 0x54]
cmp word [ebp - 0x414], 0
je 0x1018b922
mov ecx, dword [0x1025ace0]
test esi, esi
jne 0x1018b911
mov ecx, dword [0x1025acdc]
mov eax, dword [edi]
push 0
push ecx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, edi
call dword [eax + 0x54]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
mov eax, dword [0x1025b450]
cmp eax, 0xffffffff
je 0x1018b973
cmp dword [0x1025b454], 0xffffffff
je 0x1018b973
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x1018b973
cmp dword [0x1025b45c], 0
je 0x1018b973
push dword [0x1025b454]
call esi
push eax
call dword [0x1025b45c]
neg eax
sbb eax, eax
inc eax
push eax
push dword [0x1025b450]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 0x7ac]
call fcn.101826c0
lea ecx, [ebp - 0x770]
call fcn.1005b6b0
mov esi, dword [ebp - 0x780]
lea ecx, [ebp - 0x780]
push dword [esi + 4]
call fcn.10087b30
mov eax, dword [ebp - 0x780]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x780]
mov dword [eax], esi
mov eax, dword [ebp - 0x780]
mov dword [eax + 8], esi
push dword [ebp - 0x780]
mov dword [ebp - 0x77c], 0
call fcn.101f9fd5
mov esi, dword [ebp - 0x778]
lea ecx, [ebp - 0x778]
add esp, 8
push dword [esi + 4]
call fcn.10087b30
mov eax, dword [ebp - 0x778]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x778]
mov dword [eax], esi
mov eax, dword [ebp - 0x778]
mov dword [eax + 8], esi
push dword [ebp - 0x778]
mov dword [ebp - 0x774], 0
call fcn.101f9fd5
add esp, 8
lea ecx, [ebp - 0x7a0]
call fcn.10008220
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret