Function at 0x41d8e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aac3b
mov eax, dword fs:[0]
push eax
sub esp, 0x180
push ebx
push esi
push edi
mov eax, dword [0x4dc6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], eax
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x38]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
js 0x41eb1d
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jle 0x41eb14
jmp 0x41d960
inc ecx
mov dword [ebp - 0x3c], 0
mov eax, 3
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x178], ax
mov dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
movdqu xmm0, xmmword [ebp - 0x178]
push eax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edx, dword [ecx]
mov eax, esp
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x20]
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x41eb05
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x41eafc
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x114]
call fcn.00403690
push 0x4afa48
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.00403690
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00403a80
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00403a80
lea ecx, [ebp - 0x13c]
call fcn.0048c930
lea ecx, [ebp - 0xe8]
call fcn.0048c930
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 8
call fcn.0048c930
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd8], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x88]
cmp word [ebp - 0xd8], 0
mov dword [ebp - 0x88], 0
push edx
mov ecx, dword [eax]
setne byte [ebp - 0xd]
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x41eaa5
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x41ea99
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x34]
xor esi, esi
push edx
mov dword [ebp - 0x34], esi
mov ecx, dword [eax]
push 1
push eax
mov dword [ebp - 0x98], esi
call dword [ecx + 0x20]
test eax, eax
js 0x41ea90
nop
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0xffffffff
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp - 0x8c], 0
jne 0x41e0f0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0
push 0x4c530c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x41e0f0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x41e0e7
cmp dword [ebp - 0x14], 0
je 0x41e0e7
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 0x14]
lea eax, [ebp - 0x168]
push eax
call fcn.0040eab0
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.00403690
push dword [ebp - 0x168]
call fcn.0048faf7
push 2
call fcn.0048fb2f
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebx], ax
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0xe4], eax
mov word [eax], cx
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x14]
push dword [0x4df738]
push dword [ebp + 8]
call fcn.00410280
mov esi, dword [ebp - 0x84]
add esp, 0x1c
test al, al
jne 0x41dcab
push 0x5c
push dword [ebp - 0x14]
call fcn.0049110f
add esp, 8
test eax, eax
jne 0x41dcab
cmp dword [ebp - 0x28], eax
je 0x41dcab
push 0x4afa48
lea ecx, [ebp - 0xe0]
call fcn.00403690
push dword [ebp - 0x28]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xe
call fcn.00403690
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.00403a80
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x140]
push ecx
mov ecx, eax
call fcn.00403a80
mov eax, dword [eax]
test eax, eax
je 0x41dc6f
mov eax, dword [eax]
jmp 0x41dc71
xor eax, eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021c0
lea ecx, [ebp - 0x140]
call fcn.0048c930
lea ecx, [ebp - 0x148]
call fcn.0048c930
lea ecx, [ebp - 0x150]
call fcn.0048c930
lea ecx, [ebp - 0xe0]
call fcn.0048c930
mov edi, dword [ebp - 0x1c]
jmp 0x41dcc9
test esi, esi
je 0x41dcb3
mov eax, dword [esi]
jmp 0x41dcb5
xor eax, eax
push eax
call fcn.0048faa4
mov edi, eax
push ebx
mov dword [ebp - 0x1c], edi
call fcn.0048faf7
add esp, 8
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov word [eax], cx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x17c]
push 0x4b5340
push eax
call fcn.00417070
push 0x4b5338
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00418660
push dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00418660
push dword [ebp - 0x144]
call fcn.0048faf7
push dword [ebp - 0x17c]
call fcn.0048faf7
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x18c], eax
mov word [eax], cx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x180], ecx
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x70]
call fcn.00406840
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x18c]
add esp, 0x40
push 0
push eax
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.00404cf0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x64]
push ebx
call fcn.00404ce0
push 2
mov dword [ebp - 0xa4], eax
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x7c], eax
add esp, 0x24
mov word [eax], cx
test esi, esi
je 0x41ddb8
mov eax, dword [esi]
test eax, eax
jne 0x41ddbd
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp + 0x10]
mov eax, 0x4af9b8
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.0048faa4
add esp, 8
mov dword [ebp - 0x138], eax
test esi, esi
je 0x41ddef
mov eax, dword [esi]
test eax, eax
jne 0x41ddf4
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
call fcn.00403c00
push dword [ebp - 0x128]
mov bl, al
call fcn.0048faf7
push dword [ebp - 0x138]
call fcn.0048faf7
push dword [ebp - 0xf4]
call fcn.0048faf7
add esp, 0x30
test bl, bl
je 0x41e082
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xffffffff
jne 0x41dfb8
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xd4], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xf8], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xcc], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xf0], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xc4], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xb0], eax
mov ebx, dword [ebp + 0x10]
mov eax, 0x4af9b8
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.0048faa4
mov dword [ebp - 0xbc], eax
test ebx, ebx
mov eax, 0x4af9b8
cmovne eax, ebx
push eax
call fcn.0048faa4
mov dword [ebp - 0x124], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0xd4]
mov ebx, dword [ebp + 8]
push eax
push 1
push 0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp + 0xc]
push 0
push dword [eax]
push 2
push ebx
call fcn.00403eb0
mov ecx, dword [ebp + 0xc]
add esp, 0x64
push dword [ebp - 0x124]
mov dword [ecx], eax
call fcn.0048faf7
push dword [ebp - 0xbc]
call fcn.0048faf7
push dword [ebp - 0xb0]
call fcn.0048faf7
push dword [ebp - 0xc4]
call fcn.0048faf7
push dword [ebp - 0xf0]
call fcn.0048faf7
push dword [ebp - 0xcc]
call fcn.0048faf7
push dword [ebp - 0xf8]
call fcn.0048faf7
push dword [ebp - 0xd4]
call fcn.0048faf7
add esp, 0x20
jmp 0x41dfbb
mov ebx, dword [ebp + 8]
push 0x4af9b8
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0x108], eax
test esi, esi
je 0x41dfd8
mov eax, dword [esi]
test eax, eax
jne 0x41dfdd
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41dff9
mov eax, dword [eax]
test eax, eax
jne 0x41dffe
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0x100], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x24
push eax
movzx eax, byte [ebp - 0xd]
push eax
push dword [ebp - 0x14c]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp + 0xc]
push 9
push dword [eax]
push dword [ebp - 0xa4]
push ebx
call fcn.00403eb0
add esp, 0x48
push dword [ebp - 0x100]
call fcn.0048faf7
push dword [ebp - 0xdc]
call fcn.0048faf7
push dword [ebp - 0x108]
call fcn.0048faf7
add esp, 0xc
push dword [ebp - 0x7c]
call fcn.0048faf7
push dword [ebp - 0x64]
call fcn.0048faf7
add esp, 8
lea ecx, [ebp - 0x18c]
call fcn.00402130
push dword [ebp - 0x70]
call fcn.0048faf7
push dword [ebp - 0x6c]
call fcn.0048faf7
push dword [ebp - 0x68]
call fcn.0048faf7
push dword [ebp - 0xe4]
call fcn.0048faf7
push edi
call fcn.0048faf7
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call fcn.0048c930
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x8c], 5
jne 0x41ea54
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 0
push 0x4c532c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x41ea54
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xa4], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xa4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x5c], eax
add esp, 4
mov word [eax], cx
xor edi, edi
mov dword [ebp - 0x24], edi
xor eax, eax
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x28], eax
jmp 0x41e170
push dword [eax*4 + 0x4d599c]
lea ecx, [ebp - 0x90]
call fcn.00403690
push 0x4afa48
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x27
call fcn.00403690
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x28
call fcn.00403690
push 0x4afac0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x29
call fcn.00403690
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2a
push ecx
lea ecx, [ebp - 0x118]
push ecx
mov ecx, eax
call fcn.00403a80
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x2b
push ecx
lea ecx, [ebp - 0xec]
push ecx
mov ecx, eax
call fcn.00403a80
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x2c
push ecx
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.00403a80
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x41e22a
mov ecx, eax
call fcn.0048c930
mov edi, dword [esi]
mov dword [ebp - 0x24], edi
test edi, edi
je 0x41e22a
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x41e27f
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e275
test esi, esi
je 0x41e275
mov eax, dword [esi]
test eax, eax
je 0x41e255
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e26c
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x110], 0
mov esi, dword [ebp - 0xec]
test esi, esi
je 0x41e2d4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e2ca
test esi, esi
je 0x41e2ca
mov eax, dword [esi]
test eax, eax
je 0x41e2aa
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e2c1
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0xec], 0
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x41e329
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e31f
test esi, esi
je 0x41e31f
mov eax, dword [esi]
test eax, eax
je 0x41e2ff
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e316
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x118], 0
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x41e37e
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e374
test esi, esi
je 0x41e374
mov eax, dword [esi]
test eax, eax
je 0x41e354
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e36b
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x120], 0
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x41e3cf
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e3c5
mov eax, dword [esi]
test eax, eax
je 0x41e3a5
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e3bc
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x94], 0
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x41e420
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e416
mov eax, dword [esi]
test eax, eax
je 0x41e3f6
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e40d
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x9c], 0
mov esi, dword [ebp - 0x90]
mov byte [ebp - 4], 0x26
test esi, esi
je 0x41e475
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41e46b
mov eax, dword [esi]
test eax, eax
je 0x41e44b
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41e462
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x90], 0
push 0x4b05b4
call fcn.0048faa4
push dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x38], esi
push eax
call fcn.00418660
mov ebx, dword [ebp - 0x5c]
push dword [eax]
call fcn.0048faa4
push ebx
mov dword [ebp - 0x5c], eax
call fcn.0048faf7
push dword [ebp - 0x154]
call fcn.0048faf7
push esi
call fcn.0048faf7
add esp, 0x20
test edi, edi
je 0x41e4c6
mov esi, dword [edi]
jmp 0x41e4c8
xor esi, esi
lea eax, [ebp - 0x78]
push eax
push dword [0x4de020]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 1
push eax
push 0
push esi
push SysReAllocStringLen
call fcn.00406320
add esp, 0x14
test eax, eax
je 0x41e514
test edi, edi
je 0x41e4f8
mov eax, dword [edi]
jmp 0x41e4fa
xor eax, eax
lea ecx, [ebp - 0x78]
push ecx
push 1
push 0
push eax
push SysReAllocStringLen
call fcn.00406320
add esp, 0x14
test eax, eax
jne 0x41e56d
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x2d
push eax
push ecx
push ecx
push 0x4af9b8
push dword [ebp - 0x78]
call fcn.00410620
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41e551
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.00403940
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1c]
test esi, esi
je 0x41e585
mov byte [ebp - 4], 0x26
call fcn.0048faf7
add esp, 4
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 4
jb 0x41e170
jmp 0x41e58d
call fcn.0048faf7
add esp, 4
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x164], eax
mov word [eax], cx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x2c], eax
add esp, 0x10
mov word [eax], cx
or esi, 0xffffffff
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0x28], 4
jae 0x41e654
test edi, edi
je 0x41e5f6
mov eax, dword [edi]
jmp 0x41e5f8
xor eax, eax
lea ecx, [ebp - 0x164]
push ecx
push eax
call fcn.00406bd0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0
push eax
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00404cf0
mov esi, dword [ebp - 0x2c]
push dword [eax]
call fcn.0048faa4
push esi
mov dword [ebp - 0x2c], eax
call fcn.0048faf7
push dword [ebp - 0x130]
call fcn.0048faf7
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x2c]
push ebx
call fcn.00404ce0
add esp, 0x34
mov esi, eax
jmp 0x41e67c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00403940
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x41e66a
mov eax, dword [edi]
jmp 0x41e66c
xor eax, eax
lea ecx, [ebp - 0x164]
push ecx
push eax
call fcn.00406bd0
add esp, 8
push 2
call fcn.0048fb2f
add esp, 4
mov dword [ebp - 0xa0], eax
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e697
sub ecx, edx
sar ecx, 1
je 0x41e755
test edi, edi
je 0x41e6b6
mov eax, dword [edi]
test eax, eax
jne 0x41e6bb
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0x11c], eax
mov ebx, dword [ebp - 0x20]
mov eax, 0x4af9b8
mov ecx, dword [ebp + 0x10]
or ebx, 1
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.0048faa4
add esp, 8
mov dword [ebp - 0xfc], eax
or ebx, 2
test edi, edi
je 0x41e6f6
mov eax, dword [edi]
test eax, eax
jne 0x41e6fb
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0x35
push eax
lea eax, [ebp - 0xa0]
or ebx, 4
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x134]
push eax
push dword [ebp + 8]
call fcn.00403c00
add esp, 0x24
test al, al
je 0x41e755
mov bl, 1
jmp 0x41e757
xor bl, bl
mov eax, dword [ebp - 0x20]
test al, 4
je 0x41e775
push dword [ebp - 0x134]
and eax, 0xfffffffb
mov dword [ebp - 0x20], eax
call fcn.0048faf7
mov eax, dword [ebp - 0x20]
add esp, 4
test al, 2
je 0x41e790
push dword [ebp - 0xfc]
and eax, 0xfffffffd
mov dword [ebp - 0x20], eax
call fcn.0048faf7
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 4], 0x32
test al, 1
je 0x41e7af
push dword [ebp - 0x11c]
and eax, 0xfffffffe
mov dword [ebp - 0x20], eax
call fcn.0048faf7
add esp, 4
test bl, bl
je 0x41e9c0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x41e90f
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xd0], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xc8], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xc0], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xb8], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xb4], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x10c], eax
mov ebx, dword [ebp + 0x10]
mov eax, 0x4af9b8
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.0048faa4
mov dword [ebp - 0x12c], eax
test ebx, ebx
mov eax, 0x4af9b8
cmovne eax, ebx
push eax
call fcn.0048faa4
mov dword [ebp - 0x104], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0xd0]
mov ebx, dword [ebp + 8]
push eax
push 1
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp + 0xc]
push 0
push dword [eax]
push 2
push ebx
call fcn.00403eb0
mov ecx, dword [ebp + 0xc]
add esp, 0x64
push dword [ebp - 0x104]
mov dword [ecx], eax
call fcn.0048faf7
push dword [ebp - 0x12c]
call fcn.0048faf7
push dword [ebp - 0x10c]
call fcn.0048faf7
push dword [ebp - 0xb4]
call fcn.0048faf7
push dword [ebp - 0xb8]
call fcn.0048faf7
push dword [ebp - 0xc0]
call fcn.0048faf7
push dword [ebp - 0xc8]
call fcn.0048faf7
push dword [ebp - 0xd0]
call fcn.0048faf7
add esp, 0x20
jmp 0x41e912
mov ebx, dword [ebp + 8]
push 0x4af9b8
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0x48], eax
test edi, edi
je 0x41e92c
mov eax, dword [edi]
test eax, eax
jne 0x41e931
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41e94a
mov eax, dword [eax]
test eax, eax
jne 0x41e94f
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
mov dword [ebp - 0x4c], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x40
push eax
movzx eax, byte [ebp - 0xd]
push eax
push dword [ebp - 0xac]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push 9
push dword [eax]
push esi
push ebx
call fcn.00403eb0
add esp, 0x48
push dword [ebp - 0x4c]
call fcn.0048faf7
push dword [ebp - 0x40]
call fcn.0048faf7
push dword [ebp - 0x48]
mov byte [ebp - 4], 0x32
call fcn.0048faf7
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0xa0]
call fcn.0048faf7
push dword [ebp - 0x2c]
call fcn.0048faf7
push dword [ebp - 0x80]
call fcn.0048faf7
push dword [ebp - 0x50]
call fcn.0048faf7
add esp, 0x10
lea ecx, [ebp - 0x164]
call fcn.00402130
test edi, edi
je 0x41ea3f
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ea3f
mov eax, dword [edi]
test eax, eax
je 0x41ea1f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41ea36
push eax
call fcn.0049243b
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0048f453
add esp, 4
push dword [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.0048faf7
mov esi, dword [ebp - 0x98]
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
inc esi
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x98], esi
mov edx, dword [ecx]
lea eax, [esi + 1]
push eax
push ecx
call dword [edx + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jns 0x41dae0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0xa8]
call ebx
mov esi, dword [ebp - 0x58]
mov byte [ebp - 4], 0
test esi, esi
je 0x41eafc
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x41eaf5
test esi, esi
je 0x41eaf5
mov eax, dword [esi]
test eax, eax
je 0x41ead5
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41eaec
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x30]
jl 0x41d960
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push ecx
push 0
push esi
mov dword [ebp - 0x74], 0
call dword [eax + 0x28]
test eax, eax
js 0x41ed7e
mov eax, 1
mov ecx, 3
mov dword [ebp - 0x4c], eax
mov dword [ebp + 0x18], 0
mov word [ebp - 0x178], cx
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x18]
movdqu xmm0, xmmword [ebp - 0x178]
push eax
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov edx, dword [ecx]
mov eax, esp
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x20]
mov esi, eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x41ed6f
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x48]
push 0xc
call fcn.0049087f
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 0x42
test edi, edi
je 0x41ebed
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x41ebef
test esi, esi
je 0x41ebef
push 0x8007000e
call fcn.0048ee00
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0xac], edi
test edi, edi
je 0x41ebe3
push 0xc
mov byte [ebp - 4], 0x43
call fcn.0049087f
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0x44
test esi, esi
je 0x41ec39
push 0x4afa48
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x41ebe3
jmp 0x41ec3b
xor esi, esi
mov byte [ebp - 4], 0x43
mov dword [ebp - 0x44], esi
test esi, esi
je 0x41ebe3
push dword [ebp + 0x18]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x45
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x14]
call fcn.00403a80
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x46
lea edx, [ebp - 0xac]
push edx
push ecx
mov ecx, eax
call fcn.00403a80
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d8e0
mov eax, dword [ebp - 0x40]
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41ecdf
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ecd8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41ecd8
mov ecx, dword [eax]
test ecx, ecx
je 0x41ecb5
push ecx
call ebx
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41eccf
push ecx
call fcn.0049243b
mov eax, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 4], 0
push eax
call fcn.0048f453
add esp, 4
mov dword [ebp - 0x40], 0
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ed1c
mov eax, dword [esi]
test eax, eax
je 0x41ecfc
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41ed13
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
lea eax, [edi + 8]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41ed5d
mov eax, dword [edi]
test eax, eax
je 0x41ed3d
push eax
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41ed54
push eax
call fcn.0049243b
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0048f453
add esp, 4
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
inc eax
jmp 0x41eb3d
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41edc2
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x41edc2
test esi, esi
je 0x41edc2
mov eax, dword [esi]
test eax, eax
je 0x41eda2
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41edb9
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret