Function at 0x5027e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540c08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x8102
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
test ebx, ebx
je 0x502865
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x502851
push 0x3ec
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp + 8]
jmp 0x502875
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x502875
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x502881
mov ecx, 0x54ee24
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x24]
test eax, eax
je 0x5028ae
test ecx, ecx
je 0x5028ae
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x5028ba
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp + 8]
jmp 0x5028ba
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
mov eax, dword [edi + 0x1174]
test eax, eax
je 0x502b8d
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0xa8]
lea edx, [eax + 0x24]
mov dword [ebp - 0x1c], ecx
add edi, 0xa4
lea ecx, [eax + 0xd30]
mov dword [ebp - 0x24], edx
push 0x258
lea edx, [eax + 0xd10]
mov dword [ebp - 0x18], ecx
push ebx
mov ecx, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edi
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
call fcn.0047de50
push 0
push ebx
mov ebx, edi
call fcn.0047df70
mov esi, dword [ebp + 0xc]
push esi
call fcn.0047e090
push esi
push edi
call fcn.0047e210
push esi
push edi
call fcn.0047e7a0
push 1
push esi
push edi
call fcn.0047e530
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x50295a
mov dword [edi + 0x418], eax
mov dword [edi + 0x7e0], eax
mov dword [edi + 0xb1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x502973
mov dword [edi + 0x41c], eax
mov dword [edi + 0x7e4], eax
mov dword [edi + 0xb20], eax
mov eax, esi
mov ebx, edi
call fcn.0047ebd0
push edi
mov eax, esi
call fcn.0047ecb0
push 1
mov eax, esi
call fcn.0047e930
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add esi, 0xd34
call fcn.00477270
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
push 0
push 1
push eax
push esi
call fcn.004772c0
push 0
push 0
mov edx, ebx
mov ecx, esi
call fcn.00477640
push 0x8109
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x5029f2
push eax
call fcn.0051eadb
add esp, 4
mov esi, dword [ebp + 8]
sub esi, 0xffffff80
test ebx, ebx
je 0x502a32
push 0x3f8
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x502a1e
push 0x3f8
push ebx
mov edi, eax
call fcn.00435080
mov edi, dword [ebp - 0x20]
jmp 0x502a42
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea ebx, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x502a42
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x502a4e
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
call fcn.0047fd80
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 0xbf8]
push esi
mov ecx, ebx
mov dword [edi + 0xc98], eax
call fcn.0047c000
push ebx
mov ebx, esi
call fcn.0047c120
mov eax, dword [ebp - 0x24]
xor ebx, ebx
lea ecx, [edi + 0xc9c]
cmp eax, ebx
je 0x502a94
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x90], edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push 0x8108
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x502ae1
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ebx, [edi + 0x5c]
test esi, esi
je 0x502b1d
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x502b09
push 0x3f3
push esi
mov edi, eax
mov esi, ebx
call fcn.00435080
jmp 0x502b2d
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x502b2d
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x502b39
mov ecx, 0x54ee24
mov eax, ebx
call fcn.00405d30
cmp byte [0x57774c], 0
mov byte [ebp + 0xb], 0
jne 0x502b56
call fcn.004c7c70
test al, al
je 0x502b5a
mov byte [ebp + 0xb], 1
mov eax, dword [ebx + 8]
test eax, eax
je 0x502b7d
cmp byte [ebp + 0xb], 0
je 0x502b72
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x502b8d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x502b8d
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 4]
lea ebx, [eax + ebx + 0x10]
mov dword [ebx], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x502ba4
push eax
call fcn.0051eadb
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8