Function at 0x420261
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3f4
mov eax, dword [0x4c002c]
xor eax, esp
mov dword [esp + 0x3f0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 0x34]
push eax
xor edi, edi
lea eax, [esp + 0x48]
inc edi
push eax
mov dword [esp + 0x54], esi
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004860ae
mov byte [esp + 0x2c], 1
call fcn.004200c8
test eax, eax
je 0x4202c8
call fcn.0042012c
call fcn.00412fea
cmp eax, 8
je 0x420302
call fcn.00412fea
cmp eax, 0xa
je 0x420302
call fcn.00412fea
cmp eax, 6
je 0x420302
push 0x30
push 0x49ee84
push 0x49ee8c
push ebx
call dword [0x4967b0]
cmp byte [esp + 0x2c], bl
jmp 0x4206d5
push esi
call fcn.0041feff
cmp eax, edi
pop ecx
je 0x4202f9
push esi
lea eax, [esp + 0x5c]
push eax
call fcn.0040e306
push str.minisite
lea eax, [esp + 0x5c]
call fcn.0040e737
test al, al
je 0x420353
push dword [esp + 0x18]
call fcn.0041ffa6
pop ecx
lea ecx, [esp + 0x58]
call fcn.0040e38f
cmp byte [esp + 0x2c], bl
je 0x42034c
push dword [esp + 0x40]
call fcn.004860b4
mov eax, edi
jmp 0x4206e2
push str.GlobalkwifiE178DA_1F5_497c_4DC_B5E196FB4kdg_EXIST
push ebx
push ebx
call dword [0x4961c8]
call dword [0x4961cc]
cmp eax, 0xb7
jne 0x420378
lea ecx, [esp + 0x58]
call fcn.0040e38f
jmp 0x4202f9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.4007296A_1B4C_4557_B492_9643CD40CCB2
call dword [0x496374]
lea esi, [esp + 0x3c]
call fcn.00401084
cmp dword [esp + 0x24], ebx
je 0x4203ed
lea eax, [esp + 0x10]
push eax
push entry0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], ebx
call dword [0x4968c8]
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x4a
push dword [esp + 0x1c]
call dword [0x496818]
cmp dword [esp + 0x20], ebx
je 0x42036d
push dword [esp + 0x20]
call dword [0x4961d0]
push dword [esp + 0x20]
call dword [0x4961d4]
jmp 0x42036d
mov eax, dword [0x4c4f6c]
mov edi, 0x4c4f6c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.00414d3f
test eax, eax
pop ecx
je 0x420446
push dword [esp + 0x48]
lea eax, [esp + 0x14]
push eax
call fcn.0040f0b9
push dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push esi
call fcn.00414c55
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401a1d
lea eax, [esi - 0x10]
call fcn.00401a1d
jmp 0x4203d1
lea esi, [esp + 0x3d8]
mov dword [esp + 0x4c], vtable.KEvent.0
mov dword [esp + 0x3e4], ebx
call fcn.0041fd36
push str.Global5B4886A6_AF44_45e9_92C4_1067A72C94DC
push 1
push 1
mov eax, esi
push eax
call dword [0x496204]
mov dword [esp + 0x50], eax
call fcn.0041d9b1
push ebx
push ebx
call dword [0x496b34]
push str.kwifitool.log
xor ebx, ebx
lea ecx, [esp + 0x14]
call fcn.00411286
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00411d12
pop ecx
pop ecx
mov ecx, dword [eax]
call fcn.0043e9d6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401a1d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401a1d
mov ebx, 0x4f73fc
push str._____________________________Begin_____________________________________________
mov esi, ebx
call fcn.0043eb4e
mov dword [esp], 0x8004
call dword [0x496174]
xor esi, esi
push esi
push esi
push esi
push esi
call dword [0x49681c]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 4
call dword [0x496078]
call fcn.004343e2
push str.netdiag
call fcn.0041cfe7
mov eax, dword [0x4c4f6c]
pop ecx
mov ecx, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
lea edi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00414dd5
test eax, eax
je 0x420645
call fcn.0041caee
call fcn.0041cb7b
test eax, eax
je 0x4205c8
call fcn.00414e3a
test eax, eax
je 0x420587
push 1
mov dword [esp + 0x18], esi
push str.SOFTWAREkingsoftKWifi2liebao2
lea esi, [esp + 0x1c]
xor edi, edi
call fcn.004115b6
test eax, eax
je 0x420572
inc edi
cmp dword [esp + 0x14], 0
je 0x420583
push dword [esp + 0x14]
call dword [0x496034]
test edi, edi
jne 0x4205c8
push str.autorun
lea eax, [esp + 0x5c]
call fcn.0040e737
test al, al
jne 0x420645
lea esi, [esp + 0x70]
mov dword [esp + 0x14], 2
call fcn.004626a4
xor eax, eax
mov edi, esi
call fcn.004206f9
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x4205d2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
jmp 0x4205da
mov dword [esp + 0x14], 1
jmp 0x4205f3
mov dword [esp + 0x44], 2
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], vtable.KUpdateLieBaoDlg.0
call fcn.0044577f
cmp dword [esp + 0x18], 0
je 0x420636
mov eax, dword [0x4c4f6c]
mov ecx, 0x4c4f6c
call dword [eax + 0xc]
add eax, 0x10
lea edi, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00414dd5
test eax, eax
mov esi, dword [esp + 0x18]
je 0x420627
push 0
push esi
call fcn.00414c55
pop ecx
pop ecx
call fcn.00414e72
lea eax, [esi - 0x10]
call fcn.00401a1d
cmp dword [esp + 0x14], 0
je 0x420645
push dword [esp + 0x44]
push 1
call fcn.0041cdfc
pop ecx
pop ecx
jmp 0x420674
push str.autorun
lea eax, [esp + 0x5c]
call fcn.0040e737
mov esi, dword [esp + 0x48]
movzx eax, al
push eax
call fcn.004201a5
mov esi, ebx
mov dword [esp], str._____________________________End_____________________________________________
call fcn.0043eb4e
pop ecx
call fcn.0043eaee
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401a1d
cmp dword [esp + 0x3e4], 0
je 0x420697
push dword [esp + 0x3e4]
call dword [0x4962c4]
lea ecx, [esp + 0x4c]
call fcn.0041fdce
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00401a1d
cmp dword [esp + 0x20], 0
je 0x4206c7
push dword [esp + 0x20]
call dword [0x4961d0]
push dword [esp + 0x20]
call dword [0x4961d4]
lea ecx, [esp + 0x58]
call fcn.0040e38f
cmp byte [esp + 0x2c], 0
je 0x4206e0
push dword [esp + 0x40]
call fcn.004860b4
xor eax, eax
mov ecx, dword [esp + 0x3fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004862e5
mov esp, ebp
pop ebp
ret 0x10