Function at 0x4bd280
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x57dcc3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea edi, [eax + 1]
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 1
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ebp, [esi + 0x18e8]
push ebp
mov byte [esp + 0x3c], 2
call fcn.00530040
xor ecx, ecx
cmp eax, ecx
jne 0x4bd427
xor edx, edx
mov ecx, 0x59f694
call fcn.0048b4f0
test eax, eax
je 0x4bd35f
mov edi, 5
mov eax, ebp
call fcn.0052f1c0
push str.KMainDlg::InterceptOtherWifi___m_wifiTask.DoWifiTask__
push 0x6180b8
call fcn.00435820
add esp, 8
jmp 0x4bd471
test byte [0x6199c8], 1
jne 0x4bd381
or dword [0x6199c8], 1
call fcn.0046c480
push 0x580670
call fcn.0056a011
add esp, 4
push 1
mov byte [0x6199e1], 1
call fcn.004bd570
cmp dword [esi + 0x18b0], 0
jne 0x4bd3c8
push 0x47c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x30], 3
je 0x4bd3bb
mov edi, eax
call fcn.004a8560
jmp 0x4bd3bd
xor eax, eax
mov byte [esp + 0x30], 2
mov dword [esi + 0x18b0], eax
mov eax, dword [esi + 0x18b0]
lea edi, [eax + 0x374]
lea eax, [esp + 0x1c]
call fcn.004101e0
mov eax, dword [esi + 0x18b0]
mov ecx, dword [esi + 0x1c]
push eax
xor eax, eax
call fcn.00481960
cmp eax, 1
jne 0x4bd410
xor edx, edx
mov ecx, 0x59f694
call fcn.0048b4f0
mov edi, eax
neg edi
sbb edi, edi
and edi, 5
add edi, 1
jmp 0x4bd341
xor edi, edi
push edi
mov dword [esp + 0x14], edi
call fcn.004bd570
call fcn.0046c450
mov byte [eax + 0x15], 0
jmp 0x4bd471
cmp eax, 0x80004004
je 0x4bd341
cmp eax, 0x80004005
je 0x4bd471
cmp eax, 0x80004002
jne 0x4bd471
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], ecx
je 0x4bd465
push str.KMainDlg::InterceptOtherWifi___no_card_pop0
push 0x6180b8
mov dword [esp + 0x1c], 1
call fcn.00435820
add esp, 8
jmp 0x4bd471
cmp dword [esi + 0xa9c], ecx
mov dword [esp + 0x14], ecx
jne 0x4bd481
xor ecx, ecx
cmp dword [esi + 0xa9c], ecx
mov dword [esi + 0x1870], ecx
je 0x4bd496
cmp dword [esp + 0x14], ecx
jne 0x4bd496
cmp dword [esi + 0x1870], 3
jle 0x4bd496
mov dword [esp + 0x10], ecx
jmp 0x4bd4dd
cmp dword [esp + 0x10], ecx
je 0x4bd4c4
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.005309c0
test eax, eax
je 0x4bd4c4
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
je 0x4bd4c4
push 0
lea edx, [esp + 0x1c]
push edx
push 4
call fcn.0051f920
cmp dword [esp + 0x14], 0
je 0x4bd4dd
mov eax, dword [esi + 0xa9c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.0051f920
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bd502
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bd527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
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 0x4bd54f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret