Function at 0x47b8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x234
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push esi
push edi
push 0
mov ebx, eax
mov eax, dword [esp + 0x250]
push 0
push eax
mov ecx, ebp
lea edx, [esp + 0x258]
call fcn.0047ac10
mov edi, dword [esp + 0x258]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
call fcn.00428370
mov dword [esp + 0x28], eax
test eax, eax
jne 0x47b941
mov ecx, dword [0x4e4b24]
test byte [ecx + 0x100], 1
jne 0x47b91c
mov edx, dword [0x4e86f0]
push 1
push eax
push 0xffffffffffffffff
push 0x4bf81c
push edx
call fcn.004a2810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 0x10
mov edi, dword [esp + 0x248]
push 0x4bd2c4
push 0
push 0x4bf81c
call fcn.00449890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 0x10
test esi, esi
jne 0x47b976
mov eax, dword [0x4e4b24]
test byte [eax + 0x100], 1
jne 0x47b91c
mov ecx, dword [0x4e86f0]
push 1
push esi
push 0xffffffffffffffff
push 0x4bf81c
push ecx
call fcn.004a2810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 0x10
push ebp
mov edi, esi
call fcn.00486d40
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x10]
jb 0x47b9a0
mov edi, dword [esp + 0x248]
call fcn.0044b7c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 0x10
mov edx, dword [0x4e86f0]
push 1
xor edi, edi
push edi
push 0xffffffffffffffff
mov ebp, eax
push 0x4bbb9c
shl ebp, 6
add ebp, dword [esi + 0x18]
push edx
call fcn.004a2810
mov eax, dword [0x4e9044]
mov ecx, dword [0x4e9048]
mov dword [0x4e9044], edi
mov dword [0x4e9048], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x60], eax
lea eax, [edi - 1]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], 1
mov byte [esp + 0x13], 0
cmp eax, 0xc
ja case.default.0x47b9fc
jmp dword [eax*4 + 0x47c8d4]
mov edi, ebp
lea esi, [esp + 0x88]
call fcn.004846f0
mov edx, dword [esp + 0x254]
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ebp
mov ecx, esi
push ecx
push edx
mov edx, dword [esp + 0x260]
call fcn.00481b70
mov dword [esp + 0x2c], eax
jmp case.0x47ba53.10
mov al, byte [ebp + 4]
movzx ecx, al
dec ecx
cmp ecx, 0x18
ja case.0x47ba53.7
movzx ecx, byte [ecx + 0x47c940]
jmp dword [ecx*4 + 0x47c908]
mov al, byte [ebp + 5]
shr al, 6
and al, 1
mov byte [esp + 0x13], al
jmp case.0x47ba53.4
mov eax, dword [ebp]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.00413050
mov esi, eax
cmp word [esi], 0x2a
jne 0x47bb53
lea ecx, [ecx]
mov ebx, 0x4bfcf4
mov eax, esi
call fcn.00405590
mov ebx, eax
test ebx, ebx
jne 0x47bad9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47bac7
sub eax, edx
sar eax, 1
lea ebx, [esi + eax*2]
movzx edi, word [ebx]
push 4
xor ecx, ecx
add esi, 2
push str.Icon
push esi
mov word [ebx], cx
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x47bb07
add esi, 8
call fcn.00417490
mov dword [esp + 0x24], eax
jmp 0x47bb36
mov ax, word [esi]
call fcn.00413020
movzx eax, ax
cmp eax, 0x48
je 0x47bb2a
cmp eax, 0x57
jne 0x47bb36
add esi, 2
call fcn.00417490
mov dword [esp + 0x20], eax
jmp 0x47bb36
add esi, 2
call fcn.00417490
mov dword [esp + 0x18], eax
mov eax, ebx
mov word [ebx], di
call fcn.00413050
mov esi, eax
cmp word [esi], 0x2a
je 0x47bab0
test edi, edi
je 0x47bb53
add ebx, 2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebx
mov esi, ebp
call fcn.004849d0
test eax, eax
je 0x47c604
mov byte [esp + 0x13], 1
jmp case.0x47ba53.4
cmp edi, 2
jne case.0x47ba53.4
push 0
push 0
push 0
push 1
mov eax, ebx
call fcn.0049e420
add esp, 0x10
test eax, eax
je case.0x47ba53.4
mov esi, ebx
call fcn.00417490
test eax, eax
je 0x47bbc3
cmp eax, 1
je 0x47bbc3
cmp byte [ebp + 4], 5
jne case.0x47ba53.4
cmp eax, 0xffffffff
jne case.0x47ba53.4
jmp 0x47bbc8
cmp eax, 0xffffffff
jne 0x47bbcd
mov eax, 2
cmp byte [ebp + 4], 6
jne 0x47bbe7
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ebp
call fcn.00489a10
jmp case.0x47ba53.10
mov ecx, dword [ebp]
push 0
push eax
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
cmp word [ebx], 0
je 0x47bc1f
mov edx, dword [ebp]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x47bc1f
mov edi, ebx
call fcn.0049f340
mov esi, eax
jmp 0x47bc21
mov esi, ebx
mov eax, esi
test esi, esi
jne 0x47bc29
mov eax, ebx
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test esi, esi
je case.0x47ba53.10
cmp esi, ebx
je case.0x47ba53.10
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp case.0x47ba53.10
cmp edi, 2
jne 0x47bca9
cmp word [ebx], 0
je 0x47bc8e
push 1
push ebx
lea esi, [esp + 0x70]
call fcn.0049e0a0
add esp, 8
test eax, eax
je case.0x47ba53.10
mov edx, dword [ebp]
mov ecx, esi
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
mov ecx, dword [ebp]
lea eax, [esp + 0x68]
push eax
push 1
push 0x1002
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
mov edx, dword [ebp]
push 0xfffffffffffffff0
push edx
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
and esi, 0xfffffff2
cmp word [ebx], 0
je 0x47bcdd
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push str.LongDate
push ebx
call edi
add esp, 8
test eax, eax
jne 0x47bd0e
or esi, 4
mov eax, dword [ebp]
push esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov al, byte [esp + 0x13]
mov edx, dword [ebp]
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, ebx
push ecx
push 0
push 0x1032
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
push str.Time
push ebx
call edi
add esp, 8
test eax, eax
jne 0x47bd22
or esi, 9
jmp 0x47bcdd
mov al, 1
jmp 0x47bcee
cmp word [ebx], 0
je case.0x47ba53.10
lea eax, [esp + 0x68]
mov ecx, ebx
call fcn.0049e010
mov esi, eax
test esi, esi
je case.0x47ba53.4
mov eax, dword [ebp]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x47be3d
cmp esi, 1
jne 0x47bd84
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov eax, dword [ebp]
lea edx, [esp + 0x68]
push edx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov bl, byte [ebp + 6]
mov ecx, dword [esp + 0x14]
call fcn.0048a300
test eax, eax
je case.0x47ba53.10
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x47ba53.10
mov edx, dword [ebp]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x34]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
push 1
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x47be2c
mov eax, dword [0x4e9044]
test eax, eax
je 0x47be1c
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [0x4e9048], 0x400000
jbe 0x47be1c
dec dword [0x4e904c]
mov ecx, dword [esp + 0x64]
mov dword [0x4e9044], esi
mov dword [0x4e9048], ecx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 0x10
mov edx, dword [ebp]
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x1002
push edx
jmp 0x47bd94
push 0
mov eax, ebx
call fcn.004898a0
mov ecx, dword [ebp]
movzx eax, ax
push eax
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
cmp word [ebx], 0x2b
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x47beb4
lea esi, [ebx + 2]
call fcn.00417490
test byte [ebp + 5], 0x80
push 0
mov esi, eax
push 0
je 0x47bea2
mov edx, dword [ebp]
push 0x472
push edx
call edi
add esi, eax
jmp 0x47bebd
mov eax, dword [ebp]
push 0x468
push eax
call edi
movsx ecx, ax
add esi, ecx
jmp 0x47bebd
mov esi, ebx
call fcn.00417490
mov esi, eax
mov dl, byte [ebp + 5]
mov ecx, dword [ebp]
and dl, 0x80
movzx eax, dl
neg eax
sbb eax, eax
push esi
and eax, 0xa
push 0
add eax, 0x467
push eax
push ecx
call edi
jmp case.0x47ba53.10
cmp word [ebx], 0x2b
jne 0x47bf23
lea esi, [ebx + 2]
call fcn.00417490
test byte [ebp + 5], 0x80
mov edi, eax
je 0x47bef9
neg edi
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x400
push edx
call esi
add eax, edi
push eax
mov eax, dword [ebp]
push 1
push 0x405
push eax
call esi
jmp case.0x47ba53.10
mov esi, ebx
call fcn.00417490
test byte [ebp + 5], 0x80
je 0x47bf38
push eax
mov edi, ebp
call fcn.00489b70
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
cmp word [ebx], 0x2b
push 0
jne 0x47bf74
lea esi, [ebx + 2]
call fcn.00417490
mov edx, dword [ebp]
push eax
push 0x403
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
mov esi, ebx
call fcn.00417490
push eax
mov eax, dword [ebp]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x47ba53.10
mov ecx, dword [ebp]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x47ba53.10
cmp al, 8
jne 0x47bfd7
cmp edi, 3
jne 0x47bfd7
mov edx, dword [ebp]
push 0
push 0xffffffffffffffff
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [esp + 0x13], 0
jne 0x47bdb8
jmp case.0x47ba53.10
mov cx, word [ebx]
cmp cx, word [esi + 0x46]
jne 0x47c011
add ebx, 2
cmp al, 9
je 0x47bffd
xor edx, edx
cmp al, 0x13
sete dl
lea eax, [edx - 1]
and eax, 0xffffee42
add eax, 0x1309
jmp 0x47c002
mov eax, 0x184
push 0
push 0
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [ebx], 0
je 0x47c023
push 0
push esi
mov eax, ebx
mov edi, ebp
call fcn.00484750
cmp byte [ebp + 4], 0x13
jne case.0x47ba53.10
mov edi, dword [esp + 0x14]
mov eax, dword [ebp]
push edi
call fcn.0048ab10
push 0
push ebp
call fcn.00489fb0
jmp case.0x47ba53.10
cmp word [ebx], 0
mov edi, connect
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
je 0x47c13a
mov edi, dword [sym.imp.MSVCR100.dll__wtoi]
add ebx, 2
nop
mov ax, word [ebx - 2]
call fcn.00413020
movzx eax, ax
add eax, 0xffffffb8
cmp eax, 0x11
ja case.0x47c08f.73
movzx ecx, byte [eax + 0x47c970]
jmp dword [ecx*4 + 0x47c95c]
push ebx
call edi
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x47c0b5
mov edx, dword [0x4ea160]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x24], eax
jmp case.0x47c08f.73
push ebx
call edi
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x47c0da
mov ecx, dword [0x4ea160]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x1c], eax
jmp case.0x47c08f.73
push ebx
call edi
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x47c0ff
mov edx, dword [0x4ea160]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x20], eax
jmp case.0x47c08f.73
push ebx
call edi
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x47c124
mov ecx, dword [0x4ea160]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x18], eax
add ebx, 2
cmp word [ebx - 2], 0
jne 0x47c070
mov edi, dword [esp + 0x20]
mov eax, dword [ebp]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp]
push eax
push ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp edi, 0x80000000
je 0x47c17b
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x18]
cmp eax, 0x80000000
je 0x47c18a
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x80000000
jne 0x47c19e
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x47c1b1
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
push 1
push ecx
mov ecx, dword [ebp]
push eax
mov eax, dword [esp + 0x4c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x47c604
mov al, byte [ebp + 4]
cmp al, 0x11
jne 0x47c242
mov edx, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x421
push edx
call ebx
push 0
push 0
mov edi, eax
mov eax, dword [ebp]
push 0x421
push eax
call ebx
mov dword [esp + 0x48], eax
test edi, edi
je 0x47c21f
mov ecx, dword [ebp]
push edi
push 1
push 0x420
push ecx
call ebx
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [esp + 0x48]
test edi, edi
je 0x47c2a0
mov edx, dword [ebp]
push edi
push 0
push 0x420
push edx
call ebx
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x47c2a0
cmp al, 0x13
jne 0x47c2a0
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp]
sub edi, 0x80000000
neg edi
sbb edi, edi
xor eax, eax
and edi, 2
cmp dword [esp + 0x24], 0x80000000
push str.ahk_autosize
setne al
push ecx
or edi, eax
call dword [sym.imp.USER32.dll_GetPropW]
test edi, eax
je 0x47c2a0
not edi
and eax, edi
je 0x47c291
mov edx, dword [ebp]
push eax
push str.ahk_autosize
push edx
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x47c2a0
mov eax, dword [ebp]
push str.ahk_autosize
push eax
call dword [sym.imp.USER32.dll_RemovePropW]
cmp dword [esp + 0x28], 5
jne 0x47c2da
mov edx, dword [ebp]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x34]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
push 1
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x1c], ecx
xor eax, eax
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [esi + 0x10], eax
jbe 0x47c3a3
xor ebx, ebx
jmp 0x47c310
mov eax, dword [esi + 0x18]
cmp byte [eax + ebx + 4], 0x19
je 0x47c392
mov eax, dword [eax + ebx]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x47c357
mov eax, dword [eax + 0x14]
jmp 0x47c359
xor eax, eax
sub eax, dword [esp + 0x50]
mov ecx, dword [esi + 0xcc]
add eax, dword [esp + 0x58]
add eax, dword [esp + 0x48]
test ecx, ecx
je 0x47c374
mov ecx, dword [ecx + 0x14]
jmp 0x47c376
xor ecx, ecx
sub ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x4c]
cmp eax, ebp
jle 0x47c388
mov ebp, eax
cmp ecx, dword [esp + 0x18]
jle 0x47c392
mov dword [esp + 0x18], ecx
inc edi
add ebx, 0x40
cmp edi, dword [esi + 0x10]
jb 0x47c310
mov eax, dword [esp + 0x18]
cmp ebp, dword [esi + 0x90]
je 0x47c3b1
mov dword [esi + 0x90], ebp
cmp eax, dword [esi + 0x94]
je 0x47c3bf
mov dword [esi + 0x94], eax
test dword [esi + 0x3c], 0x300000
je case.0x47ba53.10
mov eax, dword [esi + 4]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push 0
push ecx
push edx
call fcn.0047a970
add esp, 0xc
jmp case.0x47ba53.10
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x47c604
mov dword [esp + 0x2c], 1
jmp case.0x47ba53.10
cmp edi, 7
jne 0x47c41e
and byte [ebp + 5], 0xef
jmp 0x47c422
or byte [ebp + 5], 0x10
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.0048a300
mov esi, eax
test esi, esi
je 0x47c46b
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x8000000
jne case.0x47ba53.10
mov edx, dword [esi]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
je 0x47c46b
cmp eax, 0xffffffff
jne case.0x47ba53.10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edx + 4]
jne 0x47c48b
call esi
cmp eax, dword [ebp]
jne 0x47c48b
mov bl, 1
jmp 0x47c48d
xor bl, bl
mov ecx, dword [ebp]
xor eax, eax
cmp edi, 7
sete al
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
je 0x47c52d
call esi
test eax, eax
jne 0x47c52d
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47c52d
cmp edi, 9
jne 0x47c4c9
and byte [ebp + 5], 0xf7
jmp 0x47c4cd
or byte [ebp + 5], 8
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.0048a300
mov esi, eax
test esi, esi
je 0x47c516
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je case.0x47ba53.10
mov edx, dword [esi]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
je 0x47c516
cmp eax, 0xffffffff
jne case.0x47ba53.10
mov eax, dword [ebp]
xor edx, edx
cmp edi, 9
setne dl
dec edx
and edx, 4
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 4], 0x13
jne case.0x47ba53.10
mov edi, dword [esp + 0x14]
push 0
push ebp
call fcn.00489fb0
jmp case.0x47ba53.10
movzx eax, word [esi + 0x46]
mov dword [esp + 0x1c], 0
cmp word [ebx], ax
jne 0x47c564
add ebx, 2
mov dword [esp + 0x1c], 1
cmp byte [ebp + 4], 0x13
jne 0x47c64f
cmp edi, 0xb
jne 0x47c589
push 0
push 0
push 0
push 1
mov eax, ebx
call fcn.0049e420
add esp, 0x10
test eax, eax
jmp 0x47c58c
cmp edi, 0xc
jne 0x47c59c
push 0
push ebp
mov edi, ebx
call fcn.0048a350
mov esi, eax
jmp 0x47c5a6
mov esi, ebx
call fcn.00417490
lea esi, [eax - 1]
cmp esi, 0xff
ja 0x47c604
mov ecx, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
push ecx
call edi
cmp dword [esp + 0x1c], 0
mov ebx, eax
je 0x47c619
mov edx, dword [ebp]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
jne 0x47c619
mov eax, dword [ebp]
push 0
push esi
push 0x1330
push eax
call edi
mov ecx, dword [ebp]
push 0
push 0
push 0x130b
push ecx
call edi
cmp eax, esi
je case.0x47ba53.10
mov edi, dword [esp + 0x248]
call fcn.0044b7c0
mov dword [esp + 0x2c], eax
jmp case.0x47ba53.10
mov edx, dword [ebp]
push 0
push esi
push 0x130c
push edx
call edi
cmp eax, 0xffffffff
je 0x47c604
cmp ebx, esi
je case.0x47ba53.10
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x14]
setg al
movzx ecx, al
push ecx
push ebp
call fcn.00489fb0
jmp case.0x47ba53.10
cmp word [ebx], ax
jne 0x47c65b
add ebx, 2
inc dword [esp + 0x1c]
cmp edi, 0xb
jne 0x47c67e
push 0
push 0
push 0
push 1
mov eax, ebx
call fcn.0049e420
add esp, 0x10
test eax, eax
jne 0x47c67e
mov dword [esp + 0x28], 0xc
mov al, byte [ebp + 4]
cmp al, 7
jb 0x47c604
cmp al, 8
jbe 0x47c6dd
cmp al, 9
jne 0x47c604
mov edx, dword [ebp]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [esp + 0x28]
sub edi, 0xb
test eax, 0x808
je 0x47c6c6
neg edi
sbb edi, edi
and edi, 0xa
add edi, 0x185
mov dword [esp + 0x20], 2
jmp 0x47c6f5
neg edi
sbb edi, edi
and edi, 6
add edi, 0x186
mov dword [esp + 0x20], 2
jmp 0x47c6f5
xor eax, eax
cmp dword [esp + 0x28], 0xb
mov dword [esp + 0x20], 9
sete al
lea edi, [eax + 0x14d]
cmp dword [esp + 0x28], 0xc
jne 0x47c748
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xffffffffffffffff
cmp edi, 0x18f
jne 0x47c736
mov ecx, dword [ebp]
push edi
push ecx
call esi
cmp eax, 0xffffffff
je 0x47c604
mov edx, dword [ebp]
push eax
push 1
push 0x185
push edx
call esi
cmp eax, 0xffffffff
je 0x47c604
jmp 0x47c79b
mov eax, dword [ebp]
push edi
push eax
call esi
cmp eax, 0xffffffff
je 0x47c604
jmp 0x47c79b
mov esi, ebx
call fcn.00417490
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
jl 0x47c604
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 0x185
jne 0x47c784
mov edx, dword [ebp]
xor ecx, ecx
test ebx, ebx
setns cl
push ebx
push ecx
push edi
push edx
call esi
cmp eax, 0xffffffff
je 0x47c604
jmp 0x47c79b
mov eax, dword [ebp]
push 0
push ebx
push edi
push eax
call esi
cmp eax, 0xffffffff
jne 0x47c79b
cmp ebx, eax
jne 0x47c604
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add edi, 3
test ebx, ebx
jle 0x47c7c7
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
movzx edx, di
or edx, 0x10000
push edx
push 0x111
push ecx
call esi
cmp ebx, 1
jle case.0x47ba53.10
movzx eax, word [esp + 0x20]
mov edx, dword [ebp]
movzx ecx, di
push edx
mov edx, dword [esp + 0x18]
shl eax, 0x10
or eax, ecx
push eax
mov eax, dword [edx + 4]
push 0x111
push eax
call esi
jmp case.0x47ba53.10
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4e9820]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push ecx
call ebx
mov al, byte [ebp + 4]
cmp al, 2
je case.0x47c855.12
cmp al, 0x10
je case.0x47c855.12
cmp al, 0x11
je case.0x47c855.12
cmp al, 0x12
je case.0x47c855.12
cmp al, 0xa
je 0x47c84a
mov edx, dword [esi + 0x54]
mov dword [ebp + 0x10], edx
movzx eax, al
add eax, 0xfffffff6
cmp eax, 4
ja case.0x47c855.12
jmp dword [eax*4 + 0x47c984]
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp]
push eax
push 0
push 0x1024
push ecx
call ebx
mov edx, dword [ebp]
push 1
push 0
push edx
jmp 0x47bde9
mov edx, dword [esi + 0x54]
mov eax, dword [ebp]
push edx
push 0
push 0x111e
push eax
call ebx
mov edx, dword [ebp]
push 1
push 0
push edx
jmp 0x47bde9
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp]
push ecx
push 1
push 0x1006
push edx
call ebx
mov edx, dword [ebp]
push 1
push 0
push edx
jmp 0x47bde9
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp]
push eax
push 1
push 0x100a
push ecx
call ebx
mov edx, dword [ebp]
push 1
push 0
push edx
jmp 0x47bde9