Function at 0x1001d220
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ea0e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
test edi, edi
je 0x1001d41d
cmp dword [edi + 8], 0
je 0x1001d41d
mov eax, dword [esi + 0x40]
lea edx, [ebp - 0x14]
push edx
push 0x1009e634
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x1001d428
xorps xmm0, xmm0
lea eax, [esi + 0x50]
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call fcn.100264e0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
cmp eax, dword [ebp + 0xc]
jne 0x1001d3a2
mov edi, dword [edi + 8]
mov eax, dword [esi + 0x4c]
cmp edi, eax
je 0x1001d2e4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x1001d2dd
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x1001d2e4
push 0x8007000e
call fcn.10004710
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 0x40]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
test eax, eax
js 0x1001d39b
push 6
push str.about:
push dword [esi + 0x4c]
call fcn.10070499
add esp, 0xc
test eax, eax
je 0x1001d39b
push 0x508
call fcn.1004ecd6
mov edi, eax
add esp, 4
test edi, edi
je 0x1001d39b
push 0x508
push 0
push edi
call fcn.10064410
add esp, 0xc
mov dword [edi], 0
push dword [esi + 0x4c]
call fcn.1004e850
mov ebx, eax
test ebx, ebx
je 0x1001d35f
push ebx
lea ecx, [edi + 4]
push 0x400
push ecx
call fcn.1004c1e0
add esp, 0xc
push 0
push 0
push edi
push 0x1001d940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1001d380
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001d38e
push 0x508
push edi
call fcn.1004f361
add esp, 8
test ebx, ebx
je 0x1001d39b
push ebx
call fcn.1004f056
add esp, 4
mov dword [esi + 0x48], 0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 4], 1
je 0x1001d414
mov ecx, dword [ebp - 0x20]
mov eax, SysReAllocStringLen
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x1001d414
cmp eax, 0x80000000
jle 0x1001d414
lock bts dword [ecx], 0x1e
jb 0x1001d414
mov esi, dword [ecx + 4]
lea edi, [ecx + 4]
test esi, esi
jne 0x1001d40d
push esi
push esi
call fcn.100230c0
mov edx, eax
add esp, 8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
je 0x1001d40b
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
jmp 0x1001d428
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
jmp 0x1001d428
push str.OnDocumentComplete:_url_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001d435
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
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.1004ebbb
mov esp, ebp
pop ebp
ret 0xc