Function at 0x4509f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1fc
mov eax, dword [0x49d3c8]
mov ecx, dword [eax + 0x4c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0x28]
call fcn.0044fd30
mov dword [esp + 0x18], eax
test eax, eax
je 0x451836
mov eax, dword [esp + 0x24]
cmp eax, 0x62
ja 0x451836
mov ebx, dword [eax*4 + 0x4a11b8]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x451836
mov eax, dword [ebp + 0xc]
call fcn.00458dd0
push 1
push 0
mov dword [esp + 0x2c], eax
push 0xffffffffffffffff
cmp eax, dword [ebx + 0xc]
jae 0x45183c
mov ecx, dword [ebx + 0x14]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*4]
mov ecx, dword [0x4a13a4]
push 0x4900b0
mov dword [esp + 0x24], edi
call fcn.004668b0
mov eax, dword [0x4a2b54]
mov edx, dword [0x4a2b50]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [0x4a2b50], eax
mov dword [0x4a2b54], eax
mov byte [esp + 0x13], al
lea eax, [ecx - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], 1
cmp eax, 0xc
ja case.default.0x450abe
jmp dword [eax*4 + 0x451858]
lea esi, [esp + 0x70]
call fcn.00457710
mov ecx, dword [esp + 0x24]
push ecx
mov edx, edi
push edx
mov eax, esi
push eax
mov ecx, ebx
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00455500
mov dword [esp + 0x2c], eax
jmp case.0x450afe.10
mov al, byte [edi + 4]
movzx ecx, al
dec ecx
cmp ecx, 0x14
ja case.0x450afe.7
jmp dword [ecx*4 + 0x45188c]
mov al, byte [edi + 5]
shr al, 6
and al, 1
mov byte [esp + 0x13], al
jmp 0x450d66
mov eax, dword [edi]
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 + 0x1c], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cmp dword [edi + 0x10], 0
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
je 0x450b7f
test byte [edi + 5], 0x80
push 0
je 0x450b6c
mov ecx, dword [edi]
push 2
push 0x172
push ecx
call eax
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x450b7f
mov edx, dword [edi]
push 0
push 0x172
push edx
call eax
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, esi
mov al, byte [ebx]
cmp al, 0x20
je 0x450b8b
cmp al, 9
jne 0x450b8e
inc ebx
jmp 0x450b81
cmp byte [ebx], 0x2a
jne 0x450c54
jmp 0x450ba0
mov edi, 0x4918e4
mov eax, ebx
call fcn.00408bf0
mov dword [esp + 0x18], eax
test eax, eax
jne 0x450bcf
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450bc0
sub eax, edx
add eax, ebx
mov dword [esp + 0x18], eax
mov cl, byte [eax]
push 4
inc ebx
push str.Icon
push ebx
mov byte [esp + 0x1f], cl
mov byte [eax], 0
call fcn.00477695
add esp, 0xc
test eax, eax
jne 0x450bfb
lea esi, [ebx + 4]
call fcn.0040c2c0
mov dword [esp + 0x24], eax
jmp 0x450c24
mov al, byte [ebx]
call fcn.00408bc0
cmp al, 0x48
je 0x450c18
cmp al, 0x57
jne 0x450c24
lea esi, [ebx + 1]
call fcn.0040c2c0
mov dword [esp + 0x1c], eax
jmp 0x450c24
lea esi, [ebx + 1]
call fcn.0040c2c0
mov dword [esp + 0x28], eax
mov dl, byte [esp + 0x13]
mov ebx, dword [esp + 0x18]
mov byte [ebx], dl
mov edi, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x450c3a
cmp al, 9
jne 0x450c3d
inc ebx
jmp 0x450c30
cmp byte [ebx], 0x2a
je 0x450ba0
mov esi, dword [esp + 0x18]
cmp byte [esi], 0
mov edi, dword [esp + 0x14]
je 0x450c54
inc esi
mov al, byte [edi + 5]
mov edx, dword [esp + 0x24]
shr al, 1
and al, 1
movzx ecx, al
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.004654c0
add esp, 0x18
mov dword [edi + 0x10], eax
test eax, eax
je 0x4516f4
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xf
and eax, 0xfffffff0
test ebx, ebx
jne 0x450cb2
cmp ecx, 0xe
je 0x450cc6
mov ecx, dword [edi]
or eax, 0xe
push eax
push 0xfffffffffffffff0
push ecx
jmp 0x450cc0
cmp ecx, 3
je 0x450cc6
mov edx, dword [edi]
or eax, 3
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi]
push eax
push ebx
push 0x172
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi]
push 0
push ebx
push 0x173
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
je 0x450d10
mov eax, dword [edi + 0x10]
cmp ebx, eax
je 0x450d10
cmp dword [esp + 0x14], 0
push eax
jne 0x450d07
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x450d0d
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [edi + 0x10], ebx
cmp dword [esp + 0x14], 0
jne 0x450d22
and byte [edi + 5], 0x7f
mov byte [esp + 0x13], 1
jmp 0x450d66
or byte [edi + 5], 0x80
mov byte [esp + 0x13], 1
jmp 0x450d66
cmp dword [esp + 0x18], 2
jne case.0x450afe.4
push 0
push 0
push 0
push 1
mov eax, esi
call fcn.00463e80
add esp, 0x10
test eax, eax
je case.0x450afe.4
call fcn.0040c2c0
test eax, eax
je 0x450d80
cmp eax, 1
je 0x450d80
cmp byte [edi + 4], 5
jne case.0x450afe.4
cmp eax, 0xffffffff
je 0x450d85
mov esi, dword [ebp + 0x10]
mov edx, dword [edi]
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp byte [esp + 0x13], 0
jne 0x450f65
jmp case.0x450afe.10
cmp eax, 0xffffffff
jne 0x450d8a
mov eax, 2
cmp byte [edi + 4], 6
jne 0x450da2
push eax
mov eax, dword [esp + 0x28]
push edi
mov ecx, ebx
call fcn.0045ad80
jmp case.0x450afe.10
push 0
push eax
mov eax, dword [edi]
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
cmp byte [esi], 0
je 0x450ddb
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
je 0x450ddb
mov edi, esi
call fcn.00464c60
mov edi, dword [esp + 0x14]
mov ebx, eax
jmp 0x450ddd
mov ebx, esi
mov eax, ebx
test ebx, ebx
jne 0x450de5
mov eax, esi
mov edx, dword [edi]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
test ebx, ebx
je case.0x450afe.10
cmp ebx, esi
je case.0x450afe.10
push ebx
call fcn.004785bf
add esp, 4
jmp case.0x450afe.10
cmp dword [esp + 0x18], 2
jne 0x450e64
cmp byte [esi], 0
je 0x450e4a
mov eax, dword [ebp + 0x10]
push 1
lea esi, [esp + 0x54]
call fcn.00463b10
add esp, 4
test eax, eax
je case.0x450afe.10
mov ecx, dword [edi]
mov eax, esi
push eax
push 0
push 0x1002
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
mov eax, dword [edi]
lea edx, [esp + 0x50]
push edx
push 1
push 0x1002
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
and ebx, 0xfffffff2
cmp byte [esi], 0
je 0x450e93
push str.LongDate
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x450ec2
or ebx, 4
mov edx, dword [edi]
push ebx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov al, byte [esp + 0x13]
mov ecx, dword [edi]
movzx eax, al
neg eax
sbb eax, eax
and eax, esi
push eax
push 0
push 0x1005
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
push str.Time
push esi
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x450ed9
or ebx, 9
jmp 0x450e93
mov al, 1
jmp 0x450ea3
cmp byte [esi], 0
je case.0x450afe.10
lea eax, [esp + 0x50]
mov ecx, esi
call fcn.00463a90
mov esi, eax
test esi, esi
je case.0x450afe.4
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 2
je 0x450fe1
cmp esi, 1
jne 0x450f33
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov edx, dword [edi]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x1006
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov bl, byte [edi + 6]
mov ecx, dword [esp + 0x20]
call fcn.0045b600
test eax, eax
je case.0x450afe.10
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x450afe.10
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push 2
lea edx, [esp + 0x34]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x450fd4
mov eax, dword [0x4a2b50]
test eax, eax
je 0x450fc5
push eax
call fcn.004785bf
add esp, 4
cmp dword [0x4a2b54], 0x400000
jbe 0x450fc5
dec dword [0x4a2b58]
mov eax, dword [esp + 0x48]
mov dword [0x4a2b50], esi
mov dword [0x4a2b54], eax
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi]
lea eax, [esp + 0x50]
push eax
push 0
push 0x1002
push ecx
jmp 0x450f42
push 0
mov eax, esi
call fcn.0045aaf0
movzx edx, ax
mov eax, dword [edi]
push edx
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
cmp byte [esi], 0x2b
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45104c
inc esi
call fcn.0040c2c0
test byte [edi + 5], 0x80
push 0
mov esi, eax
push 0
je 0x45103d
mov ecx, dword [edi]
push 0x472
push ecx
call ebx
add esi, eax
jmp 0x451053
mov edx, dword [edi]
push 0x468
push edx
call ebx
cwde
add esi, eax
jmp 0x451053
call fcn.0040c2c0
mov esi, eax
mov cl, byte [edi + 5]
mov eax, dword [edi]
and cl, 0x80
movzx edx, cl
neg edx
sbb edx, edx
push esi
and edx, 0xa
push 0
add edx, 0x467
push edx
push eax
call ebx
jmp case.0x450afe.10
cmp byte [esi], 0x2b
jne 0x4510b4
inc esi
call fcn.0040c2c0
test byte [edi + 5], 0x80
mov ebx, eax
je 0x45108c
neg ebx
mov ecx, dword [edi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x400
push ecx
call esi
mov edx, dword [edi]
add eax, ebx
push eax
push 1
push 0x405
push edx
call esi
jmp case.0x450afe.10
call fcn.0040c2c0
test byte [edi + 5], 0x80
je 0x4510c5
push eax
call fcn.0045aeb0
push eax
mov eax, dword [edi]
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
cmp byte [esi], 0x2b
push 0
jne 0x4510fc
inc esi
call fcn.0040c2c0
mov ecx, dword [edi]
push eax
push 0x403
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
call fcn.0040c2c0
mov edx, dword [edi]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x450afe.10
mov eax, dword [edi]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp case.0x450afe.10
cmp al, 8
jne 0x451146
cmp dword [esp + 0x18], 3
jne 0x451146
mov ecx, dword [edi]
push 0
push 0xffffffffffffffff
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x450d66
mov cl, byte [esi]
mov edx, ebx
cmp cl, byte [edx + 0x44]
jne 0x45118f
inc esi
mov bl, 1
cmp al, 9
je 0x45117a
mov edx, dword [edi]
xor ecx, ecx
cmp al, 0x13
sete cl
push 0
push 0
lea eax, [ecx - 1]
and eax, 0xffffee42
add eax, 0x1309
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x451191
mov edx, dword [edi]
push 0
push 0
mov eax, 0x184
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x451191
xor bl, bl
cmp byte [esi], 0
je 0x4511a4
mov eax, dword [esp + 0x20]
push 0
push eax
mov eax, esi
call fcn.00457770
cmp byte [edi + 4], 0x13
jne case.0x450afe.10
test bl, bl
je case.0x450afe.10
mov esi, dword [esp + 0x20]
push 0
push edi
push esi
call fcn.0045b2c0
mov ecx, dword [esi]
push 1
push 0
push ecx
jmp 0x450f93
cmp byte [esi], 0
mov eax, SysReAllocString
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
je 0x451249
inc esi
lea ebx, [ebx]
mov al, byte [esi - 1]
call fcn.00408bc0
movsx eax, al
add eax, 0xffffffb8
cmp eax, 0x11
ja case.0x45120a.73
movzx edx, byte [eax + 0x4518f4]
jmp dword [edx*4 + 0x4518e0]
push esi
call fcn.00478196
mov dword [esp + 0x18], eax
jmp 0x45123f
push esi
call fcn.00478196
mov dword [esp + 0x28], eax
jmp 0x45123f
push esi
call fcn.00478196
mov dword [esp + 0x20], eax
jmp 0x45123f
push esi
call fcn.00478196
mov dword [esp + 0x2c], eax
add esp, 4
inc esi
cmp byte [esi - 1], 0
jne 0x4511f0
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [ebx]
push ecx
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
cmp eax, 0x80000000
je 0x451284
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
cmp eax, 0x80000000
je 0x451293
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x24]
cmp ecx, 0x80000000
jne 0x4512a7
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
cmp eax, 0x80000000
jne 0x4512ba
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [edi]
push 1
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x4516f4
cmp byte [edi + 4], 0x11
jne 0x451343
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x421
push eax
call ebx
mov ecx, dword [edi]
push 0
push 0
push 0x421
push ecx
mov esi, eax
call ebx
mov dword [esp + 0x1c], eax
test esi, esi
je 0x451323
mov edx, dword [edi]
push esi
push 1
push 0x420
push edx
call ebx
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x451343
mov eax, dword [edi]
push esi
push 0
push 0x420
push eax
call ebx
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x18], 5
jne case.0x450afe.10
mov edx, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
push 2
lea eax, [esp + 0x34]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
push 1
lea edx, [esp + 0x34]
push edx
push eax
jmp 0x450f93
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x45139b
mov dword [esp + 0x2c], 1
jmp case.0x450afe.10
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
mov dword [esp + 0x2c], eax
jmp case.0x450afe.10
cmp ecx, 7
jne 0x4513c5
and byte [edi + 5], 0xef
jmp 0x4513c9
or byte [edi + 5], 0x10
mov esi, dword [esp + 0x20]
mov bl, byte [edi + 6]
mov ecx, esi
call fcn.0045b600
mov ebx, eax
test ebx, ebx
je 0x451416
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x8000000
jne case.0x450afe.10
mov eax, dword [ebx]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, byte [edi + 7]
cmp eax, ecx
je 0x451416
cmp eax, 0xffffffff
jne case.0x450afe.10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi]
jne 0x45142e
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi]
jne 0x45142e
mov bl, 1
jmp 0x451430
xor bl, bl
mov eax, dword [edi]
xor edx, edx
cmp dword [esp + 0x18], 7
sete dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
je 0x4514d5
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
jne 0x4514d5
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4514d5
cmp ecx, 9
jne 0x45146c
and byte [edi + 5], 0xf7
jmp 0x451470
or byte [edi + 5], 8
mov esi, dword [esp + 0x20]
mov bl, byte [edi + 6]
mov ecx, esi
call fcn.0045b600
mov ebx, eax
test ebx, ebx
je 0x4514bd
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je case.0x450afe.10
mov eax, dword [ebx]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, byte [edi + 7]
cmp eax, ecx
je 0x4514bd
cmp eax, 0xffffffff
jne case.0x450afe.10
mov eax, dword [edi]
xor edx, edx
cmp dword [esp + 0x18], 9
setne dl
dec edx
and edx, 4
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 4], 0x13
jne case.0x450afe.10
push 0
push edi
push esi
call fcn.0045b2c0
jmp case.0x450afe.10
mov bl, byte [ebx + 0x44]
mov dword [esp + 0x14], 0
cmp byte [esi], bl
jne 0x451508
inc esi
mov dword [ebp + 0x10], esi
mov dword [esp + 0x14], 1
cmp byte [edi + 4], 0x13
jne 0x4515ec
cmp ecx, 0xb
jne 0x45152d
push 0
push 0
push 0
push 1
mov eax, esi
call fcn.00463e80
add esp, 0x10
test eax, eax
jmp 0x451530
cmp ecx, 0xc
jne 0x451540
push 0
push edi
mov ebx, esi
call fcn.0045b650
mov esi, eax
jmp 0x45154b
mov esi, dword [ebp + 0x10]
call fcn.0040c2c0
lea esi, [eax - 1]
cmp esi, 0xff
ja 0x4516f4
mov ecx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push ecx
call ebx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
je 0x4515b0
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x100
jne 0x4515b0
mov eax, dword [edi]
push 0
push esi
push 0x1330
push eax
call ebx
mov ecx, dword [edi]
push 0
push 0
push 0x130b
push ecx
call ebx
cmp eax, esi
je case.0x450afe.10
jmp 0x4516f4
mov edx, dword [edi]
push 0
push esi
push 0x130c
push edx
call ebx
cmp eax, 0xffffffff
je 0x4516f4
cmp dword [esp + 0x1c], esi
je case.0x450afe.10
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x20]
setg al
movzx ecx, al
push ecx
push edi
push edx
call fcn.0045b2c0
jmp case.0x450afe.10
cmp byte [esi], bl
jne 0x4515f8
inc esi
inc dword [esp + 0x14]
mov dword [ebp + 0x10], esi
cmp ecx, 0xb
jne 0x45161b
push 0
push 0
push 0
push 1
mov eax, esi
call fcn.00463e80
add esp, 0x10
test eax, eax
jne 0x45161b
mov dword [esp + 0x18], 0xc
mov al, byte [edi + 4]
cmp al, 7
jb 0x4516f4
cmp al, 8
jbe 0x451679
cmp al, 9
jne 0x4516f4
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [esp + 0x18]
sub ebx, 0xb
test eax, 0x808
je 0x451662
neg ebx
sbb ebx, ebx
and ebx, 0xa
add ebx, 0x185
mov dword [esp + 0x1c], 2
jmp 0x451691
neg ebx
sbb ebx, ebx
and ebx, 6
add ebx, 0x186
mov dword [esp + 0x1c], 2
jmp 0x451691
xor ebx, ebx
cmp dword [esp + 0x18], 0xb
mov dword [esp + 0x1c], 9
sete bl
add ebx, 0x14d
cmp dword [esp + 0x18], 0xc
jne 0x4516c4
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
cmp ebx, 0x18f
jne 0x4516be
mov ecx, dword [edi]
push ebx
push ecx
call esi
cmp eax, 0xffffffff
je 0x4516f4
push eax
push 1
push 0x185
jmp 0x4516ea
mov eax, dword [edi]
push ebx
push eax
jmp 0x4516ed
mov esi, dword [ebp + 0x10]
call fcn.0040c2c0
dec eax
js 0x4516f4
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, 0x185
jne 0x4516e6
mov ecx, dword [edi]
push eax
push 1
push ebx
push ecx
jmp 0x4516ed
push 0
push eax
push ebx
mov edx, dword [edi]
push edx
call esi
cmp eax, 0xffffffff
jne 0x45170f
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
jmp case.0x450afe.10
mov ebx, dword [esp + 0x24]
add ebx, 3
cmp dword [esp + 0x14], 0
jle 0x451738
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx]
movzx ecx, bx
or ecx, 0x10000
push ecx
push 0x111
push eax
call esi
cmp dword [esp + 0x14], 1
jle case.0x450afe.10
movzx edx, word [esp + 0x1c]
mov ecx, dword [edi]
movzx eax, bx
push ecx
mov ecx, dword [esp + 0x24]
shl edx, 0x10
or edx, eax
push edx
mov edx, dword [ecx]
push 0x111
push edx
call esi
jmp case.0x450afe.10
mov eax, dword [ebx + 0x48]
mov ecx, dword [0x4a2b5c]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [edi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x30
push eax
call esi
mov al, byte [edi + 4]
cmp al, 2
je case.0x4517bf.12
cmp al, 0x10
je case.0x4517bf.12
cmp al, 0x11
je case.0x4517bf.12
cmp al, 0x12
je case.0x4517bf.12
cmp al, 0xa
je 0x4517b4
mov ecx, dword [ebx + 0x58]
mov dword [edi + 0x10], ecx
movzx eax, al
add eax, 0xfffffff6
cmp eax, 4
ja case.0x4517bf.12
jmp dword [eax*4 + 0x451908]
mov edx, dword [ebx + 0x58]
mov eax, dword [edi]
push edx
push 0
push 0x1024
push eax
call esi
mov ecx, dword [edi]
push 1
push 0
push ecx
jmp 0x450f93
mov ecx, dword [ebx + 0x58]
mov edx, dword [edi]
push ecx
push 0
push 0x111e
push edx
call esi
mov ecx, dword [edi]
push 1
push 0
push ecx
jmp 0x450f93
mov eax, dword [ebx + 0x58]
mov ecx, dword [edi]
push eax
push 1
push 0x1006
push ecx
call esi
mov ecx, dword [edi]
push 1
push 0
push ecx
jmp 0x450f93
mov edx, dword [ebx + 0x58]
mov eax, dword [edi]
push edx
push 1
push 0x100a
push eax
call esi
mov ecx, dword [edi]
push 1
push 0
push ecx
jmp 0x450f93
push 1
push 0
push 0xffffffffffffffff
mov ecx, dword [0x4a13a4]
push 0x4916f4
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc