Function at 0x478ed0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3028
call fcn.00529100
mov eax, dword [0x58becc]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ecx
xor edi, edi
xor ebx, ebx
call fcn.00478e30
mov eax, dword [esi + 0x518]
test eax, eax
jne 0x478f04
xor ecx, ecx
jmp 0x478f06
mov ecx, dword [eax]
mov edx, dword [esi + 0x518]
cmp ecx, edx
je 0x479151
cmp byte [ecx + 0x20], 0
lea eax, [ecx + 8]
je 0x478f2f
cmp dword [eax], 1
jne 0x478f2f
cmp byte [eax + 0x19], 0
je 0x478f2e
test ebx, ebx
jne 0x478f2e
mov ebx, eax
inc edi
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x478f14
test ebx, ebx
jne 0x478f7f
test edi, edi
jle 0x479151
call fcn.00477120
cdq
idiv edi
mov eax, dword [esi + 0x518]
test eax, eax
je 0x478f55
mov eax, dword [eax]
mov esi, dword [esi + 0x518]
cmp eax, esi
je 0x479151
mov cl, byte [eax + 0x20]
test cl, cl
lea ebx, [eax + 8]
je 0x478f79
cmp dword [ebx], 1
jne 0x478f79
mov ecx, edx
dec edx
test ecx, ecx
je 0x478f7f
mov eax, dword [eax]
cmp eax, esi
jne 0x478f63
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x47914d
lea edx, [ebp - 8]
push edx
push 0x5734dc
push 0x15
xor esi, esi
push esi
push 0x5734cc
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47914d
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
push esi
push 0x82ca0000
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x110]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xc4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xbc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x118]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x68]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x70]
mov eax, dword [0x5580f8]
mov edx, dword [str.file:__]
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1028], edx
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x479060
sub eax, ecx
lea ecx, [ebp + eax - 0x1028]
push 0x1000
push ecx
call fcn.0052a6b9
lea edi, [ebp - 0x1028]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x479085
mov eax, dword [ebx + 0x10]
test eax, eax
mov dx, word [0x55734c]
mov word [edi], dx
je 0x4790a0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0x10
jb 0x4790ab
mov eax, dword [eax + 0xc]
jmp 0x4790ae
add eax, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4790b0
lea edi, [ebp - 0x1028]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4790c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov dword [ebp - 0x16], eax
push 0x1000
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x12], eax
push ecx
lea edx, [ebp - 0x3028]
mov dword [ebp - 0xe], eax
push edx
mov word [ebp - 0x18], 0
mov word [ebp - 0xa], ax
call fcn.0052a569
add esp, 0xc
lea eax, [ebp - 0x3028]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [ebx + 0x19], 0
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.00528d83
mov esp, ebp
pop ebp
ret