Function at 0x4d4700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534568
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x40], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], 0
mov eax, dword [edi + 0x1300]
push 1
push eax
mov ecx, esi
call fcn.00511140
push 0xafd1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov ecx, eax
test eax, eax
jne 0x4d477b
mov ecx, 0x538640
mov eax, dword [esi + 4]
test eax, eax
je 0x4d47a5
test ecx, ecx
je 0x4d47a5
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d47b1
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 - 0x10]
jmp 0x4d47b1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8100
lea ecx, [ebp - 0x3c]
push ecx
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 - 0x3c]
test eax, eax
je 0x4d47e4
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x20], esi
test ebx, ebx
je 0x4d4824
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d4810
push 0x3e9
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d4834
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d4834
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d4840
mov ecx, 0x538640
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4d486d
test ecx, ecx
je 0x4d486d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4879
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4d4879
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x2af9
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d48ac
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x74]
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x4d48ec
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d48d8
push 0x3f4
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d48fc
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d48fc
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d4908
mov ecx, 0x538640
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x4d493b
test ecx, ecx
je 0x4d493b
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4947
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4d4947
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d497a
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x4d49ba
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d49a6
push 0x3ea
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d49ca
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 0x4d49ca
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 0x4d49d6
mov ecx, 0x538640
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x4d4a09
test ecx, ecx
je 0x4d4a09
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4a15
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 - 0x10]
jmp 0x4d4a15
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ea
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d4a48
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0xbc]
test ebx, ebx
je 0x4d4a88
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d4a74
push 0x3eb
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d4a98
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d4a98
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d4aa4
mov ecx, 0x538640
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xcc]
test eax, eax
je 0x4d4ad7
test ecx, ecx
je 0x4d4ad7
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4ae3
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4d4ae3
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x8102
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d4b16
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x4d4b56
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d4b42
push 0x3ec
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d4b66
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d4b66
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d4b72
mov ecx, 0x538640
mov eax, dword [edi + 0xf4]
lea esi, [edi + 0xf0]
test eax, eax
je 0x4d4ba5
test ecx, ecx
je 0x4d4ba5
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4bb1
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4d4bb1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x8108
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d4be4
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x104]
test ebx, ebx
je 0x4d4c21
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d4c0d
push 0x3f3
push ebx
mov edi, eax
call fcn.0042dc20
jmp 0x4d4c31
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 0x4d4c31
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d4c3d
mov ecx, 0x538640
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x118]
add edi, 0x114
test eax, eax
je 0x4d4c71
test ecx, ecx
je 0x4d4c71
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d4c7d
mov edx, dword [edi]
mov ebx, dword [edx + 4]
add ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4d4c7d
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [eax + edi], 0x57
xor bl, bl
cmp byte [0x55a4ac], bl
jne 0x4d4c90
call fcn.004bc570
test al, al
je 0x4d4c92
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4d4cb3
test bl, bl
je 0x4d4ca8
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d4cc3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d4cc3
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 6
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x1304], 0
je 0x4d4cdd
mov ecx, dword [ebp + 8]
push ecx
add eax, 0x14c
call fcn.0046db60
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x1308]
mov dword [ebp - 0x14], ecx
call fcn.004eae50
add edi, 0x1a0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4d4d13
mov dword [edi + 0x410], eax
mov dword [edi + 0x618], eax
mov dword [edi + 0x7b8], eax
mov dword [edi + 0x97c], eax
mov ebx, dword [ebp + 8]
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 0
push esi
push edi
call fcn.00475c80
push esi
push edi
call fcn.00475ef0
mov ecx, dword [ebp - 0x14]
call fcn.004eafd0
test eax, eax
je 0x4d4d78
mov dword [edi + 0x414], eax
mov dword [edi + 0x624], eax
mov dword [edi + 0x7c4], eax
mov eax, esi
call fcn.00476160
mov eax, esi
call fcn.00476230
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.004eb120
test eax, eax
je 0x4d4d9e
mov dword [edi + 0x418], eax
mov dword [edi + 0x61c], eax
mov dword [edi + 0x7bc], eax
mov dword [edi + 0x980], eax
mov ecx, ebx
call fcn.004eb200
mov dword [ebp + 8], eax
test eax, eax
je 0x4d4dde
mov dword [edi + 0x41c], eax
mov dword [edi + 0x620], eax
mov dword [edi + 0x7c0], eax
mov dword [edi + 0x984], eax
mov eax, esi
mov ebx, edi
call fcn.00476310
push edi
mov eax, esi
call fcn.004763f0
push 1
mov eax, esi
call fcn.00476080
call fcn.00477480
mov ecx, dword [ebp - 0x14]
call fcn.004eb440
mov ebx, eax
cmp dword [ebx], 0xa0
mov dword [ebp - 0x1c], ebx
jne 0x4d4f34
mov ecx, dword [ebp - 0x10]
mov al, 1
cmp byte [ecx + 0xe2c], al
je 0x4d4e0f
mov byte [ecx + 0xe2c], al
cmp byte [edi + 0x421], al
je 0x4d4e2d
push 0
mov ecx, edi
mov byte [edi + 0x421], al
call fcn.00478110
mov eax, edi
call fcn.00476590
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
add edi, 0xb44
mov dword [edi + 0x2dc], ebx
test eax, eax
je 0x4d4e49
mov dword [edi + 0x2e0], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d4e56
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 ecx, dword [ebp - 0x14]
call fcn.004eb520
mov edi, dword [ebp - 0x10]
mov ebx, eax
add edi, 0xe30
test ebx, ebx
je 0x4d4eca
push ebx
lea edx, [edi + 0x2b0]
push 0x104
push edx
mov dword [edi + 0x2ac], ebx
call fcn.00513c73
mov eax, dword [edi + 0x2ac]
add eax, 0x208
add esp, 0xc
push eax
lea eax, [edi + 0x4b8]
call fcn.004fcf00
mov ecx, dword [edi + 0x2ac]
mov edx, dword [ecx + 0x410]
mov dword [edi + 0x4c4], edx
push esi
mov ecx, edi
call fcn.0046e400
movzx eax, byte [ebx + 0x416]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push eax
push 0
push edx
mov edx, esi
mov ecx, edi
call fcn.0046e650
push 1
push 1
mov edx, esi
mov ecx, edi
call fcn.0046ed10
push edi
mov eax, esi
call fcn.0046f700
call fcn.004ea990
mov ebx, dword [ebp - 0x10]
mov byte [ebp + 0xb], al
test esi, esi
je 0x4d4f8c
push 0x7df
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d4f72
push 0x7df
push esi
mov edi, eax
lea esi, [ebx + 0x128]
call fcn.0042dc20
jmp 0x4d4fa2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp ecx, 3
je 0x4d4f47
cmp ecx, 4
jne 0x4d4e30
cmp dword [eax + 4], 0x12c
jne 0x4d4e30
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0xe2c], 1
je 0x4d4e30
mov ecx, edx
mov byte [ecx + 0xe2c], 1
jmp 0x4d4e30
mov eax, dword [ebx + 0x138]
mov ecx, dword [eax + 4]
lea esi, [ecx + ebx + 0x138]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d4fa2
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
lea eax, [eax + ebx + 0x138]
mov dword [eax], 0x57
mov esi, ebx
cmp byte [esi + 0x1305], 0
lea ecx, [ebp - 0x3c]
je 0x4d505f
push 0x84e7
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
xor edi, edi
cmp eax, edi
je 0x4d4fe6
push eax
call fcn.005134a7
add esp, 4
cmp byte [ebp + 0xb], 0
mov eax, dword [ebx + 0x13c]
jne 0x4d5029
cmp eax, edi
je 0x4d500d
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
jmp 0x4d50f1
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ebx + 0x138], 6
jmp 0x4d50f1
cmp eax, edi
je 0x4d5043
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
jmp 0x4d50f1
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ebx + 0x138], 6
jmp 0x4d50f1
push 0x84e8
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
xor edi, edi
cmp eax, edi
je 0x4d509a
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
cmp byte [ebp + 0xb], 0
mov eax, dword [ebx + 0x13c]
je 0x4d50c6
cmp eax, edi
je 0x4d50bb
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d50ee
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4d50e3
cmp eax, edi
je 0x4d50da
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d50ee
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4d5102
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d5112
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x30]
cmp ecx, edi
jne 0x4d511e
mov ecx, 0x538640
mov eax, dword [esi + 0x13c]
cmp eax, edi
je 0x4d5150
cmp ecx, edi
je 0x4d5150
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d5164
mov ecx, dword [esi + 0x138]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x138], eax
jmp 0x4d5164
mov edx, dword [esi + 0x138]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x138], 0x57
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4d517b
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 0xc