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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491da2
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x4ae650]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00455ea3
push 0
push 0x20000
push 0
mov ecx, ebx
call fcn.0045bf92
push 0
push 0x10000
push 0
mov ecx, ebx
call fcn.0045bf92
call fcn.00437f30
call fcn.00438920
call fcn.004385a0
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410bd0
push 0x80004005
call fcn.00406550
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.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410c05
push 0x80004005
call fcn.00406550
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.0045d52e
test eax, eax
je 0x410c3a
push 0x1f46
push eax
lea ecx, [esp + 0x18]
call fcn.00405e80
push 0x29d2
call fcn.0045d52e
test eax, eax
je 0x410c57
push 0x29d2
push eax
lea ecx, [esp + 0x1c]
call fcn.00405e80
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0045bfea
test ebx, ebx
jne 0x410c6b
xor eax, eax
jmp 0x410c6e
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 [0x4b2dac], 1
je 0x410cfc
lea eax, [esp + 0x2d4]
push eax
push 0x49ae00
push 0x4b3aa4
call fcn.00406620
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push 0x49a67c
push edx
call fcn.004056f0
add esp, 0xc
mov byte [esp + 0x4f0], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x4b3aa4
call fcn.004059e0
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 0x410cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b3aa4
mov ecx, 0x4b3dc8
call fcn.00405bc0
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410d25
push 0x80004005
call fcn.00406550
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 [0x4b3aa4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410d67
mov eax, dword [0x4b3aa4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00437f30
test eax, eax
jne 0x410d8a
push eax
push eax
push str.cant_find_the_configuration_file_
call fcn.0045526a
push 1
call fcn.0047247c
call fcn.0045e249
call fcn.0045e249
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 [0x4b2dcc], ebx
call fcn.0045c0b5
mov ecx, dword [0x4b2db0]
mov dword [ebx + 0x4c0], ecx
push ebx
lea ecx, [esp + 0x30]
call fcn.00454c36
mov byte [esp + 0x4f0], 4
mov edx, dword [esp + 0x30]
push 0x58
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x4afbc4], eax
mov dword [esp + 0x18], 0
call fcn.00436a50
test eax, eax
jne 0x410e47
cmp dword [0x4b3a08], esi
jne 0x410e47
mov dword [0x4b3a08], 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 [0x4b2db8], eax
call esi
cmp dword [0x4b2db8], 0
mov dword [0x4b2db4], eax
jne 0x410f06
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 3
call fcn.00454c8a
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 0x410eac
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 0x410ed4
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 0x410eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41112e
mov eax, ebx
call fcn.00411460
mov eax, ebx
call fcn.00411880
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CRgn.0
push 5
mov byte [esp + 0x4f4], 5
mov ecx, dword [0x4b3a50]
mov edx, dword [0x4b3a4c]
mov eax, dword [0x4b3a48]
push 5
push ecx
mov ecx, dword [0x4b3a44]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.00454d52
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 [0x4b3a50]
sub eax, dword [0x4b3a48]
mov ecx, dword [0x4b3a4c]
sub ecx, dword [0x4b3a44]
push 0
push eax
push ecx
push 0
push 0
mov ecx, ebx
call fcn.0045c075
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.004119a0
cmp dword [0x4b3a08], edi
jne 0x410ff1
cmp dword [esp + 0x18], edi
je 0x410ff1
mov edi, 0xcc
mov esi, ebx
call fcn.00411910
lea edi, [ebx + 0x42590]
jmp 0x411003
mov edi, 0x83
mov esi, ebx
call fcn.00411910
lea edi, [ebx + 0x42158]
cmp dword [edi + 0x80], 0
mov dword [edi + 0xd0], 1
je 0x41101d
mov ecx, edi
call fcn.0043d830
mov ecx, edi
call fcn.0043de60
call fcn.0043da90
mov ecx, dword [ebx + 0x48c]
mov edi, dword [esp + 0x14]
push ecx
lea esi, [ebx + 0x74]
mov eax, edi
mov ecx, ebx
call fcn.00449e90
push ebx
call fcn.00414de0
cmp dword [esp + 0x18], 1
jne 0x411060
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.00415550
call fcn.0045e249
call fcn.0045e249
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.00406650
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 3
call fcn.00454c8a
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 0x4110da
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 0x4110fe
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 0x411129
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.00471ad7
mov esp, ebp
pop ebp
ret