Function at 0x4ad0d0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x525b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [esp + 0x78]
xor ebp, ebp
cmp eax, ebp
je 0x4ad244
mov dword [edi + 8], eax
mov al, byte [esp + 0x84]
mov byte [edi + 0x18], 0
mov byte [edi + 0x10], al
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4ad124
sub eax, edx
sar eax, 1
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ae61a
mov edx, eax
add esp, 4
mov dword [edi + 0xc], eax
mov ecx, esi
sub edx, esi
jmp 0x4ad160
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
cmp ax, bp
jne 0x4ad160
push 0x30
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.004e03d0
mov ecx, dword [esp + 0x88]
add esp, 0xc
push ebp
mov dword [esp + 0x3c], 0x30
mov dword [esp + 0x40], 0x83
mov dword [esp + 0x44], ecx
call dword [0x57649c]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], esi
call dword [0x576528]
test ax, ax
je 0x4ad244
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x60]
push ebp
mov esi, dword [0x5764ec]
push ebp
push ebp
push eax
push ebx
push 0x2bc
push ebp
push ebp
push 0x40000000
push 0x5430d0
push ecx
push ebp
call esi
cmp eax, ebp
mov dword [edi + 4], eax
je 0x4ad244
push edi
push 0xffffffffffffffeb
push eax
call dword [0x576534]
cmp byte [esp + 0x80], 0
je 0x4ad298
mov edx, dword [edi + 8]
push ebp
push ebp
push ebp
push edx
push 0x12
lea eax, [ebx - 0x12]
cdq
push 0x12c
sub eax, edx
sar eax, 1
push eax
push 0xc8
push 0x40000000
push ebp
push 0x5437b0
push ebp
call esi
cmp eax, ebp
mov dword [edi], eax
jne 0x4ad25b
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], ebp
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18
mov esi, dword [0x57652c]
push 0x460000
push ebp
push 0x401
push eax
call esi
mov ecx, dword [edi]
push ebp
push 1
push 0x404
push ecx
call esi
mov edx, dword [edi]
push 0x2a487a
push ebp
push 0x409
push edx
call esi
mov eax, dword [edi]
push ebp
push ebp
push 0x2001
push eax
call esi
push ebp
mov byte [esp + 0x88], 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x4ad519
lea ebx, [edi + 0x14]
push ebx
push 0x5375c8
push 0x17
push ebp
push 0x5375b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4ad519
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
push 0x537538
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4ad519
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x537518
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4ad519
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x14
call fcn.004e0321
add esp, 4
mov dword [esp + 0x80], eax
cmp eax, ebp
mov dword [esp + 0x70], ebp
je 0x4ad348
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 4]
push edx
push ecx
mov esi, eax
call fcn.004acdc0
mov esi, eax
jmp 0x4ad34a
xor esi, esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push edx
push ebp
push esi
push ebp
push 0xfffffffffffffffb
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x4ad3c1
mov eax, dword [ebx]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x60]
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
sub edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
sub edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
mov eax, dword [ebx]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], ebp
mov ecx, dword [eax]
push 0x537568
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4ad452
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x84], ebp
mov ecx, dword [eax]
push 0x5375d8
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4ad446
push 8
call fcn.004e0321
add esp, 4
cmp eax, ebp
je 0x4ad419
mov dword [eax], vtable.DWebBrowserEventsImpl.0
mov dword [eax + 4], edi
jmp 0x4ad41b
xor eax, eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
lea esi, [esp + 0x8c]
push esi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
test eax, eax
jne 0x4ad446
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebp, dword [esp + 0x88]
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4ad470
sub eax, edx
add eax, 1
push 2
push eax
call fcn.004e5f79
mov esi, eax
mov eax, ebp
add esp, 8
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4ad490
mov ecx, dword [esp + 0x88]
sub eax, ebp
add eax, 1
push eax
push esi
push 0xffffffffffffffff
push ecx
push 1
push 0
call dword [0x5764c4]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
mov ebp, eax
call fcn.004e10b6
mov eax, dword [ebx]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push ecx
push ecx
push ecx
push ebp
push eax
call edx
test eax, eax
jl 0x4ad4e5
mov byte [esp + 0x84], 1
mov eax, dword [edi]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4ad4f6
push 5
push eax
call esi
mov eax, dword [edi + 4]
push 0
push eax
call esi
mov ebx, dword [ebx]
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xa4]
push 0
push ebx
call edx
cmp byte [esp + 0x84], 0
jne 0x4ad54a
xor ebp, ebp
mov eax, dword [edi]
cmp eax, ebp
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x4ad528
push eax
call esi
mov eax, dword [edi + 4]
push eax
call esi
mov dword [edi], ebp
mov dword [edi + 4], ebp
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18
mov ecx, dword [edi + 4]
push 0
push 0x64
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18