Function at 0x4f35f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x8102
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea esi, [ebx + 0x14]
test edi, edi
je 0x4f3672
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f365e
push 0x3ec
push edi
mov edi, eax
call fcn.0042dc20
jmp 0x4f3682
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 0x4f3682
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 0x4f368e
mov ecx, 0x538640
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4f36b7
test ecx, ecx
je 0x4f36b7
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4f36c5
mov edx, dword [ebx + 0x24]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0x24], eax
jmp 0x4f36c5
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x24], 0x57
cmp dword [ebx + 0x11c0], 0
je 0x4f39a3
mov eax, dword [ebx + 0x11c0]
lea ecx, [eax + 0x130]
lea edx, [eax + 0xd80]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
lea edi, [ebx + 0x5c]
test eax, eax
je 0x4f370c
mov dword [edi + 0x410], eax
mov dword [edi + 0x618], eax
mov dword [edi + 0x7b8], eax
mov dword [edi + 0x97c], eax
mov ebx, dword [ebp + 0xc]
push 0x4b0
push ebx
mov ecx, edi
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 - 0x10]
add eax, 0xd70
je 0x4f3767
mov dword [edi + 0x418], eax
mov dword [edi + 0x61c], eax
mov dword [edi + 0x7bc], eax
mov dword [edi + 0x980], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4f3786
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
call fcn.00477480
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x1c]
add ebx, 0x1c
cmp eax, 0xa0
jne 0x4f38e0
mov ecx, dword [ebp + 8]
mov al, 1
cmp byte [ecx + 0xce8], al
je 0x4f37ca
mov byte [ecx + 0xce8], al
cmp byte [edi + 0x421], al
je 0x4f37e8
push 0
mov ecx, edi
mov byte [edi + 0x421], al
call fcn.00478110
mov eax, edi
call fcn.00476590
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add edi, 0xa00
mov dword [edi + 0x2dc], ebx
test eax, eax
je 0x4f3804
mov dword [edi + 0x2e0], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4f3811
mov dword [edi + 0x2e4], eax
push edi
mov ebx, esi
call fcn.00472180
push esi
push edi
call fcn.004724d0
push 4
push edi
mov ecx, esi
call fcn.00471f30
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
add edi, 0xcec
mov esi, edi
call fcn.0046e3b0
mov esi, ebx
push esi
mov ecx, edi
call fcn.0046e400
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x11c0]
movzx ecx, byte [eax + 0x546]
mov edx, dword [eax + 0x1c]
push ecx
push 0
push edx
mov edx, esi
mov ecx, edi
call fcn.0046e650
push 0
push 1
mov edx, esi
mov ecx, edi
call fcn.0046ed10
push edi
mov eax, esi
call fcn.0046f700
push 0x8108
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp eax, edi
je 0x4f38ba
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
test esi, esi
je 0x4f3932
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f391e
push 0x3f3
push esi
mov edi, eax
lea esi, [ebx + 0x38]
call fcn.0042dc20
jmp 0x4f3942
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 3
je 0x4f38f3
cmp ecx, 4
jne 0x4f37eb
cmp dword [eax + 4], 0x12c
jne 0x4f37eb
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xce8], 1
je 0x4f37eb
mov edx, ecx
mov byte [edx + 0xce8], 1
jmp 0x4f37eb
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + 4]
lea esi, [edx + ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4f3942
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx + 0x48]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4f394e
mov ecx, 0x538640
lea eax, [ebx + 0x38]
call fcn.00402f90
cmp byte [0x55a4ac], 0
mov byte [ebp + 0xb], 0
jne 0x4f396c
call fcn.004bc570
test al, al
je 0x4f3970
mov byte [ebp + 0xb], 1
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4f3993
cmp byte [ebp + 0xb], 0
je 0x4f3988
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4f39a3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4f39a3
mov edx, dword [ebx + 0x48]
mov eax, dword [edx + 4]
lea ebx, [eax + ebx + 0x48]
mov dword [ebx], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4f39ba
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 8