Function at 0x4e9b10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cf48
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 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 + 0xd6c]
push 1
push eax
mov ecx, esi
call fcn.0051c450
lea ecx, [edi + 0xd74]
mov dword [ebp - 0x18], ecx
call fcn.004f7450
push 0xafda
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x5776a0
mov dword [edi + 0xb620], eax
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov ecx, eax
test eax, eax
jne 0x4e9b9f
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x4e9bc9
test ecx, ecx
je 0x4e9bc9
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9bd5
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 - 0x14]
jmp 0x4e9bd5
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8100
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4e9c08
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x50]
mov dword [ebp - 0x1c], esi
test ebx, ebx
je 0x4e9c48
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e9c34
push 0x3e9
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4e9c58
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 0x4e9c58
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 0x4e9c64
mov ecx, 0x54ee24
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4e9c91
test ecx, ecx
je 0x4e9c91
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9c9d
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 - 0x14]
jmp 0x4e9c9d
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x2af9
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4e9cd0
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x74]
mov dword [ebp - 0x20], esi
test ebx, ebx
je 0x4e9d10
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e9cfc
push 0x3f4
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4e9d20
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 0x4e9d20
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 0x4e9d2c
mov ecx, 0x54ee24
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x4e9d5f
test ecx, ecx
je 0x4e9d5f
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9d6b
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 - 0x14]
jmp 0x4e9d6b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4e9d9e
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x4e9dde
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e9dca
push 0x3ea
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4e9dee
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 0x4e9dee
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 0x4e9dfa
mov ecx, 0x54ee24
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x4e9e2d
test ecx, ecx
je 0x4e9e2d
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9e39
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 - 0x14]
jmp 0x4e9e39
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x80ea
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4e9e6c
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0xbc]
test ebx, ebx
je 0x4e9eac
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e9e98
push 0x3eb
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4e9ebc
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 0x4e9ebc
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 0x4e9ec8
mov ecx, 0x54ee24
mov eax, dword [edi + 0xd0]
lea esi, [edi + 0xcc]
test eax, eax
je 0x4e9efb
test ecx, ecx
je 0x4e9efb
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9f07
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 - 0x14]
jmp 0x4e9f07
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x8102
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4e9f3a
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x4e9f7a
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e9f66
push 0x3ec
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4e9f8a
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 0x4e9f8a
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 0x4e9f96
mov ecx, 0x54ee24
mov eax, dword [edi + 0xf4]
lea esi, [edi + 0xf0]
test eax, eax
je 0x4e9fc9
test ecx, ecx
je 0x4e9fc9
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e9fd5
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 - 0x14]
jmp 0x4e9fd5
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
push 0x8108
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ea008
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x104]
test ebx, ebx
je 0x4ea045
push 0x3f3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ea031
push 0x3f3
push ebx
mov edi, eax
call fcn.004351f0
jmp 0x4ea055
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 0x4ea055
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 0x4ea061
mov ecx, 0x54ee24
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x118]
test eax, eax
je 0x4ea099
test ecx, ecx
je 0x4ea099
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ea0ad
mov edx, dword [edi + 0x114]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x114], eax
mov ebx, dword [ebp + 8]
jmp 0x4ea0ad
mov eax, dword [edi + 0x114]
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x114], 0x57
cmp byte [0x57774c], 0
mov byte [ebp - 0xd], 0
jne 0x4ea0c3
call fcn.004c7ce0
test al, al
je 0x4ea0c7
mov byte [ebp - 0xd], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4ea0ea
cmp byte [ebp - 0xd], 0
je 0x4ea0df
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ea0fa
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ea0fa
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 6
cmp byte [edi + 0xd70], 0
je 0x4ea10f
push ebx
lea eax, [edi + 0x1c0]
call fcn.00476cd0
push 0x7563
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ea142
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x14c]
test ebx, ebx
je 0x4ea182
push 0x17a5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ea16e
push 0x17a5
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4ea192
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 0x4ea192
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 0x4ea19e
mov ecx, 0x54ee24
mov eax, dword [edi + 0x160]
lea esi, [edi + 0x15c]
test eax, eax
je 0x4ea1d1
test ecx, ecx
je 0x4ea1d1
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ea1dd
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 - 0x14]
jmp 0x4ea1dd
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
lea edx, [edi + 0x170]
mov eax, 0xbc0
mov ecx, ebx
call fcn.0042c8c0
push 0x8103
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ea222
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x19c]
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x4ea265
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ea251
push 0x3f1
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x14]
jmp 0x4ea275
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 0x4ea275
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 0x4ea281
mov ecx, 0x54ee24
mov eax, dword [edi + 0x1b0]
lea esi, [edi + 0x1ac]
test eax, eax
je 0x4ea2b1
test ecx, ecx
je 0x4ea2b1
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ea2bd
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
jmp 0x4ea2bd
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
mov ecx, dword [ebp - 0x18]
call fcn.004f6cf0
mov edi, dword [ebp - 0x14]
add edi, 0x214
test eax, eax
je 0x4ea2e4
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
mov esi, dword [ebp + 8]
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 0
push esi
push edi
call fcn.0047e680
push esi
push edi
call fcn.0047e8f0
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004f6e70
test eax, eax
je 0x4ea34e
mov dword [edi + 0x414], eax
mov dword [edi + 0x7e8], eax
mov dword [edi + 0xb24], eax
mov eax, esi
mov ebx, edi
call fcn.0047eb60
mov eax, esi
call fcn.0047ec40
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004f6fc0
test eax, eax
je 0x4ea36b
mov dword [edi + 0x418], eax
mov dword [edi + 0x7e0], eax
mov dword [edi + 0xb1c], eax
mov ecx, ebx
call fcn.004f70a0
test eax, eax
je 0x4ea3a2
mov dword [edi + 0x41c], eax
mov dword [edi + 0x7e4], eax
mov dword [edi + 0xb20], eax
mov eax, esi
mov ebx, edi
call fcn.0047ed20
push edi
mov eax, esi
call fcn.0047ee00
push 1
mov eax, esi
call fcn.0047ea80
call fcn.0047fed0
call fcn.004f6830
mov ebx, dword [ebp - 0x14]
mov byte [ebp + 0xb], al
test esi, esi
je 0x4ea3f5
push 0x7df
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4ea3db
push 0x7df
push esi
mov edi, eax
lea esi, [ebx + 0x128]
call fcn.004351f0
jmp 0x4ea40b
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
lea esi, [eax + ebx + 0x138]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4ea40b
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0x138]
mov dword [eax], 0x57
mov eax, ebx
cmp byte [eax + 0xd71], 0
lea ecx, [ebp - 0x3c]
je 0x4ea4c9
push 0x84e7
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ea44d
push eax
call fcn.0051ebab
add esp, 4
cmp byte [ebp + 0xb], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x13c]
jne 0x4ea47c
test eax, eax
je 0x4ea471
push 0
push 1
push 0xf1
push eax
call edi
jmp 0x4ea4a2
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4ea497
test eax, eax
je 0x4ea48e
push 0
push 0
push 0xf1
push eax
call edi
jmp 0x4ea4a2
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4ea4ba
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ea57e
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
jmp 0x4ea578
push 0x84e8
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
xor esi, esi
cmp eax, esi
je 0x4ea504
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
cmp byte [ebp + 0xb], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x13c]
je 0x4ea533
test eax, eax
je 0x4ea528
push 0
push 1
push 0xf1
push eax
call edi
jmp 0x4ea559
mov edx, dword [ebx + 0x138]
mov eax, dword [edx + 4]
jmp 0x4ea54e
test eax, eax
je 0x4ea545
push 0
push 0
push 0xf1
push eax
call edi
jmp 0x4ea559
mov eax, dword [ebx + 0x138]
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x138], 6
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4ea56e
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ea57e
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 0x10]
mov dword [eax], 6
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4ea58a
mov ecx, 0x54ee24
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x13c]
lea esi, [ebx + 0x138]
test eax, eax
je 0x4ea5c0
test ecx, ecx
je 0x4ea5c0
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4ea5cc
mov eax, dword [esi]
mov ebx, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + esi], eax
mov ebx, dword [ebp - 0x14]
jmp 0x4ea5cc
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
mov ecx, ebx
call fcn.004ea660
mov edx, dword [ebx + 0x184]
lea ecx, [ebx + 0x180]
xor eax, eax
test edx, edx
je 0x4ea5f1
push eax
push eax
push 0x146
push edx
call edi
jmp 0x4ea5fe
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add edx, ecx
mov dword [edx], 6
mov ecx, dword [ebp - 0x24]
test eax, eax
mov eax, dword [ecx + 8]
setne dl
test eax, eax
je 0x4ea61a
movzx ecx, dl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4ea62a
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
mov dword [eax], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4ea641
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 0xc