Function at 0x4d7040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5344f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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, dword [ebp + 8]
mov edi, ecx
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 + 0xf34]
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], ebx
call fcn.00511140
push 0xafce
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 0x4d70be
mov ecx, 0x538640
mov eax, dword [esi + 4]
test eax, eax
je 0x4d70e8
test ecx, ecx
je 0x4d70e8
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d70f4
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 0x4d70f4
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8100
lea ecx, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d7127
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x44], esi
test ebx, ebx
je 0x4d7167
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7153
push 0x3e9
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d7177
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 0x4d7177
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 0x4d7183
mov ecx, 0x538640
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4d71b0
test ecx, ecx
je 0x4d71b0
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d71bc
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 0x4d71bc
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x2af9
lea edx, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d71ef
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x74]
mov dword [ebp - 0x40], esi
test ebx, ebx
je 0x4d722f
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d721b
push 0x3f4
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d723f
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 0x4d723f
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 0x4d724b
mov ecx, 0x538640
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x4d727e
test ecx, ecx
je 0x4d727e
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d728a
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 0x4d728a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea eax, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d72bd
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x4d72fd
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d72e9
push 0x3ea
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d730d
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 0x4d730d
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 0x4d7319
mov ecx, 0x538640
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x4d734c
test ecx, ecx
je 0x4d734c
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d7358
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 0x4d7358
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ea
lea ecx, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d738b
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0xbc]
test ebx, ebx
je 0x4d73cb
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d73b7
push 0x3eb
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d73db
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 0x4d73db
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 0x4d73e7
mov ecx, 0x538640
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xcc]
test eax, eax
je 0x4d741a
test ecx, ecx
je 0x4d741a
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d7426
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 0x4d7426
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x8102
lea edx, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d7459
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x4d7499
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7485
push 0x3ec
push ebx
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp - 0x10]
jmp 0x4d74a9
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 0x4d74a9
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 0x4d74b5
mov ecx, 0x538640
mov eax, dword [edi + 0xf4]
lea esi, [edi + 0xf0]
test eax, eax
je 0x4d74e8
test ecx, ecx
je 0x4d74e8
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d74f4
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 0x4d74f4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x8108
lea eax, [ebp - 0x24]
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 - 0x24]
test eax, eax
je 0x4d7527
push eax
call fcn.005134a7
add esp, 4
lea esi, [edi + 0x170]
test ebx, ebx
je 0x4d7564
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7550
push 0x3f3
push ebx
mov edi, eax
call fcn.0042dc20
jmp 0x4d7574
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 0x4d7574
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 0x4d7580
mov ecx, 0x538640
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x184]
add edi, 0x180
test eax, eax
je 0x4d75b4
test ecx, ecx
je 0x4d75b4
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d75c0
mov edx, dword [edi]
mov ebx, dword [edx + 4]
add ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4d75c0
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [eax + edi], 0x57
xor bl, bl
cmp byte [0x55a4ac], bl
jne 0x4d75d3
call fcn.004bc570
test al, al
je 0x4d75d5
mov bl, 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4d75f6
test bl, bl
je 0x4d75eb
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d7606
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d7606
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 + 0xf38], 0
je 0x4d7620
mov ecx, dword [ebp - 0x18]
push ecx
add eax, 0x1b8
call fcn.0046db60
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0xf3c]
mov dword [ebp - 0x34], ecx
call fcn.004eae50
add edi, 0x20c
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4d7656
mov dword [edi + 0x410], eax
mov dword [edi + 0x618], eax
mov dword [edi + 0x7b8], eax
mov dword [edi + 0x97c], eax
mov ebx, dword [ebp - 0x18]
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 - 0x34]
call fcn.004eafd0
test eax, eax
je 0x4d76ad
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 ecx, dword [ebp - 0x34]
call fcn.004eb120
test eax, eax
je 0x4d76df
mov dword [edi + 0x418], eax
mov dword [edi + 0x61c], eax
mov dword [edi + 0x7bc], eax
mov dword [edi + 0x980], eax
mov ecx, dword [ebp - 0x34]
call fcn.004eb200
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4d7706
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 ecx, dword [ebp - 0x34]
call fcn.004eb440
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4d77a6
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xb690], ecx
cmp dword [ecx], 0xa0
jne 0x4d7776
mov cl, 1
cmp byte [eax + 0xe98], cl
je 0x4d7756
mov byte [eax + 0xe98], cl
cmp byte [edi + 0x421], cl
je 0x4d77a6
mov byte [edi + 0x421], cl
push 0
mov ecx, edi
call fcn.00478110
mov eax, edi
call fcn.00476590
jmp 0x4d77a6
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
cmp eax, 3
je 0x4d7785
cmp eax, 4
jne 0x4d77a6
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0x12c
jne 0x4d77a6
mov ecx, dword [ebp - 0x10]
cmp byte [ecx + 0xe98], 1
je 0x4d77a6
mov edx, ecx
mov byte [edx + 0xe98], 1
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
add edi, 0xbb0
test eax, eax
je 0x4d77bc
mov dword [edi + 0x2dc], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d77c9
mov dword [edi + 0x2e0], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4d77d6
mov dword [edi + 0x2e4], eax
push edi
mov ebx, esi
call fcn.00472180
push esi
push edi
call fcn.004724d0
push 1
push edi
mov ecx, esi
call fcn.00471f30
mov ecx, dword [ebp - 0x34]
call fcn.004eb520
mov ecx, dword [ebp - 0x10]
push 0x757c
lea edx, [ebp - 0x24]
mov dword [ecx + 0xb694], eax
push edx
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 - 0x24]
test eax, eax
je 0x4d7833
push eax
call fcn.005134a7
add esp, 4
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x4d787c
push 0x1794
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7862
push 0x1794
push esi
mov edi, eax
lea esi, [ebx + 0x104]
call fcn.0042dc20
mov esi, dword [ebp - 0x18]
jmp 0x4d7892
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0x114]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4d7892
mov edx, dword [ebx + 0x114]
mov eax, dword [edx + 4]
lea ebx, [eax + ebx + 0x114]
mov dword [ebx], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d789e
mov ecx, 0x538640
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x118]
test eax, eax
je 0x4d78d3
test ecx, ecx
je 0x4d78d3
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d78e7
mov ecx, dword [edi + 0x114]
mov ebx, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x114], eax
jmp 0x4d78e7
mov edx, dword [edi + 0x114]
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x114], 0x57
push 0x8109
lea eax, [ebp - 0x24]
push eax
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 - 0x24]
test eax, eax
je 0x4d791a
push eax
call fcn.005134a7
add esp, 4
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x4d7963
push 0x3f2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7949
push 0x3f2
push esi
mov edi, eax
lea esi, [ebx + 0x128]
call fcn.0042dc20
mov esi, dword [ebp - 0x18]
jmp 0x4d7979
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0x138]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4d7979
mov eax, dword [ebx + 0x138]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0x138]
mov dword [ebx], 0x57
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4d7985
mov ecx, 0x538640
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x4d79ba
test ecx, ecx
je 0x4d79ba
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d79ce
mov edx, dword [edi + 0x138]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x138], eax
jmp 0x4d79ce
mov eax, dword [edi + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x138], 0x57
mov ebx, edi
test esi, esi
je 0x4d7a9d
push 0x17c3
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4d7a80
push 0x17c3
push esi
mov edi, eax
lea esi, [ebx + 0x14c]
call fcn.0042dc20
cmp al, 1
jne 0x4d7a15
mov edx, ebx
cmp dword [edx + 0xb690], 0
je 0x4d7a15
mov ecx, edx
call fcn.004d8c10
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
call fcn.004eb4a0
mov ecx, dword [ebp - 0x10]
add ecx, 0xe9c
test eax, eax
je 0x4d7a33
mov dword [ecx + 0x80], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4d7a40
mov dword [ecx + 0x90], eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
call fcn.004ea990
mov ebx, dword [ebp - 0x10]
xor edi, edi
mov byte [ebp - 0x11], al
cmp esi, edi
je 0x4d7ad2
push 0x7df
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, edi
je 0x4d7ab8
push 0x7df
push esi
mov edi, eax
lea esi, [ebx + 0x194]
call fcn.0042dc20
xor edi, edi
jmp 0x4d7ae8
mov ecx, dword [ebx + 0x15c]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0x15c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x4d7a18
mov eax, dword [ebx + 0x15c]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0x15c]
mov dword [ebx], 0x57
jmp 0x4d7a18
mov eax, dword [ebx + 0x1a4]
mov ecx, dword [eax + 4]
lea esi, [ecx + ebx + 0x1a4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4d7ae8
mov edx, dword [ebx + 0x1a4]
mov eax, dword [edx + 4]
lea eax, [eax + ebx + 0x1a4]
mov dword [eax], 0x57
mov ecx, ebx
cmp byte [ecx + 0xf39], 0
je 0x4d7ba3
push 0x84e7
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x4d7b2a
push eax
call fcn.005134a7
add esp, 4
cmp byte [ebp - 0x11], 0
mov eax, dword [ebx + 0x1a8]
jne 0x4d7b6d
cmp eax, edi
je 0x4d7b51
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x44]
jmp 0x4d7c36
mov eax, dword [ebx + 0x1a4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x44]
mov dword [eax + ebx + 0x1a4], 6
jmp 0x4d7c36
cmp eax, edi
je 0x4d7b87
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x44]
jmp 0x4d7c36
mov ecx, dword [ebx + 0x1a4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x44]
mov dword [eax + ebx + 0x1a4], 6
jmp 0x4d7c36
push 0x84e8
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x4d7bdf
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
cmp byte [ebp - 0x11], 0
mov eax, dword [ebx + 0x1a8]
je 0x4d7c0b
cmp eax, edi
je 0x4d7c00
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d7c33
mov edx, dword [ebx + 0x1a4]
mov eax, dword [edx + 4]
jmp 0x4d7c28
cmp eax, edi
je 0x4d7c1f
push edi
push edi
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d7c33
mov eax, dword [ebx + 0x1a4]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x1a4], 6
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4d7c47
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d7c57
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 0x4d7c63
mov ecx, 0x538640
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x1a8]
cmp eax, edi
je 0x4d7c98
cmp ecx, edi
je 0x4d7c98
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4d7cac
mov ecx, dword [esi + 0x1a4]
mov ebx, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi + 0x1a4], eax
jmp 0x4d7cac
mov edx, dword [esi + 0x1a4]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x1a4], 0x57
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x4d7cc3
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