Function at 0x10051f40
Capabilities:
Access peb ldr_data
Get http document via iwebbrowser2
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100946e6
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100bbef4]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x14]
push eax
call fcn.10046f90
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov ecx, dword [eax]
push ebx
push ebp
push edi
push esi
push ecx
push str.____s__d___s___d__d
call fcn.100405b0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x1c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10051fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x100be8ec], 0
jne 0x100522e2
mov eax, dword [0x100be8e0]
test eax, eax
mov dword [esp + 0x14], eax
je 0x10051ff3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x10040550
push 0x10040530
push 4
push 0x10
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xa8], 2
call fcn.10074131
mov word [esp + 0x20], 3
mov dword [esp + 0x28], esi
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x9c], 4
call ebx
test eax, eax
jge 0x10052061
push eax
mov word [esp + 0x80], 0xa
mov dword [esp + 0x88], eax
call fcn.10001020
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x98], 3
call esi
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x24], 0
call esi
push edi
mov word [esp + 0x24], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x100520b7
test edi, edi
je 0x100520b7
push 0x8007000e
mov word [esp + 0x24], 0xa
mov dword [esp + 0x2c], 0x8007000e
call fcn.10001020
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x9c], 5
call ebx
test eax, eax
jge 0x100520e0
push eax
mov word [esp + 0x70], 0xa
mov dword [esp + 0x78], eax
call fcn.10001020
lea edx, [esp + 0x20]
push edx
call esi
mov word [esp + 0x20], 3
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x9c], 6
call ebx
test eax, eax
jge 0x1005211b
push eax
mov word [esp + 0x60], 0xa
mov dword [esp + 0x68], eax
call fcn.10001020
lea edx, [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0xac]
mov word [esp + 0x20], 3
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x9c], 7
call ebx
test eax, eax
jge 0x1005215d
push eax
mov word [esp + 0x50], 0xa
mov dword [esp + 0x58], eax
call fcn.10001020
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x98], 3
call esi
lea ecx, [esp + 0x18]
push ecx
call fcn.10046f90
mov eax, dword [eax]
add esp, 4
lea edx, [esp + 0x30]
push edx
push 4
lea ecx, [esp + 0x54]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.100404b0
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100521b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jl 0x1005226e
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10003640
mov edx, dword [eax]
push edx
push 0x100a2b70
call fcn.100405b0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100521fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x9c]
push ecx
mov ecx, ebx
call fcn.10003640
push 0x10040550
push 4
push 0x10
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xa4], 2
call fcn.100741f4
lea eax, [esp + 0x30]
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x94], 0
je 0x10052247
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 0xfffffff0
mov dword [esp + 0x94], ebp
lea eax, [edi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x10052267
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
jmp 0x10052465
mov ebx, dword [esp + 0x9c]
push 0x100990d0
mov ecx, ebx
call fcn.10003640
push 0x10040550
push 4
push 0x10
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xa4], 2
call fcn.100741f4
lea edx, [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x94], 0
je 0x100522bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 0xfffffff0
mov dword [esp + 0x94], ebp
lea eax, [edi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x10052267
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, ebx
jmp 0x10052465
mov eax, dword [0x100c0a1c]
test eax, eax
jne 0x10052306
mov esi, dword [esp + 0x9c]
push 0x100990d0
mov ecx, esi
call fcn.10003640
add edi, 0xfffffff0
jmp 0x10052443
cmp dword [0x100c08f0], 0
mov ecx, dword [0x100c08f8]
push ebx
push ebp
je 0x10052373
mov edx, dword [0x100c08f4]
push edi
push esi
add eax, ecx
push edx
call eax
mov esi, eax
push esi
push 0x100a2b70
call fcn.100405b0
add esp, 8
push esi
mov esi, dword [esp + 0xa0]
mov ecx, esi
call fcn.10003640
lea eax, [edi - 0x10]
mov dword [esp + 0x94], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10052463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10052463
add ecx, eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push edi
mov dword [esp + 0x28], ecx
call fcn.100012d0
lea edx, [esp + 0x40]
add esp, 4
add eax, 0x10
push edx
mov dword [ebp], eax
call fcn.10043fb0
add esp, 8
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9c], 8
jb 0x100523b6
mov eax, dword [eax + 4]
jmp 0x100523b9
add eax, 4
push eax
mov eax, dword [0x100c08f4]
push esi
push eax
call dword [esp + 0x2c]
cmp dword [esp + 0x48], ebx
mov esi, eax
mov byte [esp + 0x94], 0
jb 0x100523e2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10060bb8
add esp, 4
lea edx, [esp + 0x18]
push esi
push edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.10044630
mov eax, dword [eax]
push eax
push 0x100a2b70
call fcn.100405b0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10052432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov esi, dword [esp + 0xa0]
push esi
call fcn.10044630
add esp, 8
or edx, 0xffffffff
lea ecx, [edi + 0xc]
mov dword [esp + 0x94], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10052463
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret