Function at 0x4827e0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3028
call fcn.004e2130
mov eax, dword [0x532ae0]
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.00482740
mov eax, dword [esi + 0x514]
test eax, eax
jne 0x482814
xor ecx, ecx
jmp 0x482816
mov ecx, dword [eax]
mov edx, dword [esi + 0x514]
cmp ecx, edx
je 0x482a61
cmp byte [ecx + 0x20], 0
lea eax, [ecx + 8]
je 0x48283f
cmp dword [eax], 1
jne 0x48283f
cmp byte [eax + 0x19], 0
je 0x48283e
test ebx, ebx
jne 0x48283e
mov ebx, eax
inc edi
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x482824
test ebx, ebx
jne 0x48288f
test edi, edi
jle 0x482a61
call fcn.00481ba0
cdq
idiv edi
mov eax, dword [esi + 0x514]
test eax, eax
je 0x482865
mov eax, dword [eax]
mov esi, dword [esi + 0x514]
cmp eax, esi
je 0x482a61
mov cl, byte [eax + 0x20]
test cl, cl
lea ebx, [eax + 8]
je 0x482889
cmp dword [ebx], 1
jne 0x482889
mov ecx, edx
dec edx
test ecx, ecx
je 0x48288f
mov eax, dword [eax]
cmp eax, esi
jne 0x482873
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x482a5d
lea edx, [ebp - 8]
push edx
push 0x51e6f4
push 5
xor esi, esi
push esi
push 0x51e6e4
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x482a5d
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 [0x506470]
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 0x482970
sub eax, ecx
lea ecx, [ebp + eax - 0x1028]
push 0x1000
push ecx
call fcn.004e47dd
lea edi, [ebp - 0x1028]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x482995
mov eax, dword [ebx + 0x10]
test eax, eax
mov dx, word [0x504804]
mov word [edi], dx
je 0x4829b0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0x10
jb 0x4829bb
mov eax, dword [eax + 0xc]
jmp 0x4829be
add eax, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4829c0
lea edi, [ebp - 0x1028]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4829d0
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.004e468d
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.004e19df
mov esp, ebp
pop ebp
ret