Function at 0x4797c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495137
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
mov eax, dword [0x4b5320]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.Banner
mov ecx, edi
mov dword [esp + 0x4d0], eax
mov dword [esp + 0x18], 0x80004005
call fcn.00485390
xor ebx, ebx
mov dword [0x4b6f70], eax
push ebx
lea eax, [esp + 0x28]
push eax
push str.UI_DefaultTheme
mov dword [esp + 0x30], ebx
call fcn.0043add0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
je 0x479837
push eax
mov ecx, edi
call fcn.00484a70
lea ecx, [esp + 0x18]
call fcn.00484820
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x4e0], ebx
call fcn.00485e40
cmp eax, ebx
je 0x4798c9
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx]
cmp edi, ecx
je 0x479baa
mov edi, edi
mov eax, dword [esi + 0xd8]
mov ecx, dword [edi + 8]
neg eax
lea edx, [esp + 0x10]
push edx
sbb eax, eax
push ebx
and eax, 0x80080
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.00479290
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x479ba6
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00478760
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x479ba6
mov edi, dword [edi]
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
jne 0x479870
jmp 0x479908
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x20], ebx
call fcn.00485950
push eax
mov ecx, esi
call fcn.00479290
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x479ba6
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00478760
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
jl 0x479baa
xor eax, eax
mov word [esp + 0x2c0], bx
mov ecx, 0x81
lea edi, [esp + 0x2c2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c0]
push eax
call fcn.00430230
mov ecx, dword [str.Marquee]
mov eax, dword [0x49843c]
mov edx, dword [0x498438]
mov dword [esp + 0xbc], ecx
mov ecx, dword [0x498440]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xc0], edx
xor eax, eax
add esp, 4
mov ecx, 0x7e
lea edi, [esp + 0xc8]
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edx
mov word [esp + 0x4c], bx
call edi
lea eax, [esp + 0xb8]
push eax
mov word [esp + 0x4c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x50], eax
jne 0x4799bd
mov word [esp + 0x48], 0xa
mov dword [esp + 0x50], 0x8007000e
lea ecx, [esp + 0x68]
push ecx
mov word [esp + 0x5c], 3
mov dword [esp + 0x64], 1
mov word [esp + 0x6c], bx
call edi
lea edx, [esp + 0x2c0]
push edx
mov word [esp + 0x6c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x70], eax
jne 0x479a04
mov word [esp + 0x68], 0xa
mov dword [esp + 0x70], 0x8007000e
mov word [esp + 0x78], 2
mov word [esp + 0x80], 1
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x28]
push edx
lea edi, [esi + 0x24]
push 0x4efd
lea eax, [esp + 0x50]
push edi
mov byte [esp + 0x4e8], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], ebx
call dword [ecx + 8]
push 0x403ba0
push 4
push 0x10
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x4ec], bl
call fcn.0048c494
lea ecx, [esp + 0x88]
push ecx
mov word [esp + 0x8c], bx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xb8]
push edx
mov word [esp + 0x8c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x90], eax
jne 0x479ab1
mov word [esp + 0x88], 0xa
mov dword [esp + 0x90], 0x8007000e
mov eax, 3
mov word [esp + 0x98], ax
mov dword [esp + 0xa0], ebx
mov word [esp + 0xa8], 2
mov word [esp + 0xb0], 1
mov edx, dword [edi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
push 0x4efd
lea ecx, [esp + 0x90]
push edi
mov byte [esp + 0x4e8], 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
call dword [edx + 8]
push 0x403ba0
push 3
push 0x10
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x4ec], bl
call fcn.0048c494
mov ecx, dword [esi + 0x6c]
call fcn.00485970
cmp eax, ebx
je 0x479b5d
lea edx, [esp + 0x10]
push edx
push ebx
push 0x80
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.00479290
test eax, eax
jl 0x479b5d
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00478760
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x6c]
call fcn.004859a0
cmp eax, ebx
je 0x479ba6
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x80
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
call fcn.00479290
test eax, eax
jl 0x479ba6
mov edi, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.00478760
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x479ba6
mov dword [esi + 0x80], edi
mov dword [edi + 0x4c], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x20], ebx
je 0x479bd6
mov esi, dword [eax]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x20]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x479bc1
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x4d8]
mov eax, dword [esp + 0x18]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4d0]
add esp, 4
call fcn.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8