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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100e4a78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x120], ebx
mov edi, dword [ebx]
mov dword [ebp - 0x10c], edi
test edi, edi
je 0x1004b71e
lea eax, [edi + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [0x100e5110]
mov dword [ebp - 0xdc], 0
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xe0], 0
test eax, eax
je 0x1004b725
inc dword [eax + 4]
mov dword [ebp - 4], 0
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x100], 0
jne 0x1004b779
cmp dword [edi + 0x220], 0
je 0x1004b785
test byte [edi + 0x78], 3
jne 0x1004b809
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x114]
mov eax, dword [0x10008468]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x1000846c]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x10008470]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x10008474]
push ecx
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x104]
mov eax, dword [edi + 0x228]
push ecx
mov dword [ebp - 0x11c], 0xb
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xcc], 1
mov esi, dword [eax]
push ecx
push 1
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
test esi, esi
js 0x1004bca6
jne 0x1004bd0a
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
cmp word [eax + 0x24], 0
jne 0x1004bd97
mov al, 1
mov byte [edi + 0xc8], al
mov eax, dword [edi + 0x220]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], esi
call fcn.1003b8e0
test eax, eax
je 0x1004bdff
cmp dword [ebp - 0xe0], 0
je 0x1004bdff
test esi, esi
jns 0x1004bdff
test byte [0x100e5114], 2
jne 0x1004bda4
mov esi, dword [ebp - 0xe0]
test esi, esi
jns 0x1003b250
test byte [0x100e5114], 2
jne 0x1004bfce
mov dword [edi + 0x118], 1
lea eax, [edi + 0x290]
xor ecx, ecx
xchg dword [eax], ecx
test ecx, ecx
jne 0x1004c02a
cmp dword [ebp - 0xe0], 0
jge 0x1004c1ef
add ebx, 8
lea esi, [edi + 0x98]
cmp ebx, esi
je 0x1003b3e2
mov eax, dword [ebx]
test eax, eax
jne 0x1004c03f
mov eax, dword [ebx + 8]
lea edx, [ebx + 8]
test eax, eax
jne 0x1004c04c
mov eax, dword [ebx + 0x10]
lea edx, [ebx + 0x10]
test eax, eax
jne 0x1004c062
mov edx, dword [ebx + 0x18]
lea eax, [ebx + 0x18]
mov dword [ebp - 0xfc], edx
test edx, edx
je 0x1003b376
lea ecx, [esi + 0x18]
mov dword [ebp - 0xd8], ecx
cmp eax, ecx
je 0x1003b376
mov esi, edx
lea edx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1003b2e0
sub esi, edx
sar esi, 1
test byte [ecx + 4], 2
je 0x1003b30b
mov eax, dword [ecx]
test eax, eax
je 0x1003b30b
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
cmp esi, 0x7ffffffd
ja 0x1004c078
lea eax, [esi + esi]
mov dword [ebp - 0xd4], eax
add eax, 2
push eax
push 0xa00000
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, dword [ebp - 0xd4]
add esp, 0xc
mov esi, dword [ebp - 0xd8]
mov dword [esi], eax
test eax, eax
je 0x1004c088
push ecx
push dword [ebp - 0xfc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [ebp - 0xd4]
add esp, 0xc
mov word [ecx + eax], dx
or byte [esi + 4], 4
lea esi, [edi + 0x98]
lea eax, [ebx + 0x20]
lea ecx, [esi + 0x20]
cmp eax, ecx
je 0x1003b3c7
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x1004c091
xor edx, edx
test byte [ecx + 4], 2
mov dword [ebp - 0xd8], edx
je 0x1003b3bd
mov edx, dword [ecx]
test edx, edx
je 0x1003b3bd
push edx
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov eax, dword [ebp - 0xd4]
lea ecx, [esi + 0x20]
add esp, 8
test eax, eax
jne 0x1004c0ba
mov dword [ecx], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
movzx eax, byte [ebx + 0x2c]
mov byte [esi + 0x2c], al
movzx eax, byte [ebx + 0x2d]
mov byte [esi + 0x2d], al
movzx eax, byte [ebx + 0x2f]
mov byte [esi + 0x2f], al
test byte [edi + 0x9c], 4
je 0x1004c139
test byte [edi + 0xa4], 4
je 0x1004c139
test byte [edi + 0xac], 4
je 0x1004c139
test byte [edi + 0xb4], 4
je 0x1004c139
test byte [edi + 0xbc], 4
je 0x1004c139
mov ecx, dword [edi + 0x224]
test ecx, ecx
jne 0x1004c153
mov ecx, dword [edi + 0x220]
test ecx, ecx
je 0x1003b455
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x220], 0
mov ecx, dword [edi + 0x228]
test ecx, ecx
je 0x1003b479
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x228], 0
mov ecx, dword [edi + 0x230]
test ecx, ecx
jne 0x1004c172
mov ecx, dword [edi + 0x90]
test ecx, ecx
jne 0x1004c191
mov ecx, dword [edi + 0x94]
test ecx, ecx
jne 0x1004c1b0
mov eax, dword [ebp - 0x120]
mov byte [edi + 0xc4], 0
cmp byte [eax + 0x38], 0
jne 0x1004c1cf
mov eax, dword [edi]
mov byte [edi + 0x249], 0
push edi
mov esi, dword [eax + 4]
cmp esi, fcn.1003e9a0
jne 0x1004c1fe
call fcn.1003e9a0
cmp dword [edi + 0x24], 0
jne 0x1003b504
mov eax, dword [edi + 0x8c]
xor ebx, ebx
mov esi, dword [eax + 8]
test esi, esi
jg 0x1004c20d
mov eax, dword [edi + 0x88]
xor ebx, ebx
mov esi, dword [eax + 8]
test esi, esi
jg 0x1004c237
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
cmp esi, fcn.1003bf60
jne 0x1004c334
call fcn.1003bf60
mov edx, dword [ebp - 0x110]
test edx, edx
jne 0x1004c343
mov esi, dword [ebp - 0x114]
test esi, esi
je 0x1003b568
mov eax, dword [esi + 4]
test eax, eax
je 0x1003b561
xor edi, edi
test eax, eax
je 0x1003b559
xor ebx, ebx
mov eax, dword [esi]
add eax, 0x24
add eax, ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add ebx, 0x34
cmp edi, dword [esi + 4]
jb 0x1003b542
push dword [esi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xf8]
add dword [eax + 4], 0xffffffff
je 0x1004c357
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041550
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x1003b09b
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf4], 1
push eax
mov eax, dword [0x100e5110]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov word [ebp - 0xe8], 0
mov byte [ebp - 0xe6], 0
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], eax
jmp 0x1003b0d4
mov byte [ebp - 0xe7], 1
jmp 0x1003b121
push 0
lea ecx, [ebp - 0xf8]
call fcn.10059de0
mov esi, dword [ebp - 0xe0]
test esi, esi
jns 0x1003b239
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6b0
push esi
cmp eax, 0xffffffff
je 0x1004b7ec
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c250
push 0x1ac009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c2c0
push 0x1ac009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
cmp dword [edi + 0x74], 0
jne 0x1004b88c
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x800a0e84
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6bc
cmp eax, 0xffffffff
je 0x1004b86f
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1af009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1af009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
mov esi, dword [edi + 0x64]
lea eax, [edi + 0x64]
lea ecx, [ebp - 0x100]
push ecx
push 0x10008600
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
call dword [0x100e6364]
call esi
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 0xd4]
push eax
call fcn.100d92eb
add esp, 4
mov dword [ebp - 0xe0], eax
test eax, eax
jns 0x1004b93b
lea ecx, [ebp - 0xf8]
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6c2
cmp eax, 0xffffffff
je 0x1004b91e
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1b0809
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1b0809
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
lea eax, [ebp - 0x104]
push eax
push 7
push 0x10008468
call fcn.1005c04c
mov esi, eax
test esi, esi
jns 0x1004b9bc
test byte [0x100e5114], 2
je 0x1004b9ba
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6c7
push esi
cmp eax, 0xffffffff
je 0x1004b9a2
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c250
push 0x1b1c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1004b9ba
mov eax, dword [0x100e80f0]
push 0x1000c2c0
push 0x1b1c09
push eax
call fcn.100d5b23
add esp, 0x14
test esi, esi
je 0x1004bb6d
cmp esi, 0x80040e21
je 0x1004ba47
mov dword [ebp - 0xe0], esi
test esi, esi
jns 0x1004ba47
lea ecx, [ebp - 0xf8]
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6cc
cmp eax, 0xffffffff
je 0x1004ba2a
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1b3009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1b3009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
mov eax, dword [ebp - 0xd4]
cmp eax, 0x20000
jne 0x1004bae8
mov ecx, dword [ebp - 0x100]
call fcn.100d6926
test eax, eax
je 0x1003b138
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x800a0e84
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6e9
cmp eax, 0xffffffff
je 0x1004bacb
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1ba409
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1ba409
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
test eax, eax
je 0x1003b138
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x800a0e84
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6ed
cmp eax, 0xffffffff
je 0x1004bb50
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1bb409
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1bb409
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
cmp word [eax + 0x24], 0
je 0x1003b138
mov eax, dword [ebp - 0xd4]
cmp eax, 0x20000
jne 0x1004bc21
mov ecx, dword [ebp - 0x100]
call fcn.100d6926
test eax, eax
je 0x1003b138
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x800a0e84
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6db
cmp eax, 0xffffffff
je 0x1004bc04
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1b6c09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1b6c09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
test eax, eax
je 0x1003b138
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x800a0e84
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6df
cmp eax, 0xffffffff
je 0x1004bc89
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1b7c09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1b7c09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
test byte [0x100e5114], 2
je 0x1004bd03
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6f4
push esi
cmp eax, 0xffffffff
je 0x1004bceb
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c250
push 0x1bd009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1004bd03
mov eax, dword [0x100e80f0]
push 0x1000c2c0
push 0x1bd009
push eax
call fcn.100d5b23
add esp, 0x14
test esi, esi
jmp 0x1003b1c5
cmp esi, 0x80040e21
je 0x1003b1de
mov dword [ebp - 0xe0], esi
test esi, esi
jns 0x1003b1de
lea ecx, [ebp - 0xf8]
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x6f8
cmp eax, 0xffffffff
je 0x1004bd7a
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1be009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1be009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
cmp word [eax + 0x2c], 0
sete al
jmp 0x1003b1e0
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x714
cmp eax, 0xffffffff
je 0x1004bde2
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1c5009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1c5009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
mov eax, dword [edi + 0x220]
lea ecx, [ebp - 0x108]
push ecx
push 0x10038524
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [ebp - 0xe0], eax
test eax, eax
jns 0x1004be9d
lea ecx, [ebp - 0xf8]
call fcn.1003b8e0
test byte [0x100e5114], 2
je 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x71a
cmp eax, 0xffffffff
je 0x1004be80
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1c6809
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b239
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1c6809
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003b239
mov eax, dword [ebp - 0x108]
lea ecx, [edi + 0x224]
push ecx
push 0x10008600
push 0
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xf8]
call fcn.1005038a
test eax, eax
je 0x1004bf38
test byte [0x100e5114], 2
je 0x1004bf38
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x71c
cmp eax, 0xffffffff
je 0x1004bf20
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c328
push 0x1c7009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1004bf38
mov eax, dword [0x100e80f0]
push 0x1000c378
push 0x1c7009
push eax
call fcn.100d5b23
add esp, 0x10
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov ecx, dword [edi + 0x224]
test ecx, ecx
je 0x1004bfb5
mov esi, dword [ecx]
lea eax, [edi + 0x230]
push eax
push 0x10038514
push ecx
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
mov ecx, dword [edi + 0x224]
lea eax, [edi + 0x90]
push eax
push 0x10038504
push ecx
mov esi, dword [ecx]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
mov ecx, dword [edi + 0x224]
lea eax, [edi + 0x94]
push eax
push 0x100384f4
push ecx
mov esi, dword [ecx]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
cmp dword [ebp - 0xe0], 0
jl 0x1003b239
mov byte [edi + 0xc6], 1
jmp 0x1003b239
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x731
push esi
cmp eax, 0xffffffff
je 0x1004c00d
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c250
push 0x1cc409
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003b250
mov eax, dword [0x100e80f0]
push 0x1000c2c0
push 0x1cc409
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003b250
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003b26c
push eax
mov ecx, esi
call fcn.100ddf88
jmp 0x1003b294
lea ecx, [esi + 8]
cmp edx, ecx
je 0x1003b2a2
push eax
call fcn.100ddf88
jmp 0x1003b2a2
lea ecx, [esi + 0x10]
cmp edx, ecx
je 0x1003b2b0
push eax
call fcn.100ddf88
jmp 0x1003b2b0
lea ecx, [esi + esi]
xor eax, eax
mov dword [ebp - 0xd4], ecx
jmp 0x1003b33e
and byte [esi + 4], 0xfb
jmp 0x1003b370
mov edx, eax
lea eax, [edx + 2]
mov dword [ebp - 0xfc], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1004c09c
sub edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xd4]
sar edx, 1
jmp 0x1003b392
mov edx, dword [ebp - 0xd8]
lea edi, [edx + edx]
mov dword [ebp - 0xd8], edi
cmp edx, 0x7ffffffd
ja 0x1004c0fa
lea eax, [edx*2 + 2]
push eax
push 0xa00000
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov edx, eax
lea ecx, [esi + 0x20]
mov eax, dword [ebp - 0xd4]
add esp, 0xc
jmp 0x1004c0fc
xor edx, edx
mov edi, dword [ebp - 0x10c]
mov dword [ecx], edx
test edx, edx
jne 0x1004c111
and byte [ecx + 4], 0xfb
jmp 0x1003b3c7
push dword [ebp - 0xd8]
push eax
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x20]
xor edx, edx
mov ecx, dword [ebp - 0xd8]
add esp, 0xc
mov word [ecx + eax], dx
or byte [esi + 0x24], 4
jmp 0x1003b3c7
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0x8007000e
call fcn.1003b8e0
jmp 0x1003b423
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x224], 0
jmp 0x1003b431
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x230], 0
jmp 0x1003b487
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x90], 0
jmp 0x1003b495
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov dword [edi + 0x94], 0
jmp 0x1003b4a3
lea eax, [edi + 0x290]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x294], eax
jmp 0x1003b4ba
mov dword [edi + 0x294], 0
jmp 0x1003b4ba
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003b4d8
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005a4f4
test eax, eax
je 0x1004c223
cmp dword [eax + 8], 0
je 0x1004c223
inc edi
inc ebx
cmp ebx, esi
jl 0x1004c212
test edi, edi
mov edi, dword [ebp - 0x10c]
jne 0x1004c260
jmp 0x1003b4f1
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005a4f4
test eax, eax
je 0x1004c24d
cmp dword [eax + 8], 0
je 0x1004c24d
inc edi
inc ebx
cmp ebx, esi
jl 0x1004c23c
test edi, edi
mov edi, dword [ebp - 0x10c]
je 0x1003b504
push dword [edi + 0x290]
lea ecx, [ebp - 0xb8]
push 7
push edi
call fcn.10053c5f
mov byte [ebp - 4], 1
xor eax, eax
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
push 2
sets al
mov dword [ebp - 0xfc], 0
inc eax
mov dword [ebp - 0x124], 0
push ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x118], eax
call fcn.100db843
mov esi, dword [edi + 0x88]
mov eax, 0x4003
mov word [ebp - 0xa8], ax
mov ecx, esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], eax
call fcn.10056fd0
test eax, eax
je 0x1004c2f3
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.10059f8c
test eax, eax
js 0x1004c320
mov esi, dword [edi + 0x8c]
mov ecx, esi
call fcn.10056fd0
test eax, eax
je 0x1004c320
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.10059f8c
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.1005421e
jmp 0x1003b504
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003b51b
push 1
mov ecx, 1
call fcn.10071008
add esp, 4
jmp 0x1003b529
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1004c38c
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov eax, dword [ebp - 0xf8]
cmp byte [eax + 0x12], 0
jne 0x1004c3a8
mov ecx, dword [0x100e5110]
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1003b585
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xf8]
mov dword [eax + 0xc], 0
jmp 0x1003b585