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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4266
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4e24e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4ebbc8]
add esi, 0x10
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4ea880]
lea ecx, [esp + 0x18]
call fcn.0041a3c0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4891d7
test ebx, ebx
je 0x4891c2
lea eax, [ebx + 0x50]
mov dword [esp + 0x18], eax
jmp 0x4891ca
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
push ecx
lea esi, [edi + 4]
call fcn.0041a340
test ebx, ebx
je 0x4891e3
lea ecx, [ebx + 0x184]
jmp 0x4891e5
xor ecx, ecx
mov edx, dword [ebx + 0x30]
push ecx
push ebx
push 0
lea eax, [ebx + 0x54]
push edx
push eax
mov ecx, str.360InternationSafemsgbox.xml
call fcn.00478e20
test al, al
jne 0x489217
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x489228
push 0x80004003
call fcn.00441d80
lea esi, [esp + 0x18]
call fcn.0041a310
mov dword [esp + 0x78], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x489737
push 0
push 0x3e8
lea esi, [esp + 0x1c]
mov eax, edi
call fcn.0041a470
lea esi, [ebx + 0x194]
mov ecx, esi
mov byte [esp + 0x78], 1
mov dword [esp + 0x10], esi
call fcn.004198c0
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x489282
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi], 0
je 0x489737
lea eax, [ebx + 0x1d4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x489494
lea eax, [esp + 0x4c]
push eax
call fcn.004189b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
mov byte [esp + 0x7c], 2
push edx
mov dword [esp + 0x24], 0x7d2
call fcn.004186a0
mov dword [eax], 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x24], 0x3ed
call fcn.004186a0
lea edx, [esp + 0x1c]
mov dword [eax], 7
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x24], 0x3ee
call fcn.004186a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [eax], 7
mov dword [esp + 0x24], 0x3ef
call fcn.004186a0
mov dword [eax], 0xd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x24], 1
call fcn.004186a0
lea edx, [esp + 0x1c]
mov dword [eax], 0xc
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x24], 2
call fcn.004186a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [eax], 0xc
mov dword [esp + 0x24], 0x22b7
call fcn.004186a0
mov dword [eax], 6
mov eax, dword [esp + 0x64]
mov esi, dword [eax]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
lea esp, [esp]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
test edi, edi
je 0x4893a2
cmp edi, dword [esp + 0x4c]
je 0x4893a7
call fcn.00446707
cmp esi, dword [esp + 0x30]
je 0x489459
test edi, edi
jne 0x48944e
call fcn.00446707
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4893ca
call fcn.00446707
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
test eax, eax
je 0x48921e
movzx ecx, word [esi + 0xc]
push 1
push ecx
lea esi, [esp + 0x24]
call fcn.0041a470
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
test eax, eax
je 0x4893fe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
test esi, esi
je 0x489438
test edi, edi
jne 0x489455
call fcn.00446707
mov esi, dword [esp + 0x28]
cmp esi, dword [edi + 0x18]
jne 0x489419
call fcn.00446707
cmp dword [esi + 0x10], 0
je 0x489438
lea esi, [esp + 0x24]
call fcn.0041d790
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x7c]
push ecx
call eax
lea esi, [esp + 0x24]
call fcn.0041efc0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
jmp 0x489390
mov eax, dword [edi]
jmp 0x4893c0
mov edi, dword [edi]
jmp 0x48940b
mov eax, dword [ebx + 0x1e0]
sub eax, dword [ebx + 0x1d8]
mov ecx, dword [ebx + 0x1dc]
sub ecx, dword [ebx + 0x1d4]
push 6
push eax
push ecx
mov ecx, dword [ebx + 0x30]
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x7c], 0
call fcn.00418740
push 1
mov eax, str.IDS_POP_LOGO_IMGID
lea esi, [esp + 0x30]
call fcn.00477d00
mov byte [esp + 0x7c], 3
cmp dword [eax + 0x18], 8
jb 0x4894b4
mov edi, dword [eax + 4]
jmp 0x4894b7
lea edi, [eax + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push 0xffffffffffffffff
test eax, eax
jne 0x4894cd
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
push 0x3e9
call fcn.0041a470
mov edx, edi
call fcn.004872c0
add esp, 0xc
mov byte [esp + 0x78], 0
cmp dword [esp + 0x44], 8
jb 0x489503
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044556f
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push 0
test eax, eax
jne 0x489519
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
push 0
push 0x3ef
call fcn.0041a470
lea edi, [ebx + 0x54]
push edi
mov edx, ebx
call fcn.00477af0
push 0
push 0
push 0
push 1
lea eax, [ebx + 0x184]
push ebx
push eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
test eax, eax
jne 0x48955b
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x3c], esp
push 0
push 1
call fcn.0041a470
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00478a40
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x489595
lea edi, [ebx + 0x1b4]
push eax
call fcn.0047dfb0
mov edi, dword [esp + 0x10]
jmp 0x4895e8
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, eax
jne 0x4895a9
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 1
call fcn.0041a470
lea esi, [esp + 0x30]
call fcn.00483ee0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x1b4], ecx
mov dword [ebx + 0x1b8], edx
mov dword [ebx + 0x1bc], esi
add esp, 4
mov dword [ebx + 0x1c0], eax
push 0
push 0
push 0
push 1
lea eax, [ebx + 0x184]
push ebx
push eax
mov eax, dword [edi]
test eax, eax
jne 0x489608
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x3c], esp
push 0
push 2
call fcn.0041a470
lea edx, [esp + 0x3c]
push edx
lea eax, [ebx + 0x54]
push eax
call fcn.00478a40
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x489652
test esi, esi
je 0x489640
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48964c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x489666
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48967c
lea edi, [ebx + 0x1c4]
push eax
call fcn.0047dfb0
mov edi, dword [esp + 0x10]
jmp 0x4896cb
mov eax, dword [edi]
test eax, eax
jne 0x48968c
push 0x80004003
call fcn.00441d80
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 2
call fcn.0041a470
lea esi, [esp + 0x30]
call fcn.00483ee0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x1c4], ecx
mov dword [ebx + 0x1c8], edx
mov dword [ebx + 0x1cc], esi
add esp, 4
mov dword [ebx + 0x1d0], eax
mov eax, dword [edi]
push 0
push ecx
mov ecx, esp
mov esi, 0x3ef
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x4896e9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00484a70
mov eax, dword [edi]
add esp, 8
push 0
push ecx
mov ecx, esp
mov esi, 0x3ee
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x489711
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
call fcn.00484a70
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x489733
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
test edi, edi
je 0x48974b
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4