Function at 0x100398f0
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 0x10043e50
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
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
test byte [0x100e5114], 4
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1d0], 0xffffffff
jne 0x10048795
cmp dword [0x100e4008], 0x100d57b0
jne 0x100487d2
test edi, edi
je 0x1004883b
lea eax, [edi + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [0x100e5110]
mov dword [ebp - 0x1a4], 0
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1a8], 0
test eax, eax
jne 0x1003a24e
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov word [ebp - 0x1b0], ax
mov byte [ebp - 0x1ae], al
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [0x100e5110]
mov dword [ebp - 0x1bc], 1
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c8], 0
mov byte [ebp - 0x1c4], 7
test esi, esi
jne 0x10048842
mov dword [ebp - 0x1a0], esi
mov al, 7
mov dword [ebp - 0x184], eax
test ebx, ebx
jne 0x10048868
mov dword [ebp - 0x19c], ebx
mov bl, 7
and al, 4
mov dword [ebp - 0x184], eax
je 0x10048894
and bl, 4
mov dword [ebp - 0x1d4], ebx
je 0x1004891f
cmp byte [edi + 0x249], 0
jne 0x100489aa
cmp byte [edi + 0xc6], 0
jne 0x10048a35
mov eax, 4
mov dword [ebp - 0x18c], 0
lea ebx, [edi + 0x29c]
mov word [ebp - 0x188], ax
push ebx
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x16d], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x190], 0
call dword [sym.imp.MSDART.DLL_UMSEnterCSWraper]
mov ecx, dword [ebp - 0x198]
add esp, 4
test ecx, ecx
je 0x10039acd
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, 0x40000
ja 0x10048acf
lea esi, [edi + 0x254]
mov dword [esi], 0
mov byte [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
jne 0x10048b64
mov dword [esi + 8], 0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x10048b79
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10048b8e
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x10048ba3
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x10048bb8
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 0x10039c90
mov eax, dword [ebx]
test eax, eax
jne 0x10048bcd
mov edx, dword [ebx + 8]
lea eax, [ebx + 8]
test edx, edx
jne 0x10048bde
mov edx, dword [ebx + 0x10]
lea eax, [ebx + 0x10]
test edx, edx
jne 0x10048bf6
mov edx, dword [ebx + 0x18]
lea eax, [ebx + 0x18]
mov dword [ebp - 0x178], edx
test edx, edx
je 0x10039c30
add ecx, 0x18
mov dword [ebp - 0x16c], ecx
cmp eax, ecx
je 0x10048c3c
mov esi, edx
lea eax, [esi + 2]
mov dword [ebp - 0x1d8], eax
jmp 0x10039bb0
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10039bb0
sub esi, dword [ebp - 0x1d8]
sar esi, 1
test byte [ecx + 4], 2
je 0x10039bd3
mov eax, dword [ecx]
test eax, eax
jne 0x10048c0e
cmp esi, 0x7ffffffd
ja 0x10048c2f
add esi, esi
lea eax, [esi + 2]
push eax
push 0xa00000
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, dword [ebp - 0x16c]
add esp, 0xc
mov edx, dword [ebp - 0x178]
mov dword [ecx], eax
test eax, eax
je 0x10048c38
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 0x10039c72
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
test eax, eax
jne 0x10048c47
xor edx, edx
test byte [esi + 4], 2
mov dword [ebp - 0x16c], edx
je 0x10039c68
mov ecx, dword [esi]
test ecx, ecx
jne 0x10048c6c
lea ecx, [edi + 0x25c]
test eax, eax
jne 0x10048c8d
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 [edi + 0x260], 4
je 0x1004a59c
test byte [edi + 0x268], 4
je 0x1004a59c
test byte [edi + 0x270], 4
je 0x1004a59c
test byte [edi + 0x278], 4
je 0x1004a59c
test byte [edi + 0x280], 4
je 0x1004a59c
cmp dword [edi + 0x220], 0
lea eax, [edi + 0x220]
jne 0x10048cfb
xor al, al
mov dword [esi], edi
mov esi, dword [ebp - 0x198]
mov byte [edi + 0xc4], al
test esi, esi
je 0x10039def
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x10039def
mov eax, dword [ebx]
test eax, eax
jne 0x10048d02
mov dword [ebx], 0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x10048d17
mov dword [ebx + 8], 0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x10048d2c
mov dword [ebx + 0x10], 0
lea ecx, [esi + 2]
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x2f], 0
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10039d50
sub esi, ecx
sar esi, 1
test byte [ebx + 4], 2
je 0x10039d6f
mov eax, dword [ebx]
test eax, eax
jne 0x10048d41
cmp esi, 0x7ffffffd
ja 0x10048d56
add esi, esi
lea eax, [esi + 2]
push eax
push 0xa00000
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
add esp, 0xc
mov dword [ebx], eax
test eax, eax
je 0x10048d5f
mov ecx, dword [ebp - 0x198]
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 0x10048d68
mov byte [edi + 0xc5], 0
mov eax, dword [edi + 0xb8]
test eax, eax
jne 0x10048de5
mov dword [edi + 0xb8], 0
mov byte [edi + 0xc8], 0
mov eax, dword [ebp - 0x1a0]
test eax, eax
jne 0x10048dfa
mov eax, dword [ebp - 0x19c]
test eax, eax
jne 0x10048e97
mov eax, dword [edi + 0x8c]
mov esi, dword [eax + 8]
test esi, esi
jg 0x10048f34
mov eax, dword [edi + 0x88]
mov esi, dword [eax + 8]
test esi, esi
jg 0x10048f66
mov edx, dword [ebp + 0x18]
cmp edx, 0xffffffff
jne 0x1004968e
mov byte [ebp - 0x16e], 0
mov dword [ebp + 0x18], edx
test byte [ebx + 4], 4
je 0x1004975c
mov esi, dword [ebx]
mov edx, esi
mov dword [ebp - 0x168], edx
test esi, esi
je 0x10039eb1
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x10049763
test cx, cx
je 0x10039eb1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x17c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039e80
sub ecx, dword [ebp - 0x17c]
sar ecx, 1
cmp ecx, 3
jbe 0x10039eb1
push 3
push 0x1000841c
push edx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x10049799
lea eax, [edi + 0x98]
mov edx, dword [eax]
test edx, edx
je 0x10049a4b
test byte [eax + 4], 4
je 0x10049a4b
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10039ed0
sub eax, esi
sar eax, 1
je 0x10049a4b
test byte [edi + 0x9c], 4
je 0x10049899
push 0x3d
push edx
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
je 0x100499c3
cmp byte [edi + 0xc5], 0
jne 0x10049a4b
cmp dword [0x100e4a80], 0xffffffff
lea eax, [edi + 0x80]
jne 0x100498a0
test byte [0x100e5114], 2
jne 0x100498a0
push dword [eax + 4]
mov ecx, ebx
push edi
call fcn.1003a740
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x100498c9
cmp dword [edi + 0x220], 0
lea edx, [edi + 0x220]
jne 0x10049924
mov ecx, edi
call fcn.1003a260
mov esi, eax
test esi, esi
js 0x10049a6d
mov ecx, edi
call fcn.1003b5b0
mov esi, eax
test esi, esi
js 0x10049b33
mov dword [ebp - 0x164], esi
test esi, esi
js 0x10049b9c
mov eax, dword [ebp - 0x1c8]
test eax, eax
jne 0x10049bf7
mov ecx, dword [edi + 0xa0]
lea edx, [edi + 0xa0]
test ecx, ecx
jne 0x10049c95
mov ecx, dword [edi + 0xa8]
lea edx, [edi + 0xa8]
test ecx, ecx
jne 0x10049d2e
cmp dword [edi + 0xc0], 1
je 0x10049df2
lea ecx, [edi + 0x10c]
mov dword [ebp - 0x194], 0
call dword [sym.imp.MSDART.DLL_public:_bool___thiscall_CReaderWriterLock3AR::ReadOrWriteLock_void_]
mov byte [ebp - 0x17c], al
mov eax, dword [edi + 0x108]
test eax, eax
jne 0x10049de4
push dword [ebp - 0x17c]
lea ecx, [edi + 0x10c]
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::ReadOrWriteUnlock_bool_]
cmp dword [ebp - 0x194], 0
jne 0x10049df2
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
cmp dword [edi + 0xc0], 1
je 0x10049f0c
mov eax, dword [edi + 0x64]
lea ecx, [edi + 0x64]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x18c]
push eax
push 0x10008600
push ecx
cmp esi, fcn.100398c0
jne 0x1004a007
call fcn.100398c0
test byte [edi + 0x78], 3
jne 0x1004a016
mov ecx, dword [edi + 0x74]
test ecx, ecx
jne 0x1004a021
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
jne 0x1004a1d1
mov eax, dword [edi]
push edi
mov esi, dword [eax + 4]
cmp esi, fcn.1003e9a0
jne 0x1004a373
call fcn.1003e9a0
test byte [ebp - 0x16e], 0x10
jne 0x1004a382
xor bl, bl
lea eax, [edi + 0x254]
cmp byte [eax + 0x38], bl
jne 0x1004a458
mov ecx, eax
call fcn.1003b050
mov esi, eax
test esi, esi
jns 0x1003a0cd
test byte [0x100e5114], 2
jne 0x1004a4d1
mov ecx, dword [edi + 0x254]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x17c], eax
cmp eax, fcn.1003bf60
jne 0x1004a533
call fcn.1003bf60
test bl, bl
jne 0x1004a546
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003a10e
test byte [0x100e5114], 2
jne 0x1004a551
lea ebx, [edi + 0x29c]
mov esi, dword [ebp - 0x164]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1a8], esi
call fcn.1003b8e0
cmp byte [ebp - 0x16d], 0
jne 0x1004a613
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
jne 0x1004a6cb
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
jne 0x1004a6e0
mov ecx, dword [ebp - 0x190]
test ecx, ecx
jne 0x1004a6f5
cmp byte [edi + 0xc6], 0
jne 0x1004a70a
mov eax, dword [ebx]
dec dword [eax + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x100e5114], 2
jne 0x1004a74e
test byte [0x100e5114], 4
jne 0x1004a78b
push dword [ebp - 0x19c]
mov edi, dword [ebp - 0x1a8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x1a0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test byte [ebp - 0x1c4], 2
je 0x1003a1cb
push dword [ebp - 0x1c8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c0]
add dword [eax + 4], 0xffffffff
jne 0x1003a22e
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1003a213
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [ebp - 0x1c0]
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 - 0x1c0]
cmp byte [eax + 0x12], 0
jne 0x1004a7c7
mov ecx, dword [0x100e5110]
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.10041550
mov esp, ebp
pop ebp
ret 0x14
inc dword [eax + 4]
jmp 0x100399e4
cmp dword [0x100e84ec], 0
je 0x1003994f
push dword [ebp + 0x18]
lea ecx, [edi + 0x80]
push esi
call fcn.1005a518
push eax
mov eax, dword [0x100e84ec]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.100d5a9e
mov eax, dword [ebp - 0x198]
add esp, 0x14
jmp 0x1003994f
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x178], 0
push ecx
push eax
push 0
mov ecx, edi
call fcn.10062e74
test byte [0x100e5114], 2
je 0x1004882a
cmp dword [0x100e820c], 0
je 0x1004882a
push dword [ebp - 0x178]
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e820c]
push eax
mov eax, dword [0x100e80f0]
push 0x12c800
push eax
call fcn.100d5b23
add esp, 0x14
push dword [ebp - 0x178]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1003995f
xor eax, eax
jmp 0x1003996a
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 - 0x1a0], eax
setne al
lea eax, [eax*4 + 3]
jmp 0x10039a05
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 - 0x19c], eax
mov eax, dword [ebp - 0x184]
setne bl
lea ebx, [ebx*4 + 3]
jmp 0x10039a1b
lea edx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x8007000e
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039a29
test byte [0x100e5114], 2
je 0x1003a18b
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4bf
cmp eax, 0xffffffff
je 0x10048902
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x12fc09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a17e
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x12fc09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a17e
lea edx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0x8007000e
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039a38
test byte [0x100e5114], 2
je 0x1003a18b
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4c0
cmp eax, 0xffffffff
je 0x1004898d
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x130009
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a17e
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x130009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a17e
lea edx, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], 0x800a0e81
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x1003a17e
test byte [0x100e5114], 2
je 0x1003a18b
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4c2
cmp eax, 0xffffffff
je 0x10048a18
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x130809
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a17e
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x130809
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a17e
lea edx, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0x800a0e79
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039a52
mov esi, dword [ebp - 0x1a8]
test esi, esi
jns 0x1003a17e
test byte [0x100e5114], 2
je 0x1003a18b
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4c3
push esi
cmp eax, 0xffffffff
je 0x10048ab2
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x130c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a17e
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x130c09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a17e
lea edx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x800a0eaa
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039acd
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x800a0eaa
je 0x1003a114
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4df
cmp eax, 0xffffffff
je 0x10048b47
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x137c09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a114
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x137c09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a114
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039ae8
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039afa
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039b0c
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039b1e
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039b30
push eax
call fcn.100ddf88
lea ecx, [edi + 0x25c]
jmp 0x10039b5f
add ecx, 8
cmp eax, ecx
je 0x10048beb
push edx
call fcn.100ddf88
lea ecx, [edi + 0x25c]
jmp 0x10039b6d
add ecx, 0x10
cmp eax, ecx
je 0x10048c03
push edx
call fcn.100ddf88
lea ecx, [edi + 0x25c]
jmp 0x10039b7b
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov ecx, dword [ebp - 0x16c]
add esp, 8
mov edx, dword [ebp - 0x178]
jmp 0x10039bd3
xor eax, eax
add esi, esi
jmp 0x10039c05
and byte [ecx + 4], 0xfb
lea ecx, [edi + 0x25c]
jmp 0x10039c30
mov edx, eax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10048c4c
mov eax, dword [ebp - 0x178]
sub edx, ecx
sar edx, 1
lea ecx, [edi + 0x25c]
jmp 0x10039c4c
push ecx
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
mov eax, dword [ebp - 0x178]
add esp, 8
mov edx, dword [ebp - 0x16c]
jmp 0x10039c62
lea ecx, [edx + edx]
mov dword [ebp - 0x16c], ecx
cmp edx, 0x7ffffffd
ja 0x10048cc0
lea eax, [ecx + 2]
push eax
push 0xa00000
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x178]
jmp 0x10048cc2
xor ecx, ecx
mov dword [esi], ecx
test ecx, ecx
jne 0x10048cce
and byte [esi + 4], 0xfb
jmp 0x10048cf0
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 0x10039c72
mov al, 1
jmp 0x10039ce6
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039d15
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039d26
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039d38
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039d6f
xor eax, eax
add esi, esi
jmp 0x10039d95
and byte [ebx + 4], 0xfb
jmp 0x10039dbc
lea edx, [ebp - 0x1f8]
mov dword [ebp - 0x1f8], 0x8007000e
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039dc9
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4f6
cmp eax, 0xffffffff
je 0x10048dc8
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x13d809
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x13d809
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
push eax
push dword [0x100e510c]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
jmp 0x10039dde
cmp byte [ebp - 0x184], 0
je 0x10039dfd
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x10039dfd
push dword [ebp - 0x1a0]
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.100ddf88
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x10039dfd
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x504
cmp eax, 0xffffffff
je 0x10048e7a
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x141009
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x141009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
cmp byte [ebp - 0x1d4], 0
je 0x10039e0b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x10039e0b
push dword [ebp - 0x19c]
lea esi, [edi + 0xa8]
mov ecx, esi
call fcn.100ddf88
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x10039e0b
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x50a
cmp eax, 0xffffffff
je 0x10048f17
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x142809
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x142809
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
xor ebx, ebx
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005a4f4
test eax, eax
je 0x10048f4c
cmp dword [eax + 8], 0
je 0x10048f4c
inc edi
inc ebx
cmp ebx, esi
jl 0x10048f3b
test edi, edi
mov edi, dword [ebp - 0x1e4]
lea ebx, [edi + 0x98]
jne 0x10048f97
jmp 0x10039e1c
xor ebx, ebx
lea ecx, [eax + 4]
xor edi, edi
push ebx
call fcn.1005a4f4
test eax, eax
je 0x10048f7e
cmp dword [eax + 8], 0
je 0x10048f7e
inc edi
inc ebx
cmp ebx, esi
jl 0x10048f6d
test edi, edi
mov edi, dword [ebp - 0x1e4]
lea ebx, [edi + 0x98]
je 0x10039e2d
test byte [ebx + 4], 4
je 0x10048fa1
mov eax, dword [ebx]
jmp 0x10048fa3
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [edi + 0xac], 4
mov dword [ebp - 0x174], eax
je 0x10048fc1
mov eax, dword [edi + 0xa8]
jmp 0x10048fc3
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [edi + 0xa4], 4
lea esi, [edi + 0xa0]
mov dword [ebp - 0x180], eax
je 0x10048fe3
mov eax, dword [esi]
jmp 0x10048fe5
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test byte [ebx + 4], 4
mov dword [ebp - 0x168], eax
je 0x10049006
cmp dword [ebx], 0
je 0x10049006
cmp dword [ebp - 0x174], 0
je 0x1004903c
test byte [edi + 0xac], 4
je 0x10049021
cmp dword [edi + 0xa8], 0
je 0x10049021
cmp dword [ebp - 0x180], 0
je 0x1004903c
test byte [esi + 4], 4
je 0x10049148
cmp dword [esi], 0
je 0x10049148
test eax, eax
jne 0x10049148
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x100490a7
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x520
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004908f
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x148009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x100490a7
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x148009
push eax
call fcn.100d5b23
add esp, 0x14
push dword [ebp - 0x174]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x180]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x168]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test byte [0x100e5114], 2
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x168], 0
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x528
push 0x8007000e
cmp eax, 0xffffffff
je 0x10049139
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x14a009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x14a009
jmp 0x1004a600
push 0
push 6
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x194], 1
call fcn.10053c5f
lea eax, [ebp - 0x174]
mov ecx, 0x4008
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x180]
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 - 0x194]
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.10056fd0
test eax, eax
je 0x1004925c
mov ecx, dword [edi + 0x88]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.10059f8c
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10049269
test byte [0x100e5114], 2
je 0x10049256
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x545
push esi
cmp eax, 0xffffffff
je 0x1004923e
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x151409
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049256
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x151409
push eax
call fcn.100d5b23
add esp, 0x14
lea esi, [edi + 0xa0]
cmp dword [ebp - 0x164], 0
jl 0x10049465
mov esi, dword [edi + 0x8c]
mov ecx, esi
call fcn.10056fd0
test eax, eax
je 0x10049303
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [ebp - 0x1e0]
mov ecx, esi
push eax
call fcn.10059f8c
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10049310
test byte [0x100e5114], 2
je 0x10049303
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x54f
push esi
cmp eax, 0xffffffff
je 0x100492eb
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x153c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049303
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x153c09
push eax
call fcn.100d5b23
add esp, 0x14
cmp dword [ebp - 0x164], 0
jl 0x1004945f
test byte [ebx + 4], 4
je 0x1004931a
mov eax, dword [ebx]
jmp 0x1004931c
xor eax, eax
mov ecx, dword [ebp - 0x174]
mov edx, ecx
push eax
call fcn.100de3d2
add esp, 4
test al, al
je 0x1004945f
push dword [ebp - 0x174]
mov ecx, ebx
call fcn.100ddf88
test byte [edi + 0x9c], 4
jne 0x10049451
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x1004936a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x10049385
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x100493a0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x180], 0
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x10049441
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x56a
push 0x8007000e
cmp eax, 0xffffffff
je 0x100493f7
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x15a809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049441
push 0x1000c1e0
push 0x15a809
jmp 0x1004940d
push 0x1000c1e0
push 0x164809
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x10049441
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x164809
push eax
call fcn.100d5b23
add esp, 0x18
lea ecx, [ebp - 0xb8]
call fcn.1005421e
jmp 0x1003a10e
mov byte [edi + 0xc5], 0
mov byte [edi + 0xc8], 0
lea esi, [edi + 0xa0]
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x10049480
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x174], 0
push dword [ebp - 0x168]
mov ecx, esi
call fcn.100ddf88
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x100494a8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x168], 0
push dword [ebp - 0x180]
lea ecx, [edi + 0xa8]
call fcn.100ddf88
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x100494d4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x180], 0
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x1004958a
test byte [0x100e5114], 2
je 0x1004957a
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x589
cmp eax, 0xffffffff
je 0x10049530
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x162409
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1004957a
push 0x1000c118
push 0x162409
jmp 0x10049546
push 0x1000c118
push 0x162809
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1004957a
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c0c0
push 0x162809
push eax
call fcn.100d5b23
add esp, 0x14
lea ecx, [ebp - 0xb8]
call fcn.1005421e
jmp 0x1003a10e
lea eax, [edi + 0xa8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x100495c4
test byte [0x100e5114], 2
je 0x1004957a
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x58a
cmp eax, 0xffffffff
je 0x1004953c
jmp 0x10049556
cmp dword [ebp - 0x1dc], 0
jne 0x100495d6
cmp dword [ebp - 0x1e0], 0
je 0x10049648
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x800a0e80
je 0x10049641
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x58f
push 0x800a0e80
cmp eax, 0xffffffff
je 0x10049629
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x163c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049641
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x163c09
push eax
call fcn.100d5b23
add esp, 0x14
mov byte [ebp - 0x16d], 1
mov esi, dword [ebp - 0x164]
test esi, esi
jns 0x1004967e
test byte [0x100e5114], 2
je 0x10049441
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x592
push esi
cmp eax, 0xffffffff
je 0x10049403
jmp 0x1004941d
lea ecx, [ebp - 0xb8]
call fcn.1005421e
jmp 0x10039e2d
mov al, dl
mov ecx, edx
and al, 0x70
shr ecx, 0xb
mov byte [ebp - 0x16e], 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 0x100496d0
mov eax, edx
and eax, 0xc80
and edx, 0xfffff36f
jne 0x100496cb
or edx, 0xffffffff
mov dword [ebp + 0x18], edx
jmp 0x100496d2
xor eax, eax
cmp edx, 0xffffffff
jne 0x100496df
test eax, eax
je 0x10039e43
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0x800a0bb9
lea ecx, [ebp - 0x1c0]
call fcn.1005038a
test eax, eax
je 0x10039e43
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x598
cmp eax, 0xffffffff
je 0x1004973f
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x166009
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x166009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
xor esi, esi
jmp 0x10039e4f
mov edx, 0x20
mov ebx, esi
movzx ecx, dx
test dx, dx
je 0x10049782
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
mov ecx, eax
cmp eax, 0x20
je 0x1004976a
mov dword [ebp - 0x168], ebx
lea ebx, [edi + 0x98]
mov edx, dword [ebp - 0x168]
jmp 0x10039e69
mov edx, dword [ebp - 0x168]
add edx, 6
mov dword [ebp - 0x168], edx
movzx eax, word [edx]
mov ecx, eax
cmp eax, 0x20
jne 0x100497e4
mov ebx, dword [ebp - 0x168]
mov edx, eax
movzx ecx, dx
test dx, dx
je 0x100497d2
movzx eax, word [ebx + 2]
add ebx, 2
mov edx, eax
mov ecx, eax
cmp eax, 0x20
je 0x100497ba
mov dword [ebp - 0x168], ebx
lea ebx, [edi + 0x98]
mov edx, dword [ebp - 0x168]
lea eax, [edi + 0x98]
test cx, cx
je 0x10039eb7
cmp cx, 0x3d
jne 0x10039eb7
sub edx, esi
mov dword [edi + 0xc0], 2
sar edx, 1
test byte [eax + 4], 4
je 0x10049815
mov eax, dword [eax]
jmp 0x10049817
xor eax, eax
lea eax, [eax + edx*2]
add eax, 2
lea esi, [edi + 0xb0]
push eax
mov ecx, esi
call fcn.100ddf88
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x10049a4b
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5a7
cmp eax, 0xffffffff
je 0x1004987c
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x169c09
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x169c09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
xor edx, edx
jmp 0x10039ef2
cmp dword [eax + 4], 0
jne 0x10039f33
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100e6364]
lea ecx, [edi + 0x80]
call esi
lea eax, [edi + 0x80]
jmp 0x10039f33
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5b0
push esi
cmp eax, 0xffffffff
je 0x10049915
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x16c009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x16c009
jmp 0x1004a600
test byte [edi + 0xbc], 4
je 0x10049935
mov ecx, dword [edi + 0xb8]
jmp 0x10049937
xor ecx, ecx
mov eax, dword [edi + 0x22c]
push edx
push 0x10008424
push ecx
mov esi, dword [eax]
push 0x17
push 0
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10049a4b
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5bb
push esi
cmp eax, 0xffffffff
je 0x100499b4
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x16ec09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x16ec09
jmp 0x1004a600
test byte [ebx + 4], 4
je 0x100499cd
mov eax, dword [ebx]
jmp 0x100499cf
xor eax, eax
push eax
lea ecx, [ebp - 0x1c8]
call fcn.100de049
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x10049a4b
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5c3
cmp eax, 0xffffffff
je 0x10049a2e
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x170c09
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x170c09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
cmp dword [edi + 0x220], 0
lea edx, [edi + 0x220]
je 0x10039f61
mov dword [ebp - 0x164], 0
jmp 0x10039f91
test byte [0x100e5114], 2
je 0x10049aca
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x15ba
push esi
cmp eax, 0xffffffff
je 0x10049ab2
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x10008b00
push 0x56e809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049aca
mov eax, dword [0x100e80f0]
push 0x10008b88
push 0x56e809
push eax
call fcn.100d5b23
add esp, 0x14
cmp esi, 0x80040154
jne 0x10039f83
test byte [0x100e5114], 2
mov esi, 0x800a0e7a
je 0x10039f83
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x15c4
push esi
cmp eax, 0xffffffff
je 0x10049b27
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x10008b00
push 0x571009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10039f83
push 0x10008b88
push 0x571009
jmp 0x10049b89
test byte [0x100e5114], 2
je 0x10039f83
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x15be
push esi
cmp eax, 0xffffffff
je 0x10049b7f
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x10008b00
push 0x56f809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10039f83
push 0x10008b88
push 0x56f809
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x10039f83
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5c8
push esi
cmp eax, 0xffffffff
je 0x10049be8
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x172009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x172009
jmp 0x1004a600
test byte [ebp - 0x1c4], 4
je 0x10039f9f
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x10039f9f
push 0
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
push 0x3b
push 0x10008468
call fcn.10062bb8
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10039f9f
test byte [0x100e5114], 2
je 0x10049dc9
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5cc
push esi
cmp eax, 0xffffffff
je 0x10049c86
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x173009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049dc9
push 0x1000c1e0
push 0x173009
jmp 0x10049dbb
test byte [edx + 4], 4
je 0x10039fb3
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10049ca2
sub ecx, esi
sar ecx, 1
je 0x10039fb3
push ecx
push edx
push 0xc
push ecx
mov ecx, edi
call fcn.10062ac5
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10039fb3
test byte [0x100e5114], 2
je 0x10049dc9
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5cf
push esi
cmp eax, 0xffffffff
je 0x10049d1f
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x173c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049dc9
push 0x1000c1e0
push 0x173c09
jmp 0x10049dbb
test byte [edx + 4], 4
je 0x10039fc7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10049d3b
sub ecx, esi
sar ecx, 1
je 0x10039fc7
push ecx
push edx
push 9
push ecx
mov ecx, edi
call fcn.10062ac5
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x10039fc7
test byte [0x100e5114], 2
je 0x10049dc9
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5d2
push esi
cmp eax, 0xffffffff
je 0x10049db1
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x174809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x10049dc9
push 0x1000c1e0
push 0x174809
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x14
push 0x2731
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x1c0]
call fcn.10059db0
jmp 0x1003a10e
mov eax, dword [eax + 8]
mov dword [ebp - 0x194], eax
jmp 0x10039ffe
lea eax, [ebp - 0x188]
push eax
push ecx
push 0x40
push ecx
mov ecx, edi
call fcn.1005aeab
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1003a01d
mov ax, word [ebp - 0x188]
cmp ax, 1
je 0x10049e31
cmp ax, 2
je 0x10049e31
cmp ax, 3
jne 0x1003a01d
mov esi, dword [edi]
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x3c
mov esi, dword [esi + 0xb8]
mov ecx, esi
push 0x10008468
push edi
mov dword [ebp - 0x16c], 0
call dword [0x100e6364]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
js 0x1003a01d
cmp dword [ebp - 0x16c], 0
jne 0x1003a01d
call fcn.100ddcb8
push 0
push eax
push 0x3c
push ecx
mov ecx, edi
mov dword [ebp - 0x16c], eax
call fcn.10062c42
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003a01d
test byte [0x100e5114], 2
je 0x1003a01d
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5e7
push esi
cmp eax, 0xffffffff
je 0x10049eef
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x179c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a01d
mov eax, dword [0x100e80f0]
push 0x1000c1e0
push 0x179c09
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a01d
lea esi, [edi + 0xb8]
mov ecx, edi
push esi
call fcn.1005a8c2
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x10049f84
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5f8
cmp eax, 0xffffffff
je 0x10049f67
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x17e009
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x17e009
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
lea esi, [edi + 0xb0]
mov ecx, edi
push esi
lea eax, [edi + 0xb8]
push eax
call fcn.1005b4fa
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10063154
test eax, eax
je 0x1003a034
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x5fb
cmp eax, 0xffffffff
je 0x10049fea
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
push 0x1000c0c0
push 0x17ec09
jmp 0x1004a600
mov eax, dword [0x100e80f0]
push 0x1000c118
push 0x17ec09
push eax
call fcn.100d5b23
add esp, 0x10
jmp 0x1003a10e
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a05b
cmp dword [edi + 0x74], 0
je 0x1004a097
jmp 0x1003a065
call fcn.100d96fb
test eax, eax
je 0x1003a070
mov eax, dword [edi + 0x220]
lea ecx, [ebp - 0x1cc]
push ecx
push 0x100086d0
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
test eax, eax
js 0x1004a07c
mov eax, dword [edi + 0x220]
lea ecx, [ebp - 0x190]
push ecx
push 0x100361c4
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x100e6364]
call esi
test eax, eax
jns 0x1003a070
mov edx, dword [edi + 0x74]
mov ecx, dword [ebp - 0x18c]
push 0
call fcn.100db212
add esp, 4
test eax, eax
je 0x1003a070
lea eax, [edi + 0x25c]
mov ecx, ebx
push eax
call fcn.100d62b4
mov ecx, dword [edi + 0x220]
test ecx, ecx
je 0x1004a0c9
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 0x1004a0ed
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, ebx
mov byte [edi + 0xc4], 0
call fcn.100d9785
test al, al
jne 0x1004a168
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x616
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004a159
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x185809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x185809
jmp 0x1004a600
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x800a0e84
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x619
push 0x800a0e84
cmp eax, 0xffffffff
je 0x1004a1c2
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x186409
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x186409
jmp 0x1004a600
mov edx, dword [ebp - 0x190]
test edx, edx
je 0x1003a07e
cmp dword [edi + 0x70], 0
je 0x1004a26c
mov eax, dword [ecx]
push dword [ebp - 0x18c]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004a266
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x61f
push esi
cmp eax, 0xffffffff
je 0x1004a257
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x187c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x187c09
jmp 0x1004a600
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
push dword [edi + 0x78]
push edx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1004a2e6
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x621
push esi
cmp eax, 0xffffffff
je 0x1004a2d7
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x188409
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x188409
jmp 0x1004a600
mov edx, dword [edi + 0x74]
test edx, edx
je 0x1003a07e
mov eax, dword [ebp - 0x190]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100e6364]
call esi
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
jns 0x1003a07e
test byte [0x100e5114], 2
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x624
push esi
cmp eax, 0xffffffff
je 0x1004a364
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x189009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x189009
jmp 0x1004a600
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a095
mov eax, dword [edi + 0x24c]
mov byte [edi + 0x249], 1
mov byte [edi + 0x28c], 1
test eax, eax
je 0x1004a3ab
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 0x10056ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x24c], eax
test eax, eax
jne 0x1003a10e
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov byte [edi + 0x249], 0
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x80004005
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x640
push 0x80004005
cmp eax, 0xffffffff
je 0x1004a449
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x190009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x190009
jmp 0x1004a600
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
jns 0x1004a4c4
test byte [0x100e5114], 2
je 0x1003a0cd
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.1005a518
push 0x79a
push esi
cmp eax, 0xffffffff
je 0x1004a4b8
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x10008a38
push 0x1e6809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a0cd
push 0x10008aa0
push 0x1e6809
jmp 0x1004a520
mov bl, 1
lea eax, [edi + 0x254]
jmp 0x1003a0b3
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.1005a518
push 0x79e
push esi
cmp eax, 0xffffffff
je 0x1004a516
mov ecx, dword [edi + 0x254]
sub ecx, 0xffffff80
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x10008a38
push 0x1e7809
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a0cd
push 0x10008aa0
push 0x1e7809
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a0cd
mov ecx, eax
call dword [0x100e6364]
call dword [ebp - 0x17c]
jmp 0x1003a0ef
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1003a0f7
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x648
push esi
cmp eax, 0xffffffff
je 0x1004a590
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x192009
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x192009
jmp 0x1004a600
test byte [0x100e5114], 2
mov dword [ebp - 0x164], 0x8007000e
je 0x1003a10e
lea ecx, [edi + 0x80]
call fcn.1005a518
push 0x4e7
push 0x8007000e
cmp eax, 0xffffffff
je 0x1004a5f6
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e80f0]
push 0x1000c168
push 0x139c09
push eax
call fcn.100d5b23
add esp, 0x18
jmp 0x1003a10e
push 0x1000c1e0
push 0x139c09
mov eax, dword [0x100e80f0]
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a10e
push 0
push 7
push edi
lea ecx, [ebp - 0x160]
call fcn.10053c5f
xor eax, eax
lea ecx, [ebp - 0x160]
cmp dword [ebp - 0x1a8], eax
push 2
setl al
inc eax
push esi
mov dword [ebp - 0x1e8], eax
call fcn.100db843
mov esi, dword [edi + 0x88]
mov eax, 0x4003
mov word [ebp - 0x150], ax
mov ecx, esi
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0xcc], eax
call fcn.10056fd0
test eax, eax
je 0x1004a68b
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.10059f8c
test eax, eax
js 0x1004a6bb
mov esi, dword [edi + 0x8c]
mov ecx, esi
call fcn.10056fd0
test eax, eax
je 0x1004a6bb
lea eax, [ebp - 0x160]
mov dword [ebp - 0xc4], 1
push eax
lea eax, [ebp - 0x1e0]
mov ecx, esi
push eax
call fcn.10059f8c
lea ecx, [ebp - 0x160]
call fcn.1005421e
jmp 0x1003a138
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a146
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a154
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a162
xor eax, eax
mov word [ebp - 0x184], ax
lea eax, [ebp - 0x184]
push eax
push ecx
push 0xb
push ecx
mov ecx, edi
call fcn.1005aeab
test eax, eax
js 0x1004a73f
cmp word [ebp - 0x184], 0
sete al
mov byte [edi + 0xc8], al
jmp 0x1003a16f
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
jmp 0x1003a16f
cmp dword [0x100e8208], 0
je 0x1003a18b
push dword [ebp - 0x1a8]
lea ecx, [edi + 0x80]
call fcn.1005a518
push eax
mov eax, dword [0x100e8208]
push eax
mov eax, dword [0x100e80f0]
push 0x1a2c00
push eax
call fcn.100d5b23
add esp, 0x14
jmp 0x1003a18b
cmp dword [ebp - 0x1d0], 0xffffffff
je 0x1003a198
mov eax, dword [0x100e4a80]
cmp eax, 0xffffffff
je 0x1003a198
mov esi, dword [0x100e4024]
lea ecx, [ebp - 0x1d0]
push ecx
push 0
push 0
push eax
mov ecx, esi
call dword [0x100e6364]
call esi
jmp 0x1003a198
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x1c0]
mov dword [eax + 0xc], 0
jmp 0x1003a22e