Function at 0x537cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5765b6
mov eax, dword fs:[0]
push eax
mov eax, 0x3b14
call fcn.0056a4b0
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x3b0c], eax
push ebx
push ebp
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x3b24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3b34]
xor ebx, ebx
push 0x3acc
mov esi, ecx
lea ecx, [esp + 0x54]
push ebx
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0xe0010046
mov dword [esp + 0x58], ebx
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x2c]
add esp, 0xc
push edx
call fcn.0051a800
add esp, 4
lea esi, [edi + 0x40c4]
mov dword [esp + 0x3b2c], ebx
call fcn.00410120
lea esi, [edi + 0x40c8]
call fcn.00410120
push 0x3ad0
lea eax, [edi + 0x168]
push ebx
push eax
mov byte [edi + 0x40cc], bl
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [edi + 0x3c3c], eax
mov dword [edi + 0x3c40], eax
mov dword [edi + 0x3c44], eax
mov dword [edi + 0x3c48], eax
mov dword [edi + 0x3c38], 0xffffffff
mov eax, dword [edi + 0xc]
add esp, 0xc
cmp eax, ebx
je 0x537d97
lea ecx, [esp + 0x4c]
push ebx
push ecx
call eax
add esp, 8
mov eax, dword [esp + 0x4c]
cmp eax, ebx
ja 0x537dac
mov dword [esp + 0x18], 0xe0010040
jmp 0x538004
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jbe 0x537f91
lea edx, [esp + 0x2792]
lea esi, [edi + 0x40d0]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.00441ee0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3b2c], 1
mov ebp, dword [esi + 4]
push ecx
lea ebx, [esp + 0x14]
call fcn.005365f0
mov ebx, eax
cmp esi, dword [ebx]
je 0x537dfc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [ebx + 4]
je 0x537e0e
mov byte [esp + 0x3b2c], 0
jmp 0x537edf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push edx
mov ebx, esi
call fcn.0052b8f0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x537e6a
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jl 0x537e6e
push eax
push ecx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x537e6a
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x537e6e
lea eax, [ecx - 0x10]
mov byte [esp + 0x3b2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x537ef3
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x3c]
xor eax, eax
push edx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esp + 0x3c]
call fcn.00441ac0
test al, al
je 0x537eb6
mov byte [esp + 0x3b2c], bl
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
jmp 0x537ef3
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x537ec7
mov ecx, dword [esp + 0x1c]
push ecx
call eax
add esp, 4
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x537ed8
push ebx
call eax
add esp, 4
cmp al, bl
jne 0x537f1b
mov byte [esp + 0x3b2c], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x537eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], 0x32
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
jb 0x537dc9
jmp 0x537f91
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edi + 0x3c3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x3c40], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x3c44], eax
push 0x3ad0
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 0x168]
push eax
mov dword [edi + 0x3c48], ecx
mov dword [edi + 0x3c38], edx
call sub.MSVCR80.dll_memcpy
mov byte [esp + 0x3b38], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x537f91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x3c38]
cmp eax, 0xffffffff
jne 0x537fa6
mov dword [esp + 0x18], 0xe0010041
jmp 0x538004
mov ecx, dword [esp + 0x4c]
cmp dword [edi + 0x40d8], ecx
je 0x537fb9
mov byte [edi + 0x40cc], 1
cmp dword [esp + 0x18], 0
jl 0x538004
imul eax, eax, 0x32
lea edx, [esp + 0x14]
lea ecx, [eax + edi + 0x28ae]
push edx
call fcn.00441ee0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x538004
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
movzx ecx, byte [edi + 0x40cc]
mov esi, dword [esp + 0x18]
push esi
push ecx
push str.KRtSoftAP::_AdapterDetect_next:_d__result:_x
mov ecx, 0x6180b8
call fcn.00435a30
mov dword [esp + 0x3b38], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53804e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x3b24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b0c]
xor ecx, esp
call fcn.00569ed6
add esp, 0x3b20
ret 4