Function at 0x1003ad40
Capabilities:
Create thread
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100435d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x100e3998]
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
test byte [0x100e4068], 4
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1d4], 0xffffffff
jne 0x1004a763
cmp dword [0x100e3008], 0x100d8f40
jne 0x1004a7a0
test edi, edi
je 0x1004a809
lea eax, [edi + 0xc]
mov dword [ebp - 0x1b0], eax
mov eax, dword [0x100e4064]
mov dword [ebp - 0x1a8], 0
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1ac], 0
test eax, eax
jne 0x1003b695
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], eax
mov word [ebp - 0x1b4], ax
mov byte [ebp - 0x1b2], al
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [0x100e4064]
mov dword [ebp - 0x1c0], 1
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1cc], 0
mov byte [ebp - 0x1c8], 7
test esi, esi
jne 0x1004a810
mov dword [ebp - 0x1a4], esi
mov al, 7
mov dword [ebp - 0x168], eax
test ebx, ebx
jne 0x1004a836
mov dword [ebp - 0x1a0], ebx
mov bl, 7
and al, 4
mov dword [ebp - 0x168], eax
je 0x1004a862
and bl, 4
mov dword [ebp - 0x1d8], ebx
je 0x1004a8ed
cmp byte [edi + 0x249], 0
jne 0x1004a978
cmp byte [edi + 0xc6], 0
jne 0x1004aa03
mov eax, 4
mov dword [ebp - 0x190], 0
lea ebx, [edi + 0x29c]
mov word [ebp - 0x18c], ax
push ebx
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x16d], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x194], 0
call dword [sym.imp.MSDART.DLL_UMSEnterCSWraper]
mov ecx, dword [ebp - 0x19c]
add esp, 4
test ecx, ecx
je 0x1003af1d
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, 0x40000
ja 0x1004aa9d
lea esi, [edi + 0x254]
mov dword [esi], 0
mov byte [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
jne 0x1004ab32
mov dword [esi + 8], 0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x1004ab47
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1004ab5c
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x1004ab71
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1004ab86
lea ebx, [edi + 0x98]
mov dword [esi + 0x28], 0
lea ecx, [edi + 0x25c]
mov byte [esi + 0x35], 0
mov word [esi + 0x37], 0
cmp ebx, ecx
je 0x1003b0e0
mov eax, dword [ebx]
test eax, eax
jne 0x1004ab9b
mov edx, dword [ebx + 8]
lea eax, [ebx + 8]
test edx, edx
jne 0x1004abac
mov edx, dword [ebx + 0x10]
lea eax, [ebx + 0x10]
test edx, edx
jne 0x1004abc4
mov edx, dword [ebx + 0x18]
lea eax, [ebx + 0x18]
mov dword [ebp - 0x180], edx
test edx, edx
je 0x1003b080
add ecx, 0x18
mov dword [ebp - 0x16c], ecx
cmp eax, ecx
je 0x1004ac0a
mov esi, edx
lea eax, [esi + 2]
mov dword [ebp - 0x1dc], eax
jmp 0x1003b000
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1003b000
sub esi, dword [ebp - 0x1dc]
sar esi, 1
test byte [ecx + 4], 2
je 0x1003b023
mov eax, dword [ecx]
test eax, eax
jne 0x1004abdc
cmp esi, 0x7ffffffd
ja 0x1004abfd
add esi, esi
lea eax, [esi + 2]
push eax
push 0xa00000
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, dword [ebp - 0x16c]
add esp, 0xc
mov edx, dword [ebp - 0x180]
mov dword [ecx], eax
test eax, eax
je 0x1004ac06
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [edi + 0x274]
lea ecx, [edi + 0x25c]
xor edx, edx
add esp, 0xc
mov word [esi + eax], dx
or byte [ecx + 0x1c], 4
lea eax, [ebx + 0x20]
lea esi, [ecx + 0x20]
cmp eax, esi
je 0x1003b0c2
mov eax, dword [eax]
mov dword [ebp - 0x180], eax
test eax, eax
jne 0x1004ac15
xor edx, edx
test byte [esi + 4], 2
mov dword [ebp - 0x16c], edx
je 0x1003b0b8
mov ecx, dword [esi]
test ecx, ecx
jne 0x1004ac3a
lea ecx, [edi + 0x25c]
test eax, eax
jne 0x1004ac5b
mov dword [esi], eax
mov eax, dword [ebx + 0x28]
lea esi, [edi + 0x254]
mov dword [ecx + 0x28], eax
mov al, byte [ebx + 0x2c]
mov byte [ecx + 0x2c], al
mov al, byte [ebx + 0x2d]
mov byte [ecx + 0x2d], al
mov al, byte [ebx + 0x2f]
mov byte [ecx + 0x2f], al
test byte [ecx + 4], 4
je 0x1004c588
test byte [ecx + 0xc], 4
je 0x1004c588
test byte [ecx + 0x14], 4
je 0x1004c588
test byte [ecx + 0x1c], 4
je 0x1004c588
test byte [ecx + 0x24], 4
je 0x1004c588
cmp dword [edi + 0x220], 0
lea eax, [edi + 0x220]
jne 0x1004acc9
xor al, al
mov dword [esi], edi
mov esi, dword [ebp - 0x19c]
mov byte [edi + 0xc4], al
test esi, esi
je 0x1003b22f
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1003b22f
mov eax, dword [ebx]
test eax, eax
jne 0x1004acd0
mov dword [ebx], 0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x1004ace5
mov dword [ebx + 8], 0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1004acfa
mov dword [ebx + 0x10], 0
lea ecx, [esi + 2]
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x2f], 0
jmp 0x1003b190
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1003b190
sub esi, ecx
sar esi, 1
test byte [ebx + 4], 2
je 0x1003b1af
mov eax, dword [ebx]
test eax, eax
jne 0x1004ad0f
cmp esi, 0x7ffffffd
ja 0x1004ad24
add esi, esi
lea eax, [esi + 2]
push eax
push 0xa00000
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
add esp, 0xc
mov dword [ebx], eax
test eax, eax
je 0x1004ad2d
mov ecx, dword [ebp - 0x19c]
push esi
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax], cx
or byte [ebx + 4], 4
test byte [edi + 0x9c], 4
je 0x1004ad36
mov byte [edi + 0xc5], 0
mov eax, dword [edi + 0xb8]
test eax, eax
jne 0x1004adb3
mov dword [edi + 0xb8], 0
mov byte [edi + 0xc8], 0
mov eax, dword [ebp - 0x1a4]
test eax, eax
jne 0x1004adc8
mov eax, dword [ebp - 0x1a0]
test eax, eax
jne 0x1004ae65
mov eax, dword [edi + 0x8c]
mov esi, dword [eax + 8]
test esi, esi
jg 0x1004af02
mov eax, dword [edi + 0x88]
mov esi, dword [eax + 8]
test esi, esi
jg 0x1004af34
mov edx, dword [ebp + 0x18]
cmp edx, 0xffffffff
jne 0x1004b67a
mov byte [ebp - 0x175], 0
mov dword [ebp + 0x18], edx
test byte [ebx + 4], 4
je 0x1004b748
mov esi, dword [ebx]
mov edx, esi
mov dword [ebp - 0x168], edx
test esi, esi
je 0x1003b2f1
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x1004b74f
test cx, cx
je 0x1003b2f1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x184], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b2c0
sub ecx, dword [ebp - 0x184]
sar ecx, 1
cmp ecx, 3
jbe 0x1003b2f1
push 3
push 0x100083a0
push edx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x1004b785
lea eax, [edi + 0x98]
mov edx, dword [eax]
test edx, edx
je 0x1004ba37
mov al, byte [eax + 4]
mov byte [ebp - 0x187], al
test al, 4
je 0x1004ba37
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003b317
sub eax, esi
sar eax, 1
je 0x1004ba37
test byte [ebp - 0x187], 4
je 0x1004b885
push 0x3d
push edx
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
je 0x1004b9af
cmp byte [edi + 0xc5], 0
jne 0x1004ba37
cmp dword [0x100e39a0], 0xffffffff
lea eax, [edi + 0x80]
jne 0x1004b88c
test byte [0x100e4068], 2
jne 0x1004b88c
push dword [eax + 4]
mov ecx, ebx
push edi
call fcn.1003c970
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1004b8b5
cmp dword [edi + 0x220], 0
lea edx, [edi + 0x220]
jne 0x1004b910
mov ecx, edi
call fcn.1003a3f0
mov esi, eax
test esi, esi
js 0x1004ba59
mov ecx, edi
call fcn.1003a150
mov esi, eax
test esi, esi
js 0x1004bb1f
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1004bb88
mov eax, dword [ebp - 0x1cc]
test eax, eax
jne 0x1004bbe3
mov ecx, dword [edi + 0xa0]
lea edx, [edi + 0xa0]
test ecx, ecx
jne 0x1004bc81
mov ecx, dword [edi + 0xa8]
lea edx, [edi + 0xa8]
test ecx, ecx
jne 0x1004bd1a
cmp dword [edi + 0xc0], 1
je 0x1004bdde
lea ecx, [edi + 0x10c]
mov dword [ebp - 0x198], 0
call dword [sym.imp.MSDART.DLL_public:_bool___thiscall_CReaderWriterLock3AR::ReadOrWriteLock_void_]
mov byte [ebp - 0x184], al
mov eax, dword [edi + 0x108]
test eax, eax
jne 0x1004bdd0
push dword [ebp - 0x184]
lea ecx, [edi + 0x10c]
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::ReadOrWriteUnlock_bool_]
cmp dword [ebp - 0x198], 0
jne 0x1004bdde
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
cmp dword [edi + 0xc0], 1
je 0x1004bef8
mov eax, dword [edi + 0x64]
lea ecx, [edi + 0x64]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x190]
push eax
push 0x10008490
push ecx
cmp esi, fcn.10038c10
jne 0x1004bff3
call fcn.10038c10
test byte [edi + 0x78], 3
jne 0x1004c002
mov ecx, dword [edi + 0x74]
test ecx, ecx
jne 0x1004c00d
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jne 0x1004c1bd
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
cmp esi, fcn.10039340
jne 0x1004c35f
call fcn.10039340
test byte [ebp - 0x175], 0x10
jne 0x1004c36e
xor bl, bl
lea eax, [edi + 0x254]
cmp byte [eax + 0x38], bl
jne 0x1004c444
mov ecx, eax
call fcn.1003d670
mov esi, eax
test esi, esi
jns 0x1003b514
test byte [0x100e4068], 2
jne 0x1004c4bd
mov ecx, dword [edi + 0x254]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x184], eax
cmp eax, fcn.10039400
jne 0x1004c51f
call fcn.10039400
test bl, bl
jne 0x1004c532
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b555
test byte [0x100e4068], 2
jne 0x1004c53d
lea ebx, [edi + 0x29c]
mov esi, dword [ebp - 0x164]
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1ac], esi
call fcn.10038c50
cmp byte [ebp - 0x16d], 0
jne 0x1004c5ff
mov ecx, dword [ebp - 0x190]
test ecx, ecx
jne 0x1004c6b7
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jne 0x1004c6cc
mov ecx, dword [ebp - 0x194]
test ecx, ecx
jne 0x1004c6e1
cmp byte [edi + 0xc6], 0
jne 0x1004c6f6
mov eax, dword [ebx]
dec dword [eax + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x100e4068], 2
jne 0x1004c73a
test byte [0x100e4068], 4
jne 0x1004c777
push dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x1ac]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x1a4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test byte [ebp - 0x1c8], 2
je 0x1003b612
push dword [ebp - 0x1cc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c4]
add dword [eax + 4], 0xffffffff
jne 0x1003b675
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1003b65a
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov eax, dword [ebp - 0x1c4]
cmp byte [eax + 0x12], 0
jne 0x1004c7b3
mov ecx, dword [0x100e4064]
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
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.10040f40
mov esp, ebp
pop ebp
ret 0x14
inc dword [eax + 4]
jmp 0x1003ae34
cmp dword [0x100e74ec], 0
je 0x1003ad9f
push dword [ebp + 0x18]
lea ecx, [edi + 0x80]
push esi
call fcn.10050714
push eax
mov eax, dword [0x100e74ec]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.100d9281
mov eax, dword [ebp - 0x19c]
add esp, 0x14
jmp 0x1003ad9f
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x180], 0
push ecx
push eax
push 0
mov ecx, edi
call fcn.1006380b
test byte [0x100e4068], 2
je 0x1004a7f8
cmp dword [0x100e720c], 0
je 0x1004a7f8
push dword [ebp - 0x180]
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e720c]
push eax
mov eax, dword [0x100e70f0]
push 0x12c800
push eax
call fcn.100d931d
add esp, 0x14
push dword [ebp - 0x180]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1003adaf
xor eax, eax
jmp 0x1003adba
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
mov dword [ebp - 0x1a4], eax
setne al
lea eax, [eax*4 + 3]
jmp 0x1003ae55
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x168]
setne bl
lea ebx, [ebx*4 + 3]
jmp 0x1003ae6b
lea edx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0x8007000e
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003ae79
test byte [0x100e4068], 2
je 0x1003b5d2
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4bf
cmp eax, 0xffffffff
je 0x1004a8d0
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x12fc09
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b5c5
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x12fc09
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b5c5
lea edx, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0x8007000e
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003ae88
test byte [0x100e4068], 2
je 0x1003b5d2
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4c0
cmp eax, 0xffffffff
je 0x1004a95b
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x130009
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b5c5
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x130009
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b5c5
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x800a0e81
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003b5c5
test byte [0x100e4068], 2
je 0x1003b5d2
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4c2
cmp eax, 0xffffffff
je 0x1004a9e6
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x130809
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b5c5
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x130809
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b5c5
lea edx, [ebp - 0x1f8]
mov dword [ebp - 0x1f8], 0x800a0e79
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003aea2
mov esi, dword [ebp - 0x1ac]
test esi, esi
jns 0x1003b5c5
test byte [0x100e4068], 2
je 0x1003b5d2
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4c3
push esi
cmp eax, 0xffffffff
je 0x1004aa80
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x130c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b5c5
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x130c09
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b5c5
lea edx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0x800a0eaa
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003af1d
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x800a0eaa
je 0x1003b55b
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4df
cmp eax, 0xffffffff
je 0x1004ab15
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x137c09
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b55b
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x137c09
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b55b
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003af38
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003af4a
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003af5c
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003af6e
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003af80
push eax
call fcn.10050958
lea ecx, [edi + 0x25c]
jmp 0x1003afaf
add ecx, 8
cmp eax, ecx
je 0x1004abb9
push edx
call fcn.10050958
lea ecx, [edi + 0x25c]
jmp 0x1003afbd
add ecx, 0x10
cmp eax, ecx
je 0x1004abd1
push edx
call fcn.10050958
lea ecx, [edi + 0x25c]
jmp 0x1003afcb
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov ecx, dword [ebp - 0x16c]
add esp, 8
mov edx, dword [ebp - 0x180]
jmp 0x1003b023
xor eax, eax
add esi, esi
jmp 0x1003b055
and byte [ecx + 4], 0xfb
lea ecx, [edi + 0x25c]
jmp 0x1003b080
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1004ac1a
mov eax, dword [ebp - 0x180]
sub edx, ecx
sar edx, 1
lea ecx, [edi + 0x25c]
jmp 0x1003b09c
push ecx
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov eax, dword [ebp - 0x180]
add esp, 8
mov edx, dword [ebp - 0x16c]
jmp 0x1003b0b2
lea ecx, [edx + edx]
mov dword [ebp - 0x16c], ecx
cmp edx, 0x7ffffffd
ja 0x1004ac8e
lea eax, [ecx + 2]
push eax
push 0xa00000
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x180]
jmp 0x1004ac90
xor ecx, ecx
mov dword [esi], ecx
test ecx, ecx
jne 0x1004ac9c
and byte [esi + 4], 0xfb
jmp 0x1004acbe
push dword [ebp - 0x16c]
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [ebp - 0x16c]
add esp, 0xc
mov word [ecx + eax], dx
or byte [esi + 4], 4
lea ecx, [edi + 0x25c]
jmp 0x1003b0c2
mov al, 1
jmp 0x1003b127
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003b156
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003b167
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003b179
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003b1af
xor eax, eax
add esi, esi
jmp 0x1003b1d5
and byte [ebx + 4], 0xfb
jmp 0x1003b1fc
lea edx, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x8007000e
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003b209
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4f6
cmp eax, 0xffffffff
je 0x1004ad96
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x13d809
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x13d809
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
push eax
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x1003b21e
cmp byte [ebp - 0x168], 0
je 0x1003b23d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1003b23d
push dword [ebp - 0x1a4]
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.10050958
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1003b23d
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x504
cmp eax, 0xffffffff
je 0x1004ae48
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x141009
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x141009
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
cmp byte [ebp - 0x1d8], 0
je 0x1003b24b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1003b24b
push dword [ebp - 0x1a0]
lea esi, [edi + 0xa8]
mov ecx, esi
call fcn.10050958
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1003b24b
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x50a
cmp eax, 0xffffffff
je 0x1004aee5
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x142809
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x142809
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
xor ebx, ebx
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005b044
test eax, eax
je 0x1004af1a
cmp dword [eax + 8], 0
je 0x1004af1a
inc edi
inc ebx
cmp ebx, esi
jl 0x1004af09
test edi, edi
mov edi, dword [ebp - 0x1e8]
lea ebx, [edi + 0x98]
jne 0x1004af65
jmp 0x1003b25c
xor ebx, ebx
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005b044
test eax, eax
je 0x1004af4c
cmp dword [eax + 8], 0
je 0x1004af4c
inc edi
inc ebx
cmp ebx, esi
jl 0x1004af3b
test edi, edi
mov edi, dword [ebp - 0x1e8]
lea ebx, [edi + 0x98]
je 0x1003b26d
test byte [ebx + 4], 4
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x168], 0
je 0x1004af8d
mov eax, dword [ebx]
jmp 0x1004af8f
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [edi + 0xac], 4
mov dword [ebp - 0x174], eax
je 0x1004afad
mov eax, dword [edi + 0xa8]
jmp 0x1004afaf
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [edi + 0xa4], 4
lea esi, [edi + 0xa0]
mov dword [ebp - 0x17c], eax
je 0x1004afcf
mov eax, dword [esi]
jmp 0x1004afd1
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [ebx + 4], 4
mov dword [ebp - 0x168], eax
je 0x1004aff2
cmp dword [ebx], 0
je 0x1004aff2
cmp dword [ebp - 0x174], 0
je 0x1004b028
test byte [edi + 0xac], 4
je 0x1004b00d
cmp dword [edi + 0xa8], 0
je 0x1004b00d
cmp dword [ebp - 0x17c], 0
je 0x1004b028
test byte [esi + 4], 4
je 0x1004b134
cmp dword [esi], 0
je 0x1004b134
test eax, eax
jne 0x1004b134
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1004b093
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x520
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004b07b
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x148009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004b093
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x148009
push eax
call fcn.100d931d
add esp, 0x14
push dword [ebp - 0x174]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x17c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x168]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test byte [0x100e4068], 2
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x168], 0
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x528
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004b125
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x14a009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x14a009
jmp 0x1004c5ec
push 0
push 6
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x198], 1
call fcn.1005481a
lea eax, [ebp - 0x174]
mov ecx, 0x4008
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x80], eax
mov eax, 0x4003
mov word [ebp - 0x98], ax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, 0x4003
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x198]
mov word [ebp - 0x68], cx
mov word [ebp - 0x78], cx
mov word [ebp - 0x88], cx
mov ecx, dword [edi + 0x88]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], eax
call fcn.1005145f
test eax, eax
je 0x1004b248
mov ecx, dword [edi + 0x88]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1005ad2e
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004b255
test byte [0x100e4068], 2
je 0x1004b242
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x545
push esi
cmp eax, 0xffffffff
je 0x1004b22a
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x151409
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004b242
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x151409
push eax
call fcn.100d931d
add esp, 0x14
lea esi, [edi + 0xa0]
cmp dword [ebp - 0x164], 0
jl 0x1004b451
mov esi, dword [edi + 0x8c]
mov ecx, esi
call fcn.1005145f
test eax, eax
je 0x1004b2ef
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [ebp - 0x1e4]
mov ecx, esi
push eax
call fcn.1005ad2e
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004b2fc
test byte [0x100e4068], 2
je 0x1004b2ef
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x54f
push esi
cmp eax, 0xffffffff
je 0x1004b2d7
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x153c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004b2ef
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x153c09
push eax
call fcn.100d931d
add esp, 0x14
cmp dword [ebp - 0x164], 0
jl 0x1004b44b
test byte [ebx + 4], 4
je 0x1004b306
mov eax, dword [ebx]
jmp 0x1004b308
xor eax, eax
mov ecx, dword [ebp - 0x174]
mov edx, ecx
push eax
call fcn.100dd125
add esp, 4
test al, al
je 0x1004b44b
push dword [ebp - 0x174]
mov ecx, ebx
call fcn.10050958
test byte [edi + 0x9c], 4
jne 0x1004b43d
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x1004b356
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x1004b371
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x1004b38c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x17c], 0
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1004b42d
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x56a
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004b3e3
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x15a809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004b42d
push 0x1000bf20
push 0x15a809
jmp 0x1004b3f9
push 0x1000bf20
push 0x164809
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1004b42d
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x164809
push eax
call fcn.100d931d
add esp, 0x18
lea ecx, [ebp - 0xb8]
call fcn.10054b8d
jmp 0x1003b555
mov byte [edi + 0xc5], 0
mov byte [edi + 0xc8], 0
lea esi, [edi + 0xa0]
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x1004b46c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x174], 0
push dword [ebp - 0x168]
mov ecx, esi
call fcn.10050958
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x1004b494
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x168], 0
push dword [ebp - 0x17c]
lea ecx, [edi + 0xa8]
call fcn.10050958
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x1004b4c0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x17c], 0
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1004b576
test byte [0x100e4068], 2
je 0x1004b566
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x589
cmp eax, 0xffffffff
je 0x1004b51c
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x162409
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1004b566
push 0x1000be58
push 0x162409
jmp 0x1004b532
push 0x1000be58
push 0x162809
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1004b566
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000be00
push 0x162809
push eax
call fcn.100d931d
add esp, 0x14
lea ecx, [ebp - 0xb8]
call fcn.10054b8d
jmp 0x1003b555
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1004b5b0
test byte [0x100e4068], 2
je 0x1004b566
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x58a
cmp eax, 0xffffffff
je 0x1004b528
jmp 0x1004b542
cmp dword [ebp - 0x1e0], 0
jne 0x1004b5c2
cmp dword [ebp - 0x1e4], 0
je 0x1004b634
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x800a0e80
je 0x1004b62d
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x58f
push 0x800a0e80
cmp eax, 0xffffffff
je 0x1004b615
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x163c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004b62d
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x163c09
push eax
call fcn.100d931d
add esp, 0x14
mov byte [ebp - 0x16d], 1
mov esi, dword [ebp - 0x164]
test esi, esi
jns 0x1004b66a
test byte [0x100e4068], 2
je 0x1004b42d
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x592
push esi
cmp eax, 0xffffffff
je 0x1004b3ef
jmp 0x1004b409
lea ecx, [ebp - 0xb8]
call fcn.10054b8d
jmp 0x1003b26d
mov al, dl
mov ecx, edx
and al, 0x70
shr ecx, 0xb
mov byte [ebp - 0x175], al
and ecx, 1
mov eax, edx
shr eax, 0xa
and eax, 1
add ecx, eax
mov eax, edx
shr eax, 7
and eax, 1
add ecx, eax
cmp ecx, 1
ja 0x1004b6bc
mov eax, edx
and eax, 0xc80
and edx, 0xfffff36f
jne 0x1004b6b7
or edx, 0xffffffff
mov dword [ebp + 0x18], edx
jmp 0x1004b6be
xor eax, eax
cmp edx, 0xffffffff
jne 0x1004b6cb
test eax, eax
je 0x1003b283
lea edx, [ebp - 0x184]
mov dword [ebp - 0x184], 0x800a0bb9
lea ecx, [ebp - 0x1c4]
call fcn.1005120f
test eax, eax
je 0x1003b283
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x598
cmp eax, 0xffffffff
je 0x1004b72b
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x166009
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x166009
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
xor esi, esi
jmp 0x1003b28f
mov edx, 0x20
mov ebx, esi
movzx ecx, dx
test dx, dx
je 0x1004b76e
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
mov ecx, eax
cmp eax, 0x20
je 0x1004b756
mov dword [ebp - 0x168], ebx
lea ebx, [edi + 0x98]
mov edx, dword [ebp - 0x168]
jmp 0x1003b2a9
mov edx, dword [ebp - 0x168]
add edx, 6
mov dword [ebp - 0x168], edx
movzx eax, word [edx]
mov ecx, eax
cmp eax, 0x20
jne 0x1004b7d0
mov ebx, dword [ebp - 0x168]
mov edx, eax
movzx ecx, dx
test dx, dx
je 0x1004b7be
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
mov ecx, eax
cmp eax, 0x20
je 0x1004b7a6
mov dword [ebp - 0x168], ebx
lea ebx, [edi + 0x98]
mov edx, dword [ebp - 0x168]
lea eax, [edi + 0x98]
test cx, cx
je 0x1003b2f7
cmp cx, 0x3d
jne 0x1003b2f7
sub edx, esi
mov dword [edi + 0xc0], 2
sar edx, 1
test byte [eax + 4], 4
je 0x1004b801
mov eax, dword [eax]
jmp 0x1004b803
xor eax, eax
lea eax, [eax + edx*2]
add eax, 2
lea esi, [edi + 0xb0]
push eax
mov ecx, esi
call fcn.10050958
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1004ba37
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5a7
cmp eax, 0xffffffff
je 0x1004b868
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x169c09
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x169c09
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
xor edx, edx
jmp 0x1003b339
cmp dword [eax + 4], 0
jne 0x1003b37a
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100e52dc]
lea ecx, [edi + 0x80]
call esi
lea eax, [edi + 0x80]
jmp 0x1003b37a
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5b0
push esi
cmp eax, 0xffffffff
je 0x1004b901
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x16c009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x16c009
jmp 0x1004c5ec
test byte [edi + 0xbc], 4
je 0x1004b921
mov ecx, dword [edi + 0xb8]
jmp 0x1004b923
xor ecx, ecx
mov eax, dword [edi + 0x22c]
push edx
push 0x10008294
push ecx
mov esi, dword [eax]
push 0x17
push 0
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004ba37
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5bb
push esi
cmp eax, 0xffffffff
je 0x1004b9a0
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x16ec09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x16ec09
jmp 0x1004c5ec
test byte [ebx + 4], 4
je 0x1004b9b9
mov eax, dword [ebx]
jmp 0x1004b9bb
xor eax, eax
push eax
lea ecx, [ebp - 0x1cc]
call fcn.100dce04
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1004ba37
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5c3
cmp eax, 0xffffffff
je 0x1004ba1a
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x170c09
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x170c09
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
cmp dword [edi + 0x220], 0
lea edx, [edi + 0x220]
je 0x1003b3a8
mov dword [ebp - 0x164], 0
jmp 0x1003b3d8
test byte [0x100e4068], 2
je 0x1004bab6
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x15ba
push esi
cmp eax, 0xffffffff
je 0x1004ba9e
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x10008990
push 0x56e809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004bab6
mov eax, dword [0x100e70f0]
push 0x10008a18
push 0x56e809
push eax
call fcn.100d931d
add esp, 0x14
cmp esi, 0x80040154
jne 0x1003b3ca
test byte [0x100e4068], 2
mov esi, 0x800a0e7a
je 0x1003b3ca
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x15c4
push esi
cmp eax, 0xffffffff
je 0x1004bb13
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x10008990
push 0x571009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b3ca
push 0x10008a18
push 0x571009
jmp 0x1004bb75
test byte [0x100e4068], 2
je 0x1003b3ca
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x15be
push esi
cmp eax, 0xffffffff
je 0x1004bb6b
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x10008990
push 0x56f809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b3ca
push 0x10008a18
push 0x56f809
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b3ca
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5c8
push esi
cmp eax, 0xffffffff
je 0x1004bbd4
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x172009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x172009
jmp 0x1004c5ec
test byte [ebp - 0x1c8], 4
je 0x1003b3e6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1003b3e6
push 0
lea eax, [ebp - 0x1cc]
mov ecx, edi
push eax
push 0x3b
push 0x10008380
call fcn.100634f2
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b3e6
test byte [0x100e4068], 2
je 0x1004bdb5
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5cc
push esi
cmp eax, 0xffffffff
je 0x1004bc72
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x173009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004bdb5
push 0x1000bf20
push 0x173009
jmp 0x1004bda7
test byte [edx + 4], 4
je 0x1003b3fa
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004bc8e
sub ecx, esi
sar ecx, 1
je 0x1003b3fa
push ecx
push edx
push 0xc
push ecx
mov ecx, edi
call fcn.100633f6
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b3fa
test byte [0x100e4068], 2
je 0x1004bdb5
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5cf
push esi
cmp eax, 0xffffffff
je 0x1004bd0b
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x173c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004bdb5
push 0x1000bf20
push 0x173c09
jmp 0x1004bda7
test byte [edx + 4], 4
je 0x1003b40e
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004bd27
sub ecx, esi
sar ecx, 1
je 0x1003b40e
push ecx
push edx
push 9
push ecx
mov ecx, edi
call fcn.100633f6
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b40e
test byte [0x100e4068], 2
je 0x1004bdb5
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5d2
push esi
cmp eax, 0xffffffff
je 0x1004bd9d
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x174809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1004bdb5
push 0x1000bf20
push 0x174809
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x14
push 0x2731
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x1c4]
call fcn.1005a8f4
jmp 0x1003b555
mov eax, dword [eax + 8]
mov dword [ebp - 0x198], eax
jmp 0x1003b445
lea eax, [ebp - 0x18c]
push eax
push ecx
push 0x40
push ecx
mov ecx, edi
call fcn.1005ba45
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1003b464
mov ax, word [ebp - 0x18c]
cmp ax, 1
je 0x1004be1d
cmp ax, 2
je 0x1004be1d
cmp ax, 3
jne 0x1003b464
mov esi, dword [edi]
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x3c
mov esi, dword [esi + 0xb8]
mov ecx, esi
push 0x10008380
push edi
mov dword [ebp - 0x16c], 0
call dword [0x100e52dc]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1003b464
cmp dword [ebp - 0x16c], 0
jne 0x1003b464
call fcn.100dcc05
push 0
push eax
push 0x3c
push ecx
mov ecx, edi
mov dword [ebp - 0x16c], eax
call fcn.10063584
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b464
test byte [0x100e4068], 2
je 0x1003b464
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5e7
push esi
cmp eax, 0xffffffff
je 0x1004bedb
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x179c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b464
mov eax, dword [0x100e70f0]
push 0x1000bf20
push 0x179c09
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b464
lea esi, [edi + 0xb8]
mov ecx, edi
push esi
call fcn.1005b439
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1004bf70
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5f8
cmp eax, 0xffffffff
je 0x1004bf53
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x17e009
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x17e009
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
lea esi, [edi + 0xb0]
mov ecx, edi
push esi
lea eax, [edi + 0xb8]
push eax
call fcn.1005c061
push esi
lea ecx, [ebp - 0x1c4]
call fcn.10051098
test eax, eax
je 0x1003b47b
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x5fb
cmp eax, 0xffffffff
je 0x1004bfd6
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
push 0x1000be00
push 0x17ec09
jmp 0x1004c5ec
mov eax, dword [0x100e70f0]
push 0x1000be58
push 0x17ec09
push eax
call fcn.100d931d
add esp, 0x10
jmp 0x1003b555
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b4a2
cmp dword [edi + 0x74], 0
je 0x1004c083
jmp 0x1003b4ac
call fcn.100db444
test eax, eax
je 0x1003b4b7
mov eax, dword [edi + 0x220]
lea ecx, [ebp - 0x1d0]
push ecx
push 0x10008560
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e52dc]
call esi
test eax, eax
js 0x1004c068
mov eax, dword [edi + 0x220]
lea ecx, [ebp - 0x194]
push ecx
push 0x10035fe4
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e52dc]
call esi
test eax, eax
jns 0x1003b4b7
mov edx, dword [edi + 0x74]
mov ecx, dword [ebp - 0x190]
push 0
call fcn.100dbae2
add esp, 4
test eax, eax
je 0x1003b4b7
lea eax, [edi + 0x25c]
mov ecx, ebx
push eax
call fcn.10050fe7
mov ecx, dword [edi + 0x220]
test ecx, ecx
je 0x1004c0b5
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov dword [edi + 0x220], 0
mov ecx, dword [edi + 0x228]
test ecx, ecx
je 0x1004c0d9
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov dword [edi + 0x228], 0
mov ecx, ebx
mov byte [edi + 0xc4], 0
call fcn.10051076
test al, al
jne 0x1004c154
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x616
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004c145
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x185809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x185809
jmp 0x1004c5ec
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x800a0e84
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x619
push 0x800a0e84
cmp eax, 0xffffffff
je 0x1004c1ae
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x186409
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x186409
jmp 0x1004c5ec
mov edx, dword [ebp - 0x194]
test edx, edx
je 0x1003b4c5
cmp dword [edi + 0x70], 0
je 0x1004c258
mov eax, dword [ecx]
push dword [ebp - 0x190]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004c252
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x61f
push esi
cmp eax, 0xffffffff
je 0x1004c243
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x187c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x187c09
jmp 0x1004c5ec
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
push dword [edi + 0x78]
push edx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004c2d2
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x621
push esi
cmp eax, 0xffffffff
je 0x1004c2c3
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x188409
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x188409
jmp 0x1004c5ec
mov edx, dword [edi + 0x74]
test edx, edx
je 0x1003b4c5
mov eax, dword [ebp - 0x194]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003b4c5
test byte [0x100e4068], 2
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x624
push esi
cmp eax, 0xffffffff
je 0x1004c350
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x189009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x189009
jmp 0x1004c5ec
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b4dc
mov eax, dword [edi + 0x24c]
mov byte [edi + 0x249], 1
mov byte [edi + 0x28c], 1
test eax, eax
je 0x1004c397
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24c], 0
lea eax, [edi + 0x250]
push eax
push 0
lea eax, [edi + 0x254]
push eax
push 0x10057930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x24c], eax
test eax, eax
jne 0x1003b555
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov byte [edi + 0x249], 0
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x80004005
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x640
push 0x80004005
cmp eax, 0xffffffff
je 0x1004c435
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x190009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x190009
jmp 0x1004c5ec
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
jns 0x1004c4b0
test byte [0x100e4068], 2
je 0x1003b514
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.10050714
push 0x79a
push esi
cmp eax, 0xffffffff
je 0x1004c4a4
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x100088c8
push 0x1e6809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b514
push 0x10008930
push 0x1e6809
jmp 0x1004c50c
mov bl, 1
lea eax, [edi + 0x254]
jmp 0x1003b4fa
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.10050714
push 0x79e
push esi
cmp eax, 0xffffffff
je 0x1004c502
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x100088c8
push 0x1e7809
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b514
push 0x10008930
push 0x1e7809
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b514
mov ecx, eax
call dword [0x100e52dc]
call dword [ebp - 0x184]
jmp 0x1003b536
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1003b53e
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x648
push esi
cmp eax, 0xffffffff
je 0x1004c57c
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x192009
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x192009
jmp 0x1004c5ec
test byte [0x100e4068], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1003b555
lea ecx, [edi + 0x80]
call fcn.10050714
push 0x4e7
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004c5e2
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e70f0]
push 0x1000bea8
push 0x139c09
push eax
call fcn.100d931d
add esp, 0x18
jmp 0x1003b555
push 0x1000bf20
push 0x139c09
mov eax, dword [0x100e70f0]
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b555
push 0
push 7
push edi
lea ecx, [ebp - 0x160]
call fcn.1005481a
xor eax, eax
lea ecx, [ebp - 0x160]
cmp dword [ebp - 0x1ac], eax
push 2
setl al
inc eax
push esi
mov dword [ebp - 0x1ec], eax
call fcn.100dbf54
mov esi, dword [edi + 0x88]
mov eax, 0x4003
mov word [ebp - 0x150], ax
mov ecx, esi
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0xcc], eax
call fcn.1005145f
test eax, eax
je 0x1004c677
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1005ad2e
test eax, eax
js 0x1004c6a7
mov esi, dword [edi + 0x8c]
mov ecx, esi
call fcn.1005145f
test eax, eax
je 0x1004c6a7
lea eax, [ebp - 0x160]
mov dword [ebp - 0xc4], 1
push eax
lea eax, [ebp - 0x1e4]
mov ecx, esi
push eax
call fcn.1005ad2e
lea ecx, [ebp - 0x160]
call fcn.10054b8d
jmp 0x1003b57f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b58d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b59b
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b5a9
xor eax, eax
mov word [ebp - 0x188], ax
lea eax, [ebp - 0x188]
push eax
push ecx
push 0xb
push ecx
mov ecx, edi
call fcn.1005ba45
test eax, eax
js 0x1004c72b
cmp word [ebp - 0x188], 0
sete al
mov byte [edi + 0xc8], al
jmp 0x1003b5b6
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
jmp 0x1003b5b6
cmp dword [0x100e7208], 0
je 0x1003b5d2
push dword [ebp - 0x1ac]
lea ecx, [edi + 0x80]
call fcn.10050714
push eax
mov eax, dword [0x100e7208]
push eax
mov eax, dword [0x100e70f0]
push 0x1a2c00
push eax
call fcn.100d931d
add esp, 0x14
jmp 0x1003b5d2
cmp dword [ebp - 0x1d4], 0xffffffff
je 0x1003b5df
mov eax, dword [0x100e39a0]
cmp eax, 0xffffffff
je 0x1003b5df
mov esi, dword [0x100e3024]
lea ecx, [ebp - 0x1d4]
push ecx
push 0
push 0
push eax
mov ecx, esi
call dword [0x100e52dc]
call esi
jmp 0x1003b5df
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x1c4]
mov dword [eax + 0xc], 0
jmp 0x1003b675