Function at 0x4f71d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5307c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x8102
lea eax, [ebp - 0x38]
mov edi, edx
push eax
mov ecx, 0x55a400
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
call fcn.00467b90
mov dword [ebp - 4], 0
lea esi, [ebx + 0x14]
test edi, edi
je 0x4f7256
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f7242
push 0x3ec
push edi
mov edi, eax
call fcn.0042dc20
jmp 0x4f7266
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 0x4f7266
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4f7272
mov ecx, 0x538640
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4f729b
test ecx, ecx
je 0x4f729b
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4f72a9
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x24], eax
jmp 0x4f72a9
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x24], 0x57
mov eax, dword [ebx + 0xbac]
test eax, eax
je 0x4f76bc
lea edx, [eax + 0x24]
mov dword [ebp - 0x44], edx
lea edx, [eax + 0xa8]
mov dword [ebx + 0xbb4], edx
lea edx, [eax + 0xce8]
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x3c], edx
lea edx, [eax + 0xcf8]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x4f72ee
add ecx, 4
mov dword [ebx + 0xbb0], ecx
lea edi, [ebx + 0xc8]
mov ebx, dword [ebp - 0x18]
push 0x258
push ebx
mov ecx, edi
mov dword [ebp - 0x20], edi
mov dword [edi + 0x410], eax
mov dword [edi + 0x618], eax
mov dword [edi + 0x7b8], eax
mov dword [edi + 0x97c], eax
call fcn.004755a0
push 0
push edi
call fcn.004756c0
mov esi, ebx
push esi
mov ebx, edi
call fcn.004757e0
push esi
push edi
call fcn.00475960
push esi
push edi
call fcn.00475ef0
push 1
push esi
push edi
call fcn.00475c80
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4f7367
mov dword [edi + 0x418], eax
mov dword [edi + 0x61c], eax
mov dword [edi + 0x7bc], eax
mov dword [edi + 0x980], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4f7386
mov dword [edi + 0x41c], eax
mov dword [edi + 0x620], eax
mov dword [edi + 0x7c0], eax
mov dword [edi + 0x984], eax
mov eax, esi
call fcn.00476310
push edi
mov eax, esi
call fcn.004763f0
push 1
mov eax, esi
call fcn.00476080
push 0x757c
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4f73d1
push eax
call fcn.005134a7
add esp, 4
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x4f741a
push 0x1794
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f7400
push 0x1794
push esi
mov edi, eax
lea esi, [ebx + 0x38]
call fcn.0042dc20
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
jmp 0x4f742a
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0x48]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x4f742a
mov edx, dword [ebx + 0x48]
mov eax, dword [edx + 4]
lea eax, [eax + ebx + 0x48]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4f7436
mov ecx, 0x538640
lea eax, [ebx + 0x38]
call fcn.00402f90
push 0x8109
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4f7471
push eax
call fcn.005134a7
add esp, 4
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x4f74c3
push 0x3f2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f74a3
push 0x3f2
push esi
mov edi, eax
lea esi, [ebx + 0x80]
call fcn.0042dc20
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
jmp 0x4f74d9
mov edx, dword [ebx + 0x90]
mov eax, dword [edx + 4]
lea ecx, [eax + ebx + 0x90]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
jmp 0x4f74d9
mov eax, dword [ebx + 0x90]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx + 0x90]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4f74e5
mov ecx, 0x538640
lea eax, [ebx + 0x80]
call fcn.00402f90
test esi, esi
je 0x4f760a
push 0x17c3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f75f3
push 0x17c3
push esi
mov edi, eax
lea esi, [ebx + 0x5c]
call fcn.0042dc20
cmp al, 1
jne 0x4f7530
mov ecx, ebx
cmp dword [ecx + 0xbb0], 0
je 0x4f7530
call fcn.004f80b0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
call fcn.00477480
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x4f754b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xb0c], edi
mov ebx, dword [ebp - 0x14]
add ebx, 0xa6c
push esi
mov ecx, ebx
call fcn.00473770
push ebx
mov ebx, esi
call fcn.00473890
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0xb10]
test eax, eax
je 0x4f757a
mov dword [ecx + 0x80], eax
test edi, edi
je 0x4f7584
mov dword [ecx + 0x90], edi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0x8108
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
xor edi, edi
cmp eax, edi
je 0x4f75ca
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
test esi, esi
je 0x4f7639
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f761f
push 0x3f3
push esi
mov edi, eax
lea esi, [ebx + 0xa4]
call fcn.0042dc20
jmp 0x4f764f
mov edx, dword [ebx + 0x6c]
mov eax, dword [edx + 4]
lea ebx, [eax + ebx + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4f7536
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0x6c]
mov dword [ebx], 0x57
jmp 0x4f7536
mov edx, dword [ebx + 0xb4]
mov eax, dword [edx + 4]
lea esi, [eax + ebx + 0xb4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4f764f
mov ecx, dword [ebx + 0xb4]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0xb4]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4f765b
mov ecx, 0x538640
lea eax, [ebx + 0xa4]
call fcn.00402f90
cmp byte [0x55a4ac], 0
mov byte [ebp - 0xd], 0
jne 0x4f767c
call fcn.004bc570
test al, al
je 0x4f7680
mov byte [ebp - 0xd], 1
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x4f76a6
cmp byte [ebp - 0xd], 0
je 0x4f769b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4f76bc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4f76bc
mov eax, dword [ebx + 0xb4]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0xb4]
mov dword [ebx], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4f76d3
push eax
call fcn.005134a7
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