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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
mov ebx, dword [ebp + 0xc]
lea edx, [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
push 0
push 0
call fcn.00478d60
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.00478470
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x479cbf
mov eax, dword [0x4e7024]
test byte [eax + 0x100], 1
jne 0x479ca1
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4ebc
call fcn.004a6070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x2c]
push 0x4bfba0
push 0
push 0x4d4ebc
call fcn.0043e4d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x479c74
push ebx
mov ecx, edi
call fcn.00486360
mov dword [esp + 0x30], eax
cmp eax, dword [edi + 0x10]
jae 0x479c74
mov ecx, dword [0x4e97d8]
mov ebx, eax
push 1
push 0
push 0xffffffffffffffff
shl ebx, 6
add ebx, dword [edi + 0x18]
push 0x4bfc24
call fcn.004a6070
mov eax, dword [0x4ea368]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [0x4ea364]
mov dword [esp + 0x64], eax
lea eax, [edx - 1]
mov dword [0x4ea368], 0
mov dword [0x4ea364], 0
mov byte [esp + 0x13], 0
cmp eax, 0xc
ja case.default.0x479d2d
jmp dword [eax*4 + 0x47ae60]
push ebx
lea eax, [esp + 0x8c]
push eax
call fcn.00483910
push dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
push ebx
lea eax, [esp + 0x94]
push eax
push dword [ebp + 8]
call fcn.00480870
mov ebx, eax
jmp 0x47ae16
mov cl, byte [ebx + 4]
movzx eax, cl
dec eax
cmp eax, 0x18
ja case.0x479d7b.7
movzx eax, byte [eax + 0x47aecc]
jmp dword [eax*4 + 0x47ae94]
mov al, byte [ebx + 5]
shr al, 6
and al, 1
mov byte [esp + 0x13], al
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [esp + 0x13], 0
jne 0x47ade2
jmp case.0x479d7b.10
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x48]
mov edi, esi
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], 0
movzx eax, word [edi]
cmp eax, 0x20
je 0x479de3
cmp eax, 9
jne 0x479de8
add edi, 2
jmp 0x479dd6
cmp eax, 0x2a
jne 0x479f23
mov esi, edi
test edi, edi
je 0x479e49
movzx eax, word [edi]
test ax, ax
je 0x479e49
mov ecx, eax
mov dword [esp + 0x24], ecx
nop word [eax + eax]
mov eax, 0x4d5394
mov edx, 0x20
nop word [eax + eax]
cmp cx, dx
je 0x479e62
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
mov ecx, dword [esp + 0x24]
jne 0x479e20
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
mov dword [esp + 0x24], ecx
test ax, ax
jne 0x479e10
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479e50
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
movzx eax, word [esi]
add edi, 2
push 4
mov dword [esp + 0x18], eax
xor eax, eax
push str.Icon
push edi
mov word [esi], ax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x479e94
lea ecx, [edi + 8]
call fcn.004112f0
mov dword [esp + 0x1c], eax
jmp 0x479ee8
movzx eax, word [edi]
mov dword [esp + 0x24], eax
test eax, 0xffffff80
je 0x479ea6
xor edx, edx
jmp 0x479eb8
push 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, eax
and ecx, 0xffffffdf
test edx, edx
cmove ecx, eax
cmp ecx, 0x48
je 0x479edc
cmp ecx, 0x57
jne 0x479ee8
lea ecx, [edi + 2]
call fcn.004112f0
mov edx, eax
mov dword [esp + 0x20], edx
jmp 0x479eec
lea ecx, [edi + 2]
call fcn.004112f0
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, esi
mov word [esi], ax
movzx ecx, ax
cmp cx, 0x20
je 0x479f04
cmp cx, 9
jne 0x479f0d
movzx ecx, word [edi + 2]
add edi, 2
jmp 0x479ef8
cmp cx, 0x2a
je 0x479df1
mov ecx, dword [esp + 0x30]
test ax, ax
je 0x479f23
add esi, 2
push dword [esp + 0x1c]
push ecx
push edx
push esi
push ebx
call fcn.00483c00
test eax, eax
je 0x47a84e
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esp + 0x18]
jmp 0x47ade2
cmp edx, 2
jne case.0x479d7b.4
push 0
push 0
push 0
mov edx, 1
mov ecx, esi
call fcn.004a1930
add esp, 0xc
test eax, eax
je case.0x479d7b.4
mov ecx, esi
call fcn.004112f0
test eax, eax
je 0x479fad
cmp eax, 1
je 0x479fad
cmp byte [ebx + 4], 5
jne case.0x479d7b.4
cmp eax, 0xffffffff
jne case.0x479d7b.4
mov eax, 2
push 0
push eax
push 0xf1
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
cmp byte [ebx + 4], 6
jne 0x479f98
push eax
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
push ebx
call fcn.00489460
jmp case.0x479d7b.10
cmp word [esi], 0
je case.0x479d7b.25
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je case.0x479d7b.25
mov ecx, esi
call fcn.004a2870
mov edi, eax
mov ecx, esi
test edi, edi
cmovne ecx, edi
push ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
test edi, edi
je case.0x479d7b.10
cmp edi, esi
je case.0x479d7b.10
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
add esp, 4
mov ebx, 1
jmp 0x47ae1c
cmp edx, 2
jne 0x47a076
cmp word [esi], 0
je 0x47a05d
push 1
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.004a1590
add esp, 4
test eax, eax
je case.0x479d7b.10
lea eax, [esp + 0x68]
push eax
push 0
push 0x1002
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
lea eax, [esp + 0x68]
push eax
push 1
push 0x1002
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
push 0xfffffffffffffff0
push dword [ebx]
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
and edi, 0xfffffff2
cmp word [esi], 0
je 0x47a0a6
push str.LongDate
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x47a0cf
or edi, 4
push edi
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
cmp byte [esp + 0x13], al
cmovne eax, esi
push eax
push 0
push 0x1032
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
push str.Time
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x47a0e7
or edi, 9
jmp 0x47a0a6
mov byte [esp + 0x13], 1
jmp 0x47a0b1
movzx eax, word [esi]
test ax, ax
je case.0x479d7b.10
mov dword [esp + 0x14], 0
lea ecx, [esi + 2]
cmp eax, 0x2d
je 0x47a156
push 0x2d
push ecx
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x47a123
xor ecx, ecx
mov word [eax], cx
push 1
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.004a1590
xor ecx, ecx
add esp, 4
test eax, eax
mov edx, 1
mov eax, dword [esp + 0x18]
cmovne ecx, edx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x47a17b
mov ecx, 0x2d
mov word [eax], cx
lea ecx, [eax + 2]
cmp word [ecx], 0
je 0x47a17f
push 1
lea edx, [esp + 0x7c]
call fcn.004a1590
add esp, 4
test eax, eax
mov eax, dword [esp + 0x14]
je 0x47a183
or eax, 2
mov dword [esp + 0x14], eax
jmp 0x47a183
mov eax, ecx
jmp 0x47a183
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x479d7b.4
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x47a1fd
cmp dword [esp + 0x14], 1
jne 0x47a1aa
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x78], xmm0
lea eax, [esp + 0x68]
push eax
push 0
push 0x1006
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ch, byte [ebx + 6]
cmp ch, 0xff
je case.0x479d7b.10
mov esi, dword [edi + 0x10]
xor cl, cl
xor edx, edx
test esi, esi
je case.0x479d7b.10
mov eax, dword [edi + 0x18]
nop dword [eax]
cmp byte [eax + 4], 0x13
jne 0x47a1f0
cmp cl, ch
je 0x47add2
inc cl
inc edx
add eax, 0x40
cmp edx, esi
jb 0x47a1e0
jmp case.0x479d7b.10
lea eax, [esp + 0x68]
push eax
push 0
push 0x1002
jmp 0x47a1b6
mov ecx, esi
call fcn.004892e0
push 0
movzx eax, ax
push eax
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
cmp word [esi], 0x2b
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x47a265
lea ecx, [esi + 2]
call fcn.004112f0
cmp byte [ebx + 5], 0
mov esi, eax
mov eax, dword [ebx]
push 0
push 0
jge 0x47a258
push 0x472
push eax
call edi
add esi, eax
jmp 0x47a26e
push 0x468
push eax
call edi
cwde
add esi, eax
jmp 0x47a26e
mov ecx, esi
call fcn.004112f0
mov esi, eax
movsx eax, byte [ebx + 5]
sar eax, 0x1f
push esi
and eax, 0xa
push 0
add eax, 0x467
push eax
push dword [ebx]
call edi
jmp case.0x479d7b.10
cmp word [esi], 0x2b
jne 0x47a2c8
lea ecx, [esi + 2]
call fcn.004112f0
cmp byte [ebx + 5], 0
mov edi, eax
jge 0x47a2a2
neg edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x400
push dword [ebx]
call esi
add eax, edi
push eax
push 1
push 0x405
push dword [ebx]
call esi
jmp case.0x479d7b.10
mov ecx, esi
call fcn.004112f0
cmp byte [ebx + 5], 0
mov edi, eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
jge 0x47a306
push 0
push 0
push 0x402
push dword [ebx]
call eax
push 0
push 0
push 0x401
push dword [ebx]
mov esi, eax
sub esi, edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + eax]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x405
push dword [ebx]
call eax
jmp case.0x479d7b.10
cmp word [esi], 0x2b
jne 0x47a33a
lea ecx, [esi + 2]
call fcn.004112f0
push 0
push eax
push 0x403
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
mov ecx, esi
call fcn.004112f0
push 0
push eax
push 0x402
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
cmp cl, 8
jne 0x47a37f
cmp edx, 3
jne 0x47a37f
push 0
push 0xffffffffffffffff
push 0x14e
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x479d7b.10
mov ax, word [esi]
cmp ax, word [edi + 0x46]
jne 0x47a3b4
add esi, 2
cmp cl, 9
je 0x47a3a2
cmp cl, 0x13
mov eax, 0x1309
mov edx, 0x14b
cmovne eax, edx
jmp 0x47a3a7
mov eax, 0x184
push 0
push 0
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push esi
push ebx
mov ecx, edi
call fcn.00483980
cmp byte [ebx + 4], 0x13
jne case.0x479d7b.10
mov esi, dword [ebx]
push str.ahk_dlg
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x47a411
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push esi
call fcn.00489e90
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
sub eax, edx
push 1
push eax
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
push ebx
mov ecx, edi
call fcn.004899e0
jmp case.0x479d7b.10
movzx eax, word [esi]
mov dword [esp + 0x24], SysReAllocString
mov dword [esp + 0x30], SysReAllocString
mov dword [esp + 0x14], SysReAllocString
mov dword [esp + 0x20], SysReAllocString
test ax, ax
je 0x47a570
mov ecx, eax
lea eax, [esi + 2]
mov dword [esp + 0x1c], eax
movzx esi, cx
test esi, 0xffffff80
jne 0x47a473
push 2
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x47a473
and esi, 0xffffffdf
add esi, 0xffffffb8
cmp esi, 0x11
ja case.0x47a486.73
movzx eax, byte [esi + 0x47aefc]
jmp dword [eax*4 + 0x47aee8]
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x14], edx
je case.0x47a486.73
push 0x60
push dword [0x4eb944]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x14], eax
jmp case.0x47a486.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x20], edx
je case.0x47a486.73
push 0x60
push dword [0x4eb944]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x20], eax
jmp case.0x47a486.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x24], edx
je case.0x47a486.73
push 0x60
push dword [0x4eb944]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x24], eax
jmp case.0x47a486.73
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
cmp byte [edi + 0xc8], 0
mov dword [esp + 0x30], edx
je case.0x47a486.73
push 0x60
push dword [0x4eb944]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
add ecx, 2
mov dword [esp + 0x1c], ecx
movzx eax, word [ecx - 2]
mov ecx, eax
test ax, ax
jne 0x47a455
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x24], 0x80000000
mov edi, dword [esp + 0x38]
cmovne edi, dword [esp + 0x24]
cmp dword [esp + 0x30], 0x80000000
mov esi, dword [esp + 0x3c]
cmovne esi, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
cmp edx, 0x80000000
mov ecx, dword [esp + 0x48]
cmove edx, eax
mov dword [esp + 0x38], edi
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
cmp eax, 0x80000000
push 1
push edx
cmove eax, ecx
mov dword [esp + 0x44], esi
push eax
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x47a84e
mov al, byte [ebx + 4]
cmp al, 0x11
jne 0x47a6bd
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x421
push dword [ebx]
call esi
push 0
push 0
push 0x421
push dword [ebx]
mov dword [esp + 0x3c], eax
call esi
mov edi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47a65e
push eax
push 1
push 0x420
push dword [ebx]
call esi
mov eax, dword [esp + 0x2c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test edi, edi
je 0x47a679
push edi
push 0
push 0x420
push dword [ebx]
call esi
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x28], 5
jne 0x47a71e
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x40]
push 2
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x47a722
cmp al, 0x13
jne 0x47a679
mov edi, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x20], 0x80000000
mov esi, 2
push str.ahk_autosize
push dword [ebx]
cmove esi, eax
cmp edi, 0x80000000
setne al
or esi, eax
call dword [sym.imp.USER32.dll_GetPropW]
test esi, eax
je 0x47a67d
mov ecx, dword [ebx]
not esi
and eax, esi
je 0x47a70d
push eax
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x47a67d
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_RemovePropW]
jmp 0x47a67d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x1c], edi
xor edi, edi
mov dword [ebx + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x18], edx
cmp dword [esi + 0x10], edx
jbe 0x47a7ee
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 0x18]
add eax, ecx
cmp byte [eax + 4], 0x19
je 0x47a7d9
lea ecx, [esp + 0x50]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x47a79c
mov eax, dword [eax + 0x14]
jmp 0x47a79e
xor eax, eax
sub eax, dword [esp + 0x50]
add eax, dword [esp + 0x58]
add eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x47a7b9
mov ecx, dword [ecx + 0x14]
jmp 0x47a7bb
xor ecx, ecx
sub ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x34]
cmp eax, edi
mov edx, dword [esp + 0x18]
cmovg edi, eax
cmp ecx, ebx
cmovg ebx, ecx
mov ecx, dword [esp + 0x2c]
inc edx
add ecx, 0x40
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
cmp edx, dword [esi + 0x10]
jb 0x47a753
cmp edi, dword [esi + 0x90]
je 0x47a7fc
mov dword [esi + 0x90], edi
cmp ebx, dword [esi + 0x94]
je 0x47a80a
mov dword [esi + 0x94], ebx
test dword [esi + 0x3c], 0x300000
je case.0x479d7b.10
lea eax, [esp + 0x50]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x58]
mov ecx, esi
push 0
push dword [esp + 0x60]
call fcn.00478aa0
add esp, 8
jmp case.0x479d7b.10
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
jne case.0x479d7b.10
mov eax, dword [0x4e7024]
test byte [eax + 0x100], 1
jne 0x47acfa
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d4ebc
call fcn.004a6070
mov ebx, eax
jmp 0x47ae16
mov al, byte [ebx + 5]
cmp edx, 7
jne 0x47a889
and al, 0xef
jmp 0x47a88b
or al, 0x10
mov dl, byte [ebx + 6]
mov byte [ebx + 5], al
cmp dl, 0xff
je 0x47a8f4
xor ecx, ecx
xor al, al
cmp dword [edi + 0x10], ecx
jbe 0x47a8f4
mov esi, dword [edi + 0x18]
cmp byte [esi + 4], 0x13
jne 0x47a8ae
cmp al, dl
je 0x47a8b9
inc al
inc ecx
add esi, 0x40
cmp ecx, dword [edi + 0x10]
jb 0x47a8a2
jmp 0x47a8f4
test esi, esi
je 0x47a8f4
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x8000000
jne case.0x479d7b.10
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebx + 7]
cmp eax, ecx
je 0x47a8f4
cmp eax, 0xffffffff
jne case.0x479d7b.10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [edi + 4]
jne 0x47a932
mov esi, dword [ebx]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x47a932
xor eax, eax
cmp dword [esp + 0x28], 7
sete al
push eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
jne 0x47a945
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47a945
xor eax, eax
cmp dword [esp + 0x28], 7
sete al
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebx + 4], 0x13
jne case.0x479d7b.10
push 0
push ebx
mov ecx, edi
call fcn.004899e0
jmp case.0x479d7b.10
mov al, byte [ebx + 5]
cmp edx, 9
jne 0x47a96a
and al, 0xf7
jmp 0x47a96c
or al, 8
mov ah, byte [ebx + 6]
mov byte [ebx + 5], al
cmp ah, 0xff
je 0x47a9d9
xor ecx, ecx
xor al, al
cmp dword [edi + 0x10], ecx
jbe 0x47a9d9
mov esi, dword [edi + 0x18]
cmp byte [esi + 4], 0x13
jne 0x47a98f
cmp al, ah
je 0x47a99a
inc al
inc ecx
add esi, 0x40
cmp ecx, dword [edi + 0x10]
jb 0x47a983
jmp 0x47a9d9
test esi, esi
je 0x47a9d9
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je case.0x479d7b.10
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebx + 7]
cmp eax, ecx
je 0x47a9d5
cmp eax, 0xffffffff
jne case.0x479d7b.10
mov edx, dword [esp + 0x28]
xor eax, eax
mov ecx, 4
cmp edx, 9
cmove eax, ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 4], 0x13
jne case.0x479d7b.10
push 0
push ebx
mov ecx, edi
call fcn.004899e0
jmp case.0x479d7b.10
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ecx
movzx ecx, word [edi + 0x46]
mov dword [esp + 0x24], ecx
cmp ax, word [esp + 0x24]
movzx edx, cx
movzx ecx, cx
mov dword [esp + 0x18], ecx
lea ecx, [esi + 2]
cmovne ecx, esi
mov dword [esp + 0x14], edx
movzx esi, word [edi + 0x46]
mov edx, dword [esp + 0x28]
cmp ax, si
mov eax, 0
mov dword [esp + 0x1c], ecx
sete al
cmp byte [ebx + 4], 0x13
mov dword [esp + 0x24], eax
jne 0x47ab3e
cmp edx, 0xb
jne 0x47aa7b
push 0
push 0
push 0
mov edx, 1
call fcn.004a1930
mov ecx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jmp 0x47aa7e
cmp edx, 0xc
jne 0x47aa8d
push 0
push ecx
push ebx
call fcn.00489d60
mov esi, eax
jmp 0x47aa95
call fcn.004112f0
lea esi, [eax - 1]
cmp esi, 0xff
ja 0x47a84e
push 0
push 0
push 0x130b
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
cmp word [esp + 0x20], cx
jne 0x47aafe
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
jne 0x47aafe
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x1330
push dword [ebx]
call edi
push 0
push 0
push 0x130b
push dword [ebx]
call edi
cmp eax, esi
je case.0x479d7b.10
jmp 0x47a84e
push 0
push esi
push 0x130c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x47a84e
cmp dword [esp + 0x30], esi
je case.0x479d7b.10
mov eax, dword [esp + 0x18]
mov ecx, edi
cmp word [esp + 0x20], ax
sete al
movzx eax, al
push eax
push ebx
call fcn.004899e0
jmp case.0x479d7b.10
cmp word [ecx], si
jne 0x47ab5d
mov esi, dword [esp + 0x14]
add ecx, 2
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp word [esp + 0x38], si
sete al
inc eax
mov dword [esp + 0x24], eax
cmp edx, 0xb
jne 0x47ab87
push 0
push 0
push 0
mov edx, 1
call fcn.004a1930
mov edx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
mov ecx, 0xc
cmove edx, ecx
mov dword [esp + 0x28], edx
movzx eax, byte [ebx + 4]
sub eax, 7
je 0x47abe7
sub eax, 1
je 0x47abe7
sub eax, 1
jne 0x47a84e
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esp + 0x28]
test eax, 0x808
je 0x47abcd
cmp edx, 0xb
mov dword [esp + 0x20], 0x20000
mov eax, 0x185
mov ecx, 0x18f
cmovne eax, ecx
jmp 0x47abfc
cmp edx, 0xb
mov dword [esp + 0x20], 0x20000
mov eax, 0x18c
mov ecx, 0x186
cmove eax, ecx
jmp 0x47abfc
xor eax, eax
mov dword [esp + 0x20], 0x90000
cmp edx, 0xb
sete al
add eax, 0x14d
mov dword [esp + 0x18], eax
cmp edx, 0xc
jne 0x47ac51
mov ecx, dword [ebx]
push dword [esp + 0x1c]
push 0xffffffffffffffff
cmp eax, 0x18f
jne 0x47ac3e
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ecx
call esi
cmp eax, 0xffffffff
je 0x47a84e
push eax
push 1
push 0x185
push dword [ebx]
call esi
cmp eax, 0xffffffff
je 0x47a84e
jmp 0x47aca6
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x47a84e
jmp 0x47aca6
mov ecx, dword [esp + 0x1c]
call fcn.004112f0
lea esi, [eax - 1]
cmp esi, 0xffffffff
jl 0x47a84e
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
cmp ecx, 0x185
jne 0x47ac8e
push esi
not esi
shr esi, 0x1f
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x47a84e
jmp 0x47aca6
push 0
push esi
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x47aca6
cmp esi, eax
jne 0x47a84e
mov eax, dword [esp + 0x30]
add eax, 3
cmp dword [esp + 0x24], 0
jbe case.0x479d7b.10
push dword [ebx]
movzx esi, ax
mov eax, esi
or eax, 0x10000
push eax
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x24], 1
mov eax, esi
jbe case.0x479d7b.10
push dword [ebx]
or eax, dword [esp + 0x24]
push eax
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x479d7b.10
mov ecx, dword [esp + 0x2c]
push 0x4bfba0
push 0
push 0x4d4ebc
call fcn.0043e4d0
mov ebx, eax
jmp 0x47ae16
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ecx + eax + 0x90]
push 0x30
push dword [ebx]
call esi
mov cl, byte [ebx + 4]
cmp cl, 2
je case.0x47ad70.12
cmp cl, 0x10
je case.0x47ad70.12
cmp cl, 0x11
je case.0x47ad70.12
cmp cl, 0x12
je case.0x47ad70.12
cmp cl, 0xa
je 0x47ad65
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x10], eax
movzx eax, cl
add eax, 0xfffffff6
cmp eax, 4
ja case.0x47ad70.12
jmp dword [eax*4 + 0x47af10]
push dword [edi + 0x54]
push 0
push 0x1024
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x47ae0b
push dword [edi + 0x54]
push 0
push 0x111e
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x47ae0b
push dword [edi + 0x54]
push 1
push 0x1006
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x47ae0b
push dword [edi + 0x54]
push 1
push 0x100a
push dword [ebx]
call esi
push 1
push 0
push dword [ebx]
jmp 0x47ae0b
test eax, eax
je case.0x479d7b.10
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x479d7b.10
lea eax, [esp + 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, 1
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [esp + 0x60]
test esi, esi
je 0x47ae54
mov eax, dword [0x4ea368]
test eax, eax
je 0x47ae45
push eax
call edi
add esp, 4
cmp dword [0x4ea364], 0x400000
jbe 0x47ae45
dec dword [0x4ea360]
mov eax, dword [esp + 0x64]
mov dword [0x4ea368], esi
mov dword [0x4ea364], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10