Function at 0x413d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4821f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov esi, ecx
call fcn.004136d0
push 4
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x30], ebx
call fcn.00407ae0
mov eax, dword [eax]
push str.HTML
push eax
call fcn.0044b736
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 8
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413dee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp edi, ebx
jne 0x413ff0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00413870
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
mov dword [esp + 0x28], 1
jl 0x413e83
push str.shdoclc.dll_
push eax
call fcn.0044bb9e
add esp, 8
cmp eax, ebx
je 0x413e83
mov ecx, dword [esp + 0x10]
sub eax, ecx
cmp eax, ebx
jle 0x413e83
lea eax, [ecx - 0x10]
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x413e6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004137a0
lea ebp, [esi + 0xbc]
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 2
call fcn.00401900
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ec5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x10]
lea edi, [esi + 0xc0]
push eax
mov ecx, edi
call fcn.00401900
mov ebp, dword [ebp]
mov eax, dword [edi]
push ebp
push eax
mov ecx, 0x4ae208
call fcn.0042ace0
mov ecx, dword [0x4adff4]
lea edx, [esp + 0x10]
mov dword [ecx + 0x125c], 1
push edx
mov ecx, 0x4ae188
call fcn.00410220
mov dword [esi + 0xd4], eax
mov eax, dword [0x4adff4]
mov dword [eax + 0x125c], ebx
cmp dword [esi + 0xa4], ebx
je 0x413fca
push ebx
mov dword [esi + 0xa4], ebx
mov eax, dword [0x4adff4]
mov ecx, dword [eax + 0x52c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x406
push ecx
call ebx
push eax
call fcn.00463d39
xor esi, esi
push esi
push esi
mov ebp, eax
mov edx, dword [ebp + 0x1c]
push 0x146
push edx
call ebx
test eax, eax
jle 0x413f9f
mov ecx, dword [0x4adff4]
lea eax, [esp + 0x10]
push eax
push esi
add ecx, 0x510
call fcn.00404d60
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0044b736
add esp, 8
test eax, eax
je 0x413fca
mov edx, dword [ebp + 0x1c]
push 0
push 0
push 0x146
push edx
inc esi
call ebx
cmp esi, eax
jl 0x413f60
mov edi, dword [edi]
mov ecx, dword [0x4adff4]
push 0
push 0
push edi
push 0
add ecx, 0x510
call fcn.00404960
mov ecx, dword [0x4adff4]
add ecx, 0x510
call fcn.004024a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413ff0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret