Function at 0x484410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4da0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax], 1
call fcn.0046b780
cmp eax, 0xffffffff
jne 0x4844db
lea esi, [ebp - 0x14]
call fcn.0041b9f0
mov esi, eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x390]
mov ebx, dword [0x4cfccc]
push str.FatalError
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041b780
mov edx, dword [eax]
mov esi, dword [esi]
mov dword [ebp + 8], edx
mov ebx, 0x10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [0x4cfccc]
cmp byte [ecx + 0xc], 0
je 0x4844a0
mov ebx, 0x100010
mov edx, dword [ebp + 8]
push ebx
push esi
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4844cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x484682
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.PosChildWindow
call fcn.0041bf30
call fcn.004740f0
test eax, eax
je 0x4845fd
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.BtnPrevious
call fcn.0041bf30
lea ebx, [ebp + 8]
call fcn.00473d70
cmp dword [eax], 0
je 0x4845fd
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.BtnNext
call fcn.0041bf30
lea ebx, [ebp + 8]
call fcn.00473d70
cmp dword [eax], 0
je 0x4845fd
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.ImgBackground
call fcn.0041bf30
call fcn.004740f0
cmp byte [edi + 0x130], 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
sete bl
call eax
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.ImgBackgroundRTL
mov byte [eax + 8], bl
call fcn.0041bf30
call fcn.004740f0
mov edx, dword [eax]
mov bl, byte [edi + 0x130]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov byte [eax + 8], bl
mov ecx, dword [edi + 4]
push 0x4aff48
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
call fcn.00484870
push ecx
mov dword [ebp + 8], esp
push esp
mov ecx, str.BrowserRep
call fcn.0041bf30
call fcn.00474040
test eax, eax
je 0x4845d1
push 0
push 0x4c8b34
push 0x4c8b14
push 0
push eax
call fcn.0049b6c3
add esp, 0x14
mov dword [0x4cfd2c], eax
push 0
push 0
push edi
push 0x484bf0
push 0
push 0
call fcn.00489a52
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ebp - 0x1c]
call fcn.0041b9f0
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x390]
mov ebx, dword [0x4cfccc]
push str.FatalError
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.0041b780
mov eax, dword [eax]
mov esi, dword [esi]
mov dword [ebp + 8], eax
mov ebx, 0x10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [0x4cfccc]
cmp byte [ecx + 0xc], 0
je 0x48464c
mov ebx, 0x100010
mov edx, dword [ebp + 8]
push ebx
push esi
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484678
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48469e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [edi + 0x15a], 0
je 0x4846be
cmp byte [edi + 0x159], 0
jne 0x4846be
mov byte [edi + 0x15a], 0
mov byte [edi + 0x120], 1
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, edi
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4