Function at 0x437f30
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f0e1
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4ae650]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
push 0x49cc60
lea eax, [esp + 0x18]
push 0x4b3dc8
push eax
call fcn.0040cfa0
add esp, 0xc
mov dword [esp + 0x238], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call esi
cmp eax, 0xffffffff
jne 0x437fee
push 0xc
push str..Config.ini
lea ecx, [esp + 0x1c]
call fcn.00406030
mov edx, dword [esp + 0x14]
push edx
call esi
cmp eax, 0xffffffff
jne 0x437fee
mov dword [esp + 0x238], eax
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 0x437fe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x438572
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x14]
mov ecx, 0x7f
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438010
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
lea ecx, [esp + 0x2c]
push ecx
call fcn.00477b80
add esp, 0xc
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43804a
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 + 0x18], eax
mov byte [esp + 0x238], 1
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43807c
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 + 0x1c], eax
push 8
push str.handicon
lea ecx, [esp + 0x20]
mov byte [esp + 0x240], 2
call fcn.00406030
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0
push ecx
push str.ICON
call esi
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4380e7
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b38e8
call fcn.00406030
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 0x24]
push edx
push 1
push str.notAskAgain
push str.GLOBAL
call ebx
mov dword [0x4b3988], eax
lea eax, [esp + 0x24]
push eax
push 0
push str.isClosed
push str.GLOBAL
call ebx
lea ecx, [esp + 0x24]
push ecx
push 1
push str.langSwitch
push str.GLOBAL
mov dword [0x4b398c], eax
call ebx
lea edx, [esp + 0x24]
push edx
push 0x409
push str.langId
push str.GLOBAL
mov dword [0x4b3990], eax
call ebx
mov dword [0x4b3998], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push str.imagstr.dll
push str.Model
push str.GLOBAL
call esi
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4381b0
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b399c
call fcn.00406030
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.nicDll
push str.GLOBAL
call esi
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x438210
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b39a0
call fcn.00406030
lea ecx, [esp + 0x24]
push ecx
push 0
push str.softAp
push str.GLOBAL
call ebx
mov dword [0x4b3a08], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.nicGuid
push str.GLOBAL
call esi
mov eax, 0x4b3040
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438287
sub eax, edx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b39a4
call fcn.00406030
lea ecx, [esp + 0x24]
push ecx
mov edi, 1
push edi
push str.powerStatus
push str.GLOBAL
call ebx
mov edx, dword [0x4b3990]
mov dword [0x4b3994], eax
mov ax, word [0x4b3998]
mov dword [0x4b2e20], edx
mov word [0x4b2e1c], ax
cmp dword [0x4b2dac], edi
jne 0x4382e8
mov dword [0x4b3a08], edi
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.ssid
push str.SOFTAP
call esi
mov eax, 0x4b3040
lea edx, [eax + 2]
jmp 0x438330
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438330
sub eax, edx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b3a0c
call fcn.00406030
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49cd3c
push str.SOFTAP
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4b3040
call fcn.00406160
call fcn.0044e640
mov dword [0x4b3a10], eax
xor eax, eax
movzx edx, ax
mov eax, edx
add esp, 4
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49cd4c
push str.SOFTAP
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4b3040
call fcn.00406160
call fcn.0044e910
mov dword [0x4b3a14], eax
xor eax, eax
movzx edx, ax
mov eax, edx
add esp, 4
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49cd58
push str.SOFTAP
call esi
mov eax, 0x4b3040
lea ecx, [eax + 2]
jmp 0x438440
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x438440
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b3a18
call fcn.00406030
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.icsGuid
push str.SOFTAP
call esi
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4384a0
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
mov ecx, 0x4b39a8
call fcn.00406030
lea ecx, [esp + 0x24]
push ecx
push 1
push str.channel
push str.SOFTAP
call ebx
lea edx, [esp + 0x24]
push edx
push 0x96c
push 0x49cd80
push str.SOFTAP
mov dword [0x4b3a1c], eax
call ebx
mov dword [0x4b3a20], eax
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43851a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
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 0x43856d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00471ad7
mov esp, ebp
pop ebp
ret