Function at 0x5c1570
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x3034
call fcn.00660af0
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x302c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call fcn.005c1440
mov eax, dword [edi + 0x53c]
mov ebx, dword [eax]
mov esi, dword [edi + 0x528]
lea esp, [esp]
mov ebp, dword [edi + 0x53c]
mov eax, dword [edi + 0x528]
test esi, esi
je 0x5c15c4
cmp esi, eax
je 0x5c15c9
call fcn.006441b7
cmp ebx, ebp
je 0x5c1626
test esi, esi
jne 0x5c161e
call fcn.006441b7
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x5c15e2
call fcn.006441b7
cmp byte [ebx + 0x30], 0
lea eax, [ebx + 8]
je 0x5c1605
cmp dword [eax], 1
jne 0x5c1605
cmp byte [eax + 0x29], 0
je 0x5c1601
cmp dword [esp + 0x10], 0
jne 0x5c1601
mov dword [esp + 0x10], eax
inc dword [esp + 0x14]
test esi, esi
jne 0x5c1622
call fcn.006441b7
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x5c161a
call fcn.006441b7
mov ebx, dword [ebx]
jmp 0x5c15b0
mov eax, dword [esi]
jmp 0x5c15d8
mov eax, dword [esi]
jmp 0x5c1610
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x5c16e4
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x5c18c7
call fcn.00437c00
cdq
idiv esi
mov ecx, dword [edi + 0x53c]
mov eax, dword [ecx]
mov esi, dword [edi + 0x528]
mov ebx, eax
mov dword [esp + 0x14], edx
lea ebx, [ebx]
mov ebp, dword [edi + 0x53c]
mov eax, dword [edi + 0x528]
test esi, esi
je 0x5c1674
cmp esi, eax
je 0x5c1679
call fcn.006441b7
cmp ebx, ebp
je 0x5c16d4
test esi, esi
jne 0x5c16cc
call fcn.006441b7
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x5c1692
call fcn.006441b7
cmp byte [ebx + 0x30], 0
lea eax, [ebx + 8]
mov dword [esp + 0x10], eax
je 0x5c16b3
cmp dword [eax], 1
jne 0x5c16b3
mov ecx, dword [esp + 0x14]
mov edx, ecx
dec ecx
mov dword [esp + 0x14], ecx
test edx, edx
je 0x5c16d8
test esi, esi
jne 0x5c16d0
call fcn.006441b7
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x5c16c8
call fcn.006441b7
mov ebx, dword [ebx]
jmp 0x5c1660
mov eax, dword [esi]
jmp 0x5c1688
mov eax, dword [esi]
jmp 0x5c16be
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5c18c7
mov ebx, dword [esp + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x5c18c3
lea eax, [esp + 0x10]
push eax
push 0x79d38c
push 0x15
xor ebp, ebp
push ebp
push 0x79d39c
mov dword [esp + 0x24], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x5c18c3
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push ebp
push 0x82ca0000
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc4]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xbc]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x118]
push ebp
push eax
call edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
sub edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
sub edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov ecx, dword [str.file:__]
mov edx, dword [0x826194]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c17d6
sub eax, ecx
lea eax, [esp + eax + 0x38]
push 0x1000
push eax
call fcn.006494c6
lea edi, [esp + 0x40]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5c17f6
mov cx, word [0x81d740]
lea eax, [ebx + 0xc]
mov word [edi], cx
call fcn.0041bc30
cmp dword [eax + 0x18], 0x10
jb 0x5c181b
mov eax, dword [eax + 4]
jmp 0x5c181e
add eax, 4
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c1820
lea edi, [esp + 0x38]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x5c1830
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
push 0x1000
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1040]
xor edx, edx
push ecx
mov word [esp + 0x34], dx
call fcn.0064852c
add esp, 0xc
lea edx, [esp + 0x1038]
push edx
call dword [sym.imp.oleaut32.dll_SysAllocString]
lea edx, [esp + 0x28]
push edx
push edx
push edx
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x2c]
call eax
push esi
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebx + 0x29], 0
mov ecx, dword [esp + 0x303c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00643db8
add esp, 0x3034
ret