Function at 0x505b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58de10
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x88], 0
lea ebx, [esi + 0x88]
je 0x505b9e
test ebx, ebx
jne 0x505b64
xor eax, eax
jmp 0x505b93
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jle 0x505b7c
xor eax, eax
jmp 0x505b93
lea eax, [edi + edi]
call fcn.00553150
mov eax, esp
push 0x3a8
push edi
push ebx
push eax
call fcn.00401140
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x84]
sub eax, 1
je 0x505d66
sub eax, 1
je 0x505d1d
sub eax, 1
jne 0x505dfc
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x505be4
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x505be4
push 0
push edi
push ebx
call eax
mov ecx, dword [esi + 0x70]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x54]
push edx
call fcn.004ae0d0
push str.logdisplay.html
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0040cf70
add esp, 0x10
mov ebx, 0x10
cmp dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 2
jb 0x505c2a
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0055215c
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x50], 0
call fcn.004b2860
push 0x40000000
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push edx
mov byte [ebp - 4], 3
mov byte [ecx + 4], 0
call fcn.0040a080
lea ecx, [ebp - 0x34]
call fcn.004b30d0
cmp eax, edi
je 0x505cf7
lea edx, [esi + 0xec]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x505c84
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x34]
call fcn.004b2870
lea ecx, [ebp - 0x34]
call fcn.004b2a30
mov ecx, dword [esi + 0x70]
push ecx
push str.file:__
lea ecx, [ebp - 0x70]
call fcn.0040dcb0
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x38], esp
lea ecx, [ebp - 0x2c]
push ecx
push eax
push edx
mov byte [ebp - 4], 4
call fcn.0040cec0
add esp, 0xc
call fcn.004945d0
add esp, 0x20
cmp dword [ebp - 0x58], ebx
jb 0x505ce5
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0055215c
add esp, 4
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004b2ee0
cmp dword [ebp - 0x14], ebx
jb 0x505dfc
mov eax, dword [ebp - 0x28]
push eax
call fcn.0055215c
add esp, 4
jmp 0x505dfc
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x505d42
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x505d42
push 0
push edi
push ebx
call eax
mov ecx, dword [esi + 0x70]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x70]
push edx
add esi, 0xec
push esi
call fcn.00494560
add esp, 8
jmp 0x505dfc
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x505d97
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x505d97
push 5
push edi
push ebx
call eax
lea ebx, [esi + 0xec]
test ebx, ebx
jne 0x505da5
xor edi, edi
jmp 0x505dd6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jle 0x505dbd
xor edi, edi
jmp 0x505dd6
lea eax, [edi + edi]
call fcn.00553150
mov eax, esp
push 0x3a8
push edi
push ebx
push eax
call fcn.00401140
mov edi, eax
mov ebx, dword [esi + 0x64]
mov esi, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x505dfc
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x505dfc
push edi
push 0xffffffffffffffff
push ebx
push esi
call eax
lea esp, [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret