Function at 0x410a20
Capabilities:
Create directory
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490902
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x4ad650]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ad650]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0045498d
push 0
push 0x20000
push 0
mov ecx, ebx
call fcn.0045aa57
push 0
push 0x10000
push 0
mov ecx, ebx
call fcn.0045aa57
call fcn.00436f70
call fcn.00437960
call fcn.004375e0
call fcn.00454183
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410ab0
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x4f0], 0
call fcn.00454183
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410ae5
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1f46
mov byte [esp + 0x4f4], 1
call fcn.0045bffd
test eax, eax
je 0x410b1a
push 0x1f46
push eax
lea ecx, [esp + 0x18]
call fcn.00405e60
push 0x29d2
call fcn.0045bffd
test eax, eax
je 0x410b37
push 0x29d2
push eax
lea ecx, [esp + 0x1c]
call fcn.00405e60
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0045aaaf
test ebx, ebx
jne 0x410b4b
xor eax, eax
jmp 0x410b4e
mov eax, dword [ebx + 0x20]
push 0
push 0x1a
lea edx, [esp + 0x2dc]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [0x4b1dac], 1
je 0x410bdc
lea eax, [esp + 0x2d4]
push eax
push 0x499de0
push 0x4b2a9c
call fcn.004065f0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push 0x49965c
push edx
call fcn.00405700
add esp, 0xc
mov byte [esp + 0x4f0], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x4b2a9c
call fcn.004059f0
mov byte [esp + 0x4f0], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b2a9c
mov ecx, 0x4b2dc0
call fcn.00405ba0
call fcn.00454183
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410c05
push 0x80004005
call fcn.00406520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x84]
mov byte [esp + 0x4f0], 3
mov edx, dword [0x4b2a9c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410c47
mov eax, dword [0x4b2a9c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00436f70
test eax, eax
jne 0x410c6a
push eax
push eax
push str.cant_find_the_configuration_file_
call fcn.00453d58
push 1
call fcn.00470f2d
call fcn.0045cd18
call fcn.0045cd18
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
mov dword [ebx + 0x48c], eax
call esi
mov eax, dword [ebx + 0x48c]
mov edx, dword [ebx + 0x20]
push eax
push 0
push 0x80
push edx
call esi
mov eax, dword [ebx + 0x20]
mov esi, 1
push esi
push str.TP_LINK_NIC_UTILITY
push eax
call dword [sym.imp.USER32.dll_SetPropW]
push 0
mov ecx, ebx
mov dword [0x4b1dcc], ebx
call fcn.0045ab7a
mov ecx, dword [0x4b1db0]
mov dword [ebx + 0x4c0], ecx
push ebx
lea ecx, [esp + 0x30]
call fcn.00453724
mov byte [esp + 0x4f0], 4
mov edx, dword [esp + 0x30]
push 0x58
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x4aebc4], eax
mov dword [esp + 0x18], 0
call fcn.00435ab0
test eax, eax
jne 0x410d27
cmp dword [0x4b2a00], esi
jne 0x410d27
mov dword [0x4b2a00], eax
mov dword [esp + 0x18], esi
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x4b1db8], eax
call esi
cmp dword [0x4b1db8], 0
mov dword [0x4b1db4], eax
jne 0x410de6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 3
call fcn.00453778
lea eax, [edi - 0x10]
mov byte [esp + 0x4f0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4f0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410db4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4f0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41100e
mov eax, ebx
call fcn.00411340
mov eax, ebx
call fcn.004117e0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CRgn.0
push 5
mov byte [esp + 0x4f4], 5
mov ecx, dword [0x4b2a48]
mov edx, dword [0x4b2a44]
mov eax, dword [0x4b2a40]
push 5
push ecx
mov ecx, dword [0x4b2a3c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.00453840
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x20]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x12c
mov edi, 1
push edi
push ecx
call esi
mov eax, dword [0x4b2a48]
sub eax, dword [0x4b2a40]
mov ecx, dword [0x4b2a44]
sub ecx, dword [0x4b2a3c]
push 0
push eax
push ecx
push 0
push 0
mov ecx, ebx
call fcn.0045ab3a
mov edx, dword [ebx + 0x20]
push 0
push 0x7d0
push 2
push edx
call esi
mov eax, dword [ebx + 0x20]
push 0
push 0x3e8
push 0xa
push eax
call esi
push ebx
call fcn.00411900
cmp dword [0x4b2a00], edi
jne 0x410ed1
cmp dword [esp + 0x18], edi
je 0x410ed1
mov edi, 0xcc
mov esi, ebx
call fcn.00411870
lea edi, [ebx + 0x4258c]
jmp 0x410ee3
mov edi, 0x83
mov esi, ebx
call fcn.00411870
lea edi, [ebx + 0x42154]
cmp dword [edi + 0x80], 0
mov dword [edi + 0xd0], 1
je 0x410efd
mov ecx, edi
call fcn.0043cb00
mov ecx, edi
call fcn.0043d130
call fcn.0043cd60
mov ecx, dword [ebx + 0x48c]
mov edi, dword [esp + 0x14]
push ecx
lea esi, [ebx + 0x74]
mov eax, edi
mov ecx, ebx
call fcn.00448b50
push ebx
call fcn.00414c10
cmp dword [esp + 0x18], 1
jne 0x410f40
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x1429
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, ebx
call fcn.00415350
call fcn.0045cd18
call fcn.0045cd18
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov byte [esp + 0x4f0], 4
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x48c], eax
mov dword [esp + 0x1c], vtable.CRgn.0
call fcn.00406620
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 3
call fcn.00453778
mov byte [esp + 0x4f0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x4f0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4f0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411009
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.004705a7
mov esp, ebp
pop ebp
ret