Function at 0x438c30
Capabilities:
Check mutex on windows
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49169e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x426cc
call fcn.00475b10
mov eax, dword [0x4ae650]
xor eax, esp
mov dword [esp + 0x426c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x426e0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0xff
mov dword [0x4b2db0], ebx
mov dword [0x4b2dac], ebx
call fcn.0045e249
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406160
mov dword [esp + 0x426e8], ebx
mov eax, dword [esp + 0x18]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x438cd2
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00406400
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x438dd7
push 0xc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00408990
lea eax, [esp + 0x14]
push 0x49cecc
push eax
mov byte [esp + 0x426f0], 1
call fcn.0041f9c0
add esp, 8
test al, al
je 0x438d84
mov eax, dword [esp + 0x18]
mov dword [0x4b2dac], esi
cmp dword [eax - 0xc], ebx
jg 0x438d1f
or eax, 0xffffffff
jmp 0x438d39
push 0x3d
push eax
call fcn.00472e5b
add esp, 8
cmp eax, ebx
jne 0x438d33
or eax, 0xffffffff
jmp 0x438d39
sub eax, dword [esp + 0x18]
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00439050
push eax
mov ecx, 0x4b3aa4
mov byte [esp + 0x426ec], 2
call fcn.00405bc0
mov byte [esp + 0x426e8], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438d84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x438db0
push str.nogui
push eax
call fcn.00472936
add esp, 8
cmp eax, ebx
je 0x438db0
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x438db0
mov dword [0x4b2db0], esi
mov byte [esp + 0x426e8], bl
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 0x438dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
push ebx
push ebx
call edi
push str.TP_LINK_NIC_UTILITY
push esi
push ebx
mov dword [0x4b2dc0], eax
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x438e16
cmp dword [0x4b2dac], 1
jne 0x438eb4
push str.TP_LINK_SOFTAP
push 1
push ebx
call edi
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
push 0x4b2e28
or eax, edx
mov ecx, 0x80
mov edi, 0x4b2e28
push 0x200
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0046012e
push ebx
call fcn.0046123c
add esp, 4
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.0046170f
push ebx
lea ecx, [esp + 0x30]
push ecx
push 0x4b2d9c
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.0044a810
push 0x1c
call fcn.004542c1
add esp, 4
cmp eax, ebx
je 0x438f56
mov esi, eax
call fcn.00434360
mov esi, dword [esp + 0x1c]
jmp 0x438f58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
push 0x439020
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438f93
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x438f00
mov ecx, dword [esp + 0x14]
push 9
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x438f18
mov eax, dword [esp + 0x14]
push 5
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SetActiveWindow]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call esi
mov ecx, dword [esp + 0x14]
push 0x202
push ebx
push 0x1425
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x438f93
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov dword [0x4b2e24], eax
mov dword [eax], ebx
mov dword [eax + 0x18], ebx
call fcn.004103b0
lea eax, [esp + 0x3c]
mov byte [esp + 0x426e8], 3
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.004561a7
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x426ec], bl
call fcn.004107c0
mov dword [esp + 0x426e8], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438fbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x426e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x426c8]
xor ecx, esp
call fcn.00471ad7
mov esp, ebp
pop ebp
ret