Function at 0x659c8c
Capabilities:
Get file attributes
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8c5f0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x65b12a
mov eax, dword [ebp + 8]
cmp eax, 2
je 0x65b112
mov eax, dword [ebp + 8]
cmp eax, 0x10
je 0x65b0db
mov eax, dword [ebp + 8]
cmp eax, 0xf
je 0x65b03b
mov eax, dword [ebp + 8]
cmp eax, 0x14
je 0x65afe8
mov eax, dword [ebp + 8]
cmp eax, 0x204
je 0x65afdb
mov eax, dword [ebp + 8]
cmp eax, 0x201
jae 0x65af85
mov eax, dword [ebp + 8]
cmp eax, 0x200
je 0x65af0a
mov eax, dword [ebp + 8]
cmp eax, 0x20a
je 0x65ae68
mov eax, dword [ebp + 8]
cmp eax, 0x114
je 0x659e7e
mov eax, dword [ebp + 8]
cmp eax, 0x115
je 0x659e7e
mov eax, dword [ebp + 8]
cmp eax, 0x100
je 0x65a4e1
mov eax, dword [ebp + 8]
cmp eax, 0x101
je 0x65a470
mov eax, dword [ebp + 8]
cmp eax, 0x102
je 0x65a431
mov eax, dword [ebp + 8]
cmp eax, 0x104
je 0x65a2fe
mov eax, dword [ebp + 8]
cmp eax, 0x105
je 0x65a26a
mov eax, dword [ebp + 8]
cmp eax, 0x111
je 0x65a225
mov eax, dword [ebp + 8]
cmp eax, 0x117
je 0x65a104
mov eax, dword [ebp + 8]
cmp eax, 0x1f
je 0x65a0d0
mov eax, dword [ebp + 8]
cmp eax, 0x215
je 0x65a097
mov eax, dword [ebp + 8]
cmp eax, 8
je 0x65a07c
mov eax, dword [ebp + 8]
cmp eax, 6
je 0x65a03f
mov eax, dword [ebp + 8]
cmp eax, 0x22
je 0x65a024
mov eax, dword [ebp + 8]
cmp eax, 5
je 0x659fbe
mov eax, dword [ebp + 8]
cmp eax, 0x47
je 0x659f62
mov eax, dword [ebp + 8]
cmp eax, 0x24
je 0x659f18
mov eax, dword [ebp + 8]
cmp eax, 0x87
je 0x65b142
mov eax, dword [ebp + 8]
cmp eax, 0x20
je 0x659eea
mov eax, dword [ebp + 8]
cmp eax, 0x233
je 0x65a9a8
mov eax, dword [ebp + 8]
cmp eax, 0x2b
jae 0x659eae
mov eax, dword [ebp + 8]
cmp eax, 0x1c
jne 0x659e7e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x659e66
call fcn.00501b34
lea edx, [ebp - 0x278]
push edx
push 0x2710
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 4]
jmp 0x659e7e
call fcn.00501b34
lea edx, [ebp - 0x27c]
push edx
push 0x2711
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, dword [ecx]
push esi
push eax
push edx
call dword [ebx + 0xa0]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x2f
jbe 0x659ec2
mov eax, dword [ebp + 8]
cmp eax, 0x39
jne 0x65a5f5
mov eax, dword [ebp + 0xc]
mov edx, ecx
push eax
push dword [edx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x659e7e
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x659e7e
mov eax, ecx
mov eax, dword [eax + 0x14]
test eax, eax
je 0x659e7e
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
jle 0x659e7e
mov edx, dword [eax + 0x2c]
test edx, edx
jle 0x659e7e
mov edi, dword [ebp + 0x10]
mov edx, eax
mov dword [edi + 8], ecx
mov eax, dword [edx + 0x2c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov eax, 1
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, dword [ecx]
push esi
push eax
push edx
call dword [ebx + 0xa0]
mov ebx, eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x18]
test cl, 4
jne 0x659fa6
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x659fa6
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x138]
push 0
mov esi, dword [ecx]
push edx
push 0xf4244
call dword [esi + 0x98]
mov esi, dword [ebp - 0x24]
mov eax, ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, dword [ecx]
push esi
push eax
push edx
call dword [ebx + 0xa0]
mov ebx, eax
mov edx, dword [ebp + 0xc]
cmp edx, 1
je 0x65a00c
mov edx, dword [ebp + 0xc]
cmp edx, 2
jne 0x659feb
mov edx, 1
jmp 0x659fed
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x134], edx
lea edx, [ebp - 0x134]
mov esi, dword [ecx]
push 0
push edx
push 0xf4243
call dword [esi + 0x98]
mov esi, dword [ebp - 0x24]
mov eax, ebx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x130]
push 0
mov edx, dword [ecx]
push eax
push 0xf4245
call dword [edx + 0x98]
jmp 0x659e7e
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x65a061
lea eax, [ebp - 0x128]
push 0
mov edx, dword [ecx]
push eax
push 0xf4246
call dword [edx + 0x98]
jmp 0x659e7e
lea eax, [ebp - 0x12c]
push 0
mov edx, dword [ecx]
push eax
push 0xf4245
call dword [edx + 0x98]
jmp 0x659e7e
lea eax, [ebp - 0x124]
push 0
mov edx, dword [ecx]
push eax
push 0xf4248
call dword [edx + 0x98]
jmp 0x659e7e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x659e7e
call fcn.00501b50
mov edx, dword [ebp + 0x10]
cmp edx, eax
je 0x659e7e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x120]
push 0
mov edx, dword [ecx]
push eax
push 0xf4247
call dword [edx + 0x98]
jmp 0x659e7e
lea eax, [ebp - 0x11c]
push 0
mov edx, dword [ecx]
push eax
push 0xf4247
call dword [edx + 0x98]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x118]
push 0
mov edx, dword [ecx]
push eax
push 0xf4248
call dword [edx + 0x98]
jmp 0x659e7e
mov eax, dword [0x9e77f4]
test eax, eax
jg 0x659e7e
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x114]
push eax
push edx
call fcn.0065c524
add esp, 8
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10c], 0xffffffff
lea eax, [ebp - 0x114]
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x10c]
push 1
mov ebx, dword [ecx]
push edx
push 0x4b2
call dword [ebx + 0x98]
mov dword [ebp - 0x18], eax
movzx edx, al
test edx, edx
je 0x65a1b0
mov eax, dword [ebp - 0x18]
movzx edx, al
test edx, edx
je 0x65a19a
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x114], 0x9f72c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x114], 0x9f72c0
jmp 0x659e7e
lea ecx, [ebp - 0x114]
call fcn.004f5f2c
mov dword [ebp - 0x1c], eax
mov ebx, 1
mov dword [ebp - 0x18], ebx
xor ebx, ebx
test eax, eax
jle 0x65a164
lea ecx, [ebp - 0x114]
push ebx
call fcn.004f5400
test eax, eax
jne 0x65a216
lea ecx, [ebp - 0x114]
push ebx
call fcn.004f5f38
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x104]
push 1
mov esi, dword [ecx]
push edx
push 0x4b1
call dword [esi + 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add ebx, 1
cmp ebx, eax
jl 0x65a1cc
jmp 0x65a164
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0xfc]
push 1
movzx edx, ax
mov dword [ebp - 0xfc], edx
push ebx
push 0x4b0
mov esi, dword [ecx]
call dword [esi + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, 0x20000000
je 0x65a281
mov eax, dword [ebp + 0xc]
cmp eax, 0x12
jne 0x65a28d
jmp 0x659e7e
mov eax, dword [ebp + 0xc]
cmp eax, 0x79
jne 0x659e7e
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0xf8]
push esi
push edi
push eax
call fcn.0065b2d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x659e7e
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
lea eax, [ebp - 0xf4]
push 1
mov ebx, dword [ecx]
push eax
push 0x44d
call dword [ebx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, 0x20000000
je 0x65a315
mov eax, dword [ebp + 0xc]
cmp eax, 0x12
jne 0x65a321
jmp 0x659e7e
mov eax, dword [ebp + 0xc]
cmp eax, 0x79
jne 0x659e7e
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0xec]
push esi
push edi
push eax
call fcn.0065b2d0
mov ebx, eax
add esp, 0xc
mov esi, dword [ebp + 0x10]
test esi, 0x40000000
mov edx, 0
sete dl
mov dword [ebp - 0x1c], edx
cmp ebx, 0xffffffff
je 0x659e7e
mov esi, dword [ebp - 0xec]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], esi
mov byte [ebp - 0xe0], dl
lea edi, [ebp - 0xe8]
push 1
push edi
mov edx, dword [ecx]
push 0x44c
call dword [edx + 0x98]
movzx edx, al
test edx, edx
jne 0x65a405
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x659e7e
call fcn.00501b34
mov ecx, dword [0x90a5a0]
mov esi, dword [eax + 0x2c]
mov edi, dword [esi + 4]
and ebx, 0xff00ffff
mov edx, esi
cmp edi, ecx
je 0x65a3c7
cmp ebx, dword [edi + 0xc]
ja 0x65a42c
mov edx, edi
mov edi, dword [edi]
cmp edi, ecx
jne 0x65a3ba
cmp edx, esi
jne 0x65a425
mov edx, esi
cmp edx, esi
jne 0x65a420
xor eax, eax
test eax, eax
jl 0x659e7e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xdc]
mov edx, dword [ecx]
push 1
push eax
push 0x4b0
call dword [edx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx + 0x10]
jmp 0x65a3d3
cmp ebx, dword [edx + 0xc]
jb 0x65a3cb
jmp 0x65a3cd
mov edi, dword [edi + 8]
jmp 0x65a3c3
mov eax, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov byte [ebp - 0xd8], al
lea edx, [ebp - 0xd8]
push 1
push edx
push 0x44e
call dword [ebx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0xd4]
push esi
push edi
push eax
call fcn.0065b2d0
add esp, 0xc
cmp eax, 0xffffffff
je 0x659e7e
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
lea eax, [ebp - 0xd0]
push 1
mov ebx, dword [ecx]
push eax
push 0x44d
call dword [ebx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0xc8]
push esi
push edi
push eax
call fcn.0065b2d0
mov ebx, eax
add esp, 0xc
mov esi, dword [ebp + 0x10]
test esi, 0x40000000
mov edx, 0
sete dl
mov dword [ebp - 0x18], edx
cmp ebx, 0xffffffff
je 0x659e7e
mov esi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], esi
mov byte [ebp - 0xbc], dl
lea edi, [ebp - 0xc4]
push 1
push edi
mov edx, dword [ecx]
push 0x44c
call dword [edx + 0x98]
movzx edx, al
test edx, edx
jne 0x65a405
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x659e7e
call fcn.00501b34
mov ecx, dword [0x90a5a0]
mov esi, dword [eax + 0x2c]
mov edi, dword [esi + 4]
and ebx, 0xff00ffff
mov edx, esi
cmp edi, ecx
je 0x65a58b
cmp ebx, dword [edi + 0xc]
ja 0x65a5f0
mov edx, edi
mov edi, dword [edi]
cmp edi, ecx
jne 0x65a57e
cmp edx, esi
jne 0x65a5e9
mov edx, esi
cmp edx, esi
jne 0x65a5e4
xor eax, eax
test eax, eax
jle 0x659e7e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
mov edx, dword [ecx]
push 1
push eax
push 0x4b0
call dword [edx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx + 0x10]
jmp 0x65a597
cmp ebx, dword [edx + 0xc]
jb 0x65a58f
jmp 0x65a591
mov edi, dword [edi + 8]
jmp 0x65a587
mov eax, dword [ebp + 8]
cmp eax, 0x219
jne 0x659e3d
mov eax, dword [ebp + 0xc]
cmp eax, 0x8000
je 0x65a63f
mov eax, dword [ebp + 0xc]
cmp eax, 0x8004
jne 0x659e7e
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
cmp edx, 2
jne 0x659e7e
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + 0x10]
test dl, 1
jne 0x65a803
jmp 0x659e7e
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
cmp edx, 2
jne 0x659e7e
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + 0x10]
test dl, 1
je 0x659e7e
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call fcn.007f7444
add esp, 4
mov byte [ebp - 0x247], 0x3a
mov byte [ebp - 0x248], al
xor eax, eax
mov byte [ebp - 0x246], al
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
lea edi, [ebp - 0x248]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x65a6af
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x65a6a3
lea ecx, [ebp - 0x244]
push 1
mov ebx, eax
push ebx
call fcn.00404278
movzx edx, al
test edx, edx
jne 0x65a7d4
mov dword [ebp - 4], 3
movsx ebx, byte [ebp - 0x248]
lea ecx, [ebp - 0x234]
lea edx, [ebp - 0x244]
push 0xffffffffffffffff
xor eax, eax
mov dword [ebp - 0x230], eax
push eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
push edx
call fcn.0040418c
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
push 0
call fcn.00416f98
add esp, 8
mov dword [ebp - 4], 3
lea eax, [ebp - 0x234]
mov dword [ebp - 0x298], eax
mov dword [ebp - 4], 5
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x65a766
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65a7c5
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x65a79d
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65a7b6
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
jmp 0x659e7e
cmp edx, 0xff
je 0x65a796
dec dl
mov byte [ecx - 1], dl
jmp 0x65a79d
cmp edx, 0xff
je 0x65a75f
dec dl
mov byte [ecx - 1], dl
jmp 0x65a766
mov edi, dword [ebp - 0x240]
lea esi, [ebp - 0x248]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x23c], ebx
mov byte [ebx + edx], 0
jmp 0x65a6ca
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
call fcn.007f7444
add esp, 4
mov byte [ebp - 0x273], 0x3a
mov byte [ebp - 0x274], al
xor eax, eax
mov byte [ebp - 0x272], al
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea edi, [ebp - 0x274]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x65a854
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x65a848
lea ecx, [ebp - 0x270]
push 1
mov ebx, eax
push ebx
call fcn.00404278
movzx edx, al
test edx, edx
jne 0x65a979
mov dword [ebp - 4], 0
movsx ebx, byte [ebp - 0x274]
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x270]
push 0xffffffffffffffff
xor eax, eax
mov dword [ebp - 0x25c], eax
push eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
push edx
call fcn.0040418c
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x260]
push eax
push 1
call fcn.00416f98
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x65a90b
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65a96a
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x65a942
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65a95b
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
jmp 0x659e7e
cmp edx, 0xff
je 0x65a93b
dec dl
mov byte [ecx - 1], dl
jmp 0x65a942
cmp edx, 0xff
je 0x65a904
dec dl
mov byte [ecx - 1], dl
jmp 0x65a90b
mov edi, dword [ebp - 0x26c]
lea esi, [ebp - 0x274]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x268], ebx
mov byte [ebx + edx], 0
jmp 0x65a86f
call fcn.00503c0c
movzx eax, al
test eax, eax
je 0x659efa
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryPoint]
mov dword [ebp - 0x214], 0x9fa668
lea eax, [ebp - 0x214]
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x214], 0xa39098
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 7
push 0x400
xor eax, eax
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x200], eax
call fcn.00898760
pop ecx
mov dword [ebp - 0x1fc], 0x400
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 8
mov eax, dword [ebp + 0xc]
xor esi, esi
push esi
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [ebp - 0x18], eax
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
test edx, edx
jbe 0x65ac13
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
xor esi, esi
push esi
push esi
push edi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov ebx, eax
mov edx, dword [ebp - 0x1fc]
cmp edx, ebx
jbe 0x65aa8a
mov eax, dword [ebp - 0x200]
jmp 0x65aac7
add ebx, 1
cmp ebx, edx
je 0x65aac1
mov edx, dword [ebp - 0x200]
test edx, edx
je 0x65aaa2
push edx
call fcn.00888fb0
pop ecx
test ebx, ebx
jne 0x65aaaa
xor eax, eax
jmp 0x65aab1
push ebx
call fcn.00898760
pop ecx
mov dword [ebp - 0x200], eax
mov edx, ebx
mov dword [ebp - 0x1fc], ebx
jmp 0x65aac7
mov eax, dword [ebp - 0x200]
mov esi, edi
push edx
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
lea ecx, [ebp - 0x1f8]
call fcn.004144fc
mov dword [ebp - 4], 9
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x65ad93
mov esi, dword [ebp - 0x200]
xor eax, eax
mov dword [ebp - 0x19c], eax
mov edi, esi
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x65ab2f
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x65ab23
lea ecx, [ebp - 0x1a0]
push 1
mov ebx, eax
push ebx
call fcn.00404278
movzx edx, al
test edx, edx
je 0x65ab6e
mov edi, dword [ebp - 0x19c]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x198], ebx
mov byte [ebx + edx], 0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1f8]
lea eax, [ebp - 0x1a0]
push eax
call fcn.0041c9c8
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x19c]
test ecx, ecx
je 0x65abae
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65ad7d
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.004138c0
add esp, 8
lea ecx, [ebp - 0x210]
lea eax, [ebp - 0x1f8]
push eax
push 1
push dword [ebp - 0x208]
call fcn.0065b658
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x1f8]
call fcn.0041db14
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp eax, edx
jb 0x65aa64
push 0x8000
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 4]
lea eax, [ebp - 0x180]
push eax
call fcn.00503c1c
mov esi, dword [ebp - 0x180]
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], ebx
xor eax, eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
lea edi, [ebp - 0x214]
mov dword [ebp - 0x160], edi
mov byte [ebp - 0x15c], al
lea edx, [ebp - 0x17c]
push edx
call fcn.00503614
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
lea ecx, [ebp - 0x140]
push ecx
push ebx
call fcn.00503890
add esp, 0x14
movzx eax, al
test eax, eax
je 0x65acd0
push ebx
call fcn.00503990
push ebx
call fcn.00503a80
add esp, 8
call fcn.005037a0
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x65aced
push eax
call fcn.00888fb0
pop ecx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x214]
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x210]
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x20c]
mov ebx, dword [ebp - 0x208]
cmp esi, ebx
je 0x65ad53
mov ecx, esi
call fcn.0041db14
add esi, 0x58
cmp esi, ebx
jne 0x65ad3f
mov esi, dword [ebp - 0x20c]
push esi
call fcn.00888fb0
pop ecx
mov dword [ebp - 0x214], 0x9fa668
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], eax
jmp 0x659efa
cmp edx, 0xff
je 0x65aba7
dec dl
mov byte [ecx - 1], dl
jmp 0x65abae
mov esi, dword [ebp - 0x200]
xor eax, eax
mov dword [ebp - 0x18c], eax
mov edi, esi
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x65adc5
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x65adb9
lea ecx, [ebp - 0x190]
push 1
mov ebx, eax
push ebx
call fcn.00404278
movzx edx, al
test edx, edx
je 0x65ae04
mov edi, dword [ebp - 0x18c]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x188], ebx
mov byte [ebx + edx], 0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x1f8]
lea eax, [ebp - 0x190]
push eax
call fcn.00414bbc
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x65ae40
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x65ae59
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
jmp 0x65abc2
cmp edx, 0xff
je 0x65ae39
dec dl
mov byte [ecx - 1], dl
jmp 0x65ae40
mov edx, dword [ebp + 0x10]
mov esi, ecx
lea ebx, [ebp - 0xb4]
push ebx
movsx eax, dx
push dword [esi + 0x10]
mov dword [ebp - 0xb4], eax
shr edx, 0x10
movsx ecx, dx
mov dword [ebp - 0xb0], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
call fcn.00501b34
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
mov ecx, eax
call fcn.0065e600
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], esi
shr edx, 0x10
movsx edi, dx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0xac]
push 0
mov ebx, dword [ecx]
push eax
push 0x3ea
call dword [ebx + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00501b34
mov ebx, eax
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x9c]
push edx
push ecx
call fcn.0065b364
add esp, 8
mov ecx, ebx
call fcn.0065e600
mov edx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x94]
push 0
push eax
mov esi, dword [ecx]
push 0x3e9
call dword [esi + 0x98]
movzx eax, al
test eax, eax
je 0x659e7e
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x203
jbe 0x65afab
mov eax, dword [ebp + 8]
cmp eax, 0x205
jb 0x659d11
mov eax, dword [ebp + 8]
cmp eax, 0x209
ja 0x659d1f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push eax
push edx
call fcn.00659bd0
movzx eax, al
test eax, eax
je 0x659e7e
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, ecx
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x65afab
mov eax, ecx
mov edx, dword [eax + 0x20]
test edx, edx
je 0x659efa
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x88]
push esi
push eax
call dword [sym.imp.GDI32.dll_GetClipBox]
mov esi, dword [ebp - 0x14]
push dword [esi + 0x20]
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x88]
push edi
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, ecx
lea eax, [ebp - 0x78]
push eax
push dword [edx + 0x10]
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
call fcn.005c6724
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x78]
lea esi, [ebp - 0x38]
push 0
mov edx, dword [ecx + 0x1c]
push esi
push 0xf4242
mov dword [edx + 0x1c], eax
mov ebx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], ebx
mov edi, dword [ecx]
call dword [edi + 0x98]
mov ebx, eax
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x1c]
mov dword [edx + 0x1c], 0
mov ecx, dword [esi + 0x1c]
call fcn.005c6a34
mov ecx, esi
lea edx, [ebp - 0x78]
push edx
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_EndPaint]
movzx eax, bl
test eax, eax
jne 0x65a405
mov ecx, esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, dword [ecx]
push esi
push eax
push edx
call dword [ebx + 0xa0]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ecx]
mov byte [ebp - 0x34], 1
lea eax, [ebp - 0x34]
push 0
push eax
push 0xf4249
call dword [edx + 0x98]
mov al, byte [ebp - 0x34]
test al, al
jne 0x659e7e
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x30]
push 0
mov edx, dword [ecx]
push eax
push 0xf4241
call dword [edx + 0x98]
jmp 0x659e7e
lea eax, [ebp - 0x2c]
push 0
mov edx, dword [ecx]
push eax
push 0xf4240
call dword [edx + 0x98]
jmp 0x659e7e
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc