Function at 0x4ff480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 - 0x28]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea esi, [ebx + 0x14]
test edi, edi
je 0x4ff502
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ff4ee
push 0x3ec
push edi
mov edi, eax
call fcn.004351f0
jmp 0x4ff512
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 0x4ff512
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x4ff51e
mov ecx, 0x54ee24
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4ff547
test ecx, ecx
je 0x4ff547
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ff555
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x24], eax
jmp 0x4ff555
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x24], 0x57
cmp dword [ebx + 0x135c], 0
je 0x4ff8a4
mov eax, dword [ebx + 0x135c]
lea edx, [eax + 0x130]
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x1c], edx
lea edx, [eax + 0xdb8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
lea edi, [ebx + 0x80]
test ecx, ecx
je 0x4ff592
mov ecx, dword [ecx]
mov dword [edi + 0x424], ecx
test eax, eax
je 0x4ff5a8
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
mov esi, dword [ebp + 0xc]
push 0x4b0
push esi
mov ecx, edi
call fcn.0047dfa0
push 0
push esi
mov ebx, edi
call fcn.0047e0c0
push esi
call fcn.0047e1e0
push esi
push edi
call fcn.0047e360
push esi
push edi
call fcn.0047e8f0
push 1
push esi
push edi
call fcn.0047e680
mov eax, dword [ebp - 0x10]
add eax, 0xd98
je 0x4ff5fb
mov dword [edi + 0x418], eax
mov dword [edi + 0x7e0], eax
mov dword [edi + 0xb1c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ff614
mov dword [edi + 0x41c], eax
mov dword [edi + 0x7e4], eax
mov dword [edi + 0xb20], eax
mov eax, esi
call fcn.0047ed20
push edi
mov eax, esi
call fcn.0047ee00
push 1
mov eax, esi
call fcn.0047ea80
call fcn.0047fed0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
add eax, 0x1c
mov dword [ebp - 0x18], eax
cmp ecx, 0xa0
je 0x4ff64d
cmp ecx, 0x80000
jne 0x4ff662
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xf14], 1
je 0x4ff696
mov byte [ebx + 0xf14], 1
jmp 0x4ff696
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
cmp eax, 3
je 0x4ff671
cmp eax, 4
jne 0x4ff693
cmp dword [edx + 4], 0x12c
jne 0x4ff693
mov edx, dword [ebp + 8]
cmp byte [edx + 0xf14], 1
je 0x4ff693
mov eax, edx
mov byte [eax + 0xf14], 1
mov ebx, eax
jmp 0x4ff696
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x424], ecx
je 0x4ff6ac
push 0
push edi
mov dword [edi + 0x424], ecx
call fcn.00480ba0
mov eax, edi
call fcn.0047efa0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea edi, [ebx + 0xbd4]
mov dword [edi + 0x334], ecx
test eax, eax
je 0x4ff6cf
mov dword [edi + 0x338], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ff6dc
mov dword [edi + 0x33c], eax
push esi
push edi
call fcn.0047a850
push esi
push edi
call fcn.0047ae50
push 4
push edi
mov ecx, esi
call fcn.0047a600
mov eax, dword [ebp - 0x1c]
lea esi, [ebx + 0xf18]
call fcn.004773b0
mov edx, dword [ebx + 0x135c]
mov eax, dword [edx + 0x1c]
mov edi, dword [ebp + 0xc]
push 1
push 0
push eax
push esi
mov ebx, edi
call fcn.00477400
push 1
push 1
mov edx, edi
mov ecx, esi
call fcn.00477780
push 0x8109
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
xor ebx, ebx
cmp eax, ebx
je 0x4ff75d
push eax
call fcn.0051ebab
add esp, 4
mov esi, dword [ebp + 8]
add esi, 0x5c
cmp edi, ebx
je 0x4ff79f
push 0x3f8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
je 0x4ff789
push 0x3f8
push edi
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp + 0xc]
jmp 0x4ff7af
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
xor ebx, ebx
jmp 0x4ff7af
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
jne 0x4ff7bb
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
push 0x8108
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4ff7fe
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 8]
add esi, 0x38
cmp edi, ebx
je 0x4ff83b
push 0x3f3
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
je 0x4ff827
push 0x3f3
push edi
mov edi, eax
call fcn.004351f0
jmp 0x4ff84b
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea edi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x4ff84b
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
jne 0x4ff857
mov ecx, 0x54ee24
mov eax, esi
call fcn.00405d30
xor bl, bl
cmp byte [0x57774c], bl
jne 0x4ff871
call fcn.004c7ce0
test al, al
je 0x4ff873
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4ff894
test bl, bl
je 0x4ff889
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ff8a4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ff8a4
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ff8bb
push eax
call fcn.0051ebab
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