Function at 0x490d70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b8
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x67
mov dword [ebp - 0x76c], edi
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [0x648f20]
mov esi, eax
push 0
push 0
push 0xb
push esi
mov dword [ebp - 0x764], esi
call ebx
push esi
mov ecx, edi
call fcn.004917e0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x490dd4
mov eax, dword [ecx]
lea edx, [ebp - 0x25c]
push 0
push edx
push 0x5f6a90
call dword [eax + 0x70]
jmp 0x490de6
lea eax, [ebp - 0x760]
push eax
push 0x5f6a90
call dword [0x648dfc]
mov dword [ebp - 0x768], eax
cmp eax, 0xffffffff
je 0x4911d1
cmp dword [edi + 0x2c], 0
jne 0x490e54
mov eax, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x744]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x74c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x240], eax
xor eax, eax
or eax, dword [ebp - 0x740]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x734]
push 0xff
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x238], ecx
push eax
call fcn.00501990
add esp, 0xc
lea eax, [ebp - 0x77c]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x490e84
mov eax, dword [ebp - 0x77c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x240], eax
mov ebx, dword [ebp - 0x25c]
test bl, 8
jne 0x49116e
mov ecx, 0x5efbdc
lea eax, [ebp - 0x214]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x490ec6
test dx, dx
je 0x490ec2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x490ec6
add eax, 4
add ecx, 4
test dx, dx
jne 0x490ea0
xor eax, eax
jmp 0x490ecb
sbb eax, eax
or eax, 1
test eax, eax
je 0x49116e
test bl, 0x10
jne 0x490efa
push 0
push dword [edi + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.00518910
add esp, 0xc
test eax, eax
je 0x49116e
mov ebx, dword [ebp - 0x25c]
lea eax, [ebp - 0x770]
shr ebx, 4
push eax
lea eax, [ebp - 0x214]
and bl, 1
push eax
mov byte [ebp - 0x774], bl
call fcn.0050fdf0
mov esi, dword [ebp - 0x770]
add esp, 8
cmp word [esi], 0
jne 0x490f3a
test bl, bl
mov eax, str.Folder
cmove eax, esi
mov esi, eax
mov dword [ebp - 0x770], esi
push 0x2b4
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.005c9220
add esp, 0xc
lea eax, [ebp - 0x510]
push 0x4011
push 0x2b4
push eax
movzx eax, bl
shl eax, 4
push eax
push esi
call dword [0x648ea4]
push 8
call fcn.00479f06
mov edx, eax
add esp, 4
test edx, edx
je 0x490f90
mov ecx, dword [ebp - 0x244]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x240]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x50c]
mov ebx, 7
cmp eax, 0xffffffff
mov dword [ebp - 0x79c], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x7b0], 0
mov dword [ebp - 0x7a4], eax
mov ecx, 5
lea eax, [ebp - 0x7b8]
mov dword [ebp - 0x7b4], accept
push eax
push 0
push 0x104d
push dword [ebp - 0x764]
cmovne ecx, ebx
mov dword [ebp - 0x798], edx
mov ebx, dword [0x648f20]
mov dword [ebp - 0x7b8], ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x491176
test byte [ebp - 0x25c], 0x10
je 0x491013
xor eax, eax
mov word [ebp - 0x2fc], ax
jmp 0x491036
push 0
push 0x2f
push 0
push 0
lea eax, [ebp - 0x2fc]
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
call fcn.0050ea80
add esp, 0x1c
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x7b8], 1
mov dword [ebp - 0x7a4], eax
lea eax, [ebp - 0x7b8]
push eax
push 0
push 0x104c
push dword [ebp - 0x764]
mov dword [ebp - 0x79c], 0xffffffff
mov dword [ebp - 0x7b0], 1
mov dword [ebp - 0x7b4], esi
mov dword [ebp - 0x798], 0
call ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
push 0x50
mov word [ebp - 0x2fc], ax
lea eax, [ebp - 0x2fc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x400
call dword [0x648e18]
lea edi, [ebp - 0x2fc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4910c5
mov eax, dword [0x5efd18]
lea ecx, [ebp - 0x2fc]
mov dword [edi], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4910e1
sub ecx, edx
mov eax, 0x50
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x2fc]
lea eax, [eax + ecx*2]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x400
call dword [0x648e50]
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x7b4], esi
mov esi, dword [ebp - 0x764]
mov dword [ebp - 0x7a4], eax
lea eax, [ebp - 0x7b8]
push eax
push 0
push 0x104c
push esi
mov dword [ebp - 0x7b8], 1
mov dword [ebp - 0x79c], 0xffffffff
mov dword [ebp - 0x7b0], 2
mov dword [ebp - 0x798], 0
call ebx
mov edi, dword [ebp - 0x76c]
jmp 0x49117c
mov ebx, dword [0x648f20]
jmp 0x49117c
mov esi, dword [ebp - 0x764]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x49119c
mov eax, dword [ecx]
lea edx, [ebp - 0x25c]
push edx
push dword [ebp - 0x768]
call dword [eax + 0x74]
neg eax
sbb eax, eax
inc eax
jmp 0x4911af
lea eax, [ebp - 0x760]
push eax
push dword [ebp - 0x768]
call dword [0x648e00]
test eax, eax
jne 0x490df5
mov ecx, dword [edi + 0x2c]
push dword [ebp - 0x768]
test ecx, ecx
je 0x4911cb
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x4911d1
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4932e0
push edi
push 0x1051
push esi
call ebx
mov eax, dword [edi + 0x24]
shr eax, 0xd
and eax, 1
push eax
push dword [edi + 0x28]
push esi
call fcn.0049b540
add esp, 0xc
push 0
push 1
push 0xb
push esi
call ebx
push 0x69
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
push 0x14b
push ebx
call dword [0x648f20]
cmp dword [edi + 0x2c], 0
je 0x49123b
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.005d34ed
dec eax
push 0x60
mov dword [ebp - 0x76c], eax
call fcn.00479f2b
add esp, 4
mov dword [ebp - 0x764], eax
test eax, eax
je 0x4912ce
xor edi, edi
xor esi, esi
jmp 0x491276
mov eax, dword [ebp - 0x764]
push 0
push 0
push 0
push 0x30
push eax
push esi
call fcn.00490ae0
add esp, 0x18
test eax, eax
je 0x4912b8
push dword [ebp - 0x764]
push 0xffffffffffffffff
push 0x14a
push ebx
call dword [0x648f20]
cmp esi, dword [ebp - 0x76c]
jne 0x4912b7
push 0
push edi
push 0x14e
push ebx
call dword [0x648f20]
inc edi
inc esi
cmp esi, 0x1a
jb 0x491270
push 2
push dword [ebp - 0x764]
call fcn.0058bb51
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret