Function at 0x402064
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x484da2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4a20b0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, 0x4892e4
push esi
push dword [ebx + 4]
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
add ebx, 0x14
push str.lblTitle
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x3c]
lea eax, [esp + 0x74]
push eax
call fcn.00415383
and dword [esp + 0xa4], 0
mov eax, ebx
mov dword [esp], str.lblClientVer
call fcn.00434d83
cmp dword [esp + 0x8c], 8
mov ecx, dword [esp + 0x78]
jae 0x402103
lea ecx, [esp + 0x78]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
lea ecx, [esp + 0x58]
call fcn.00401c58
push str.lblRuleUptime
mov eax, ebx
mov byte [esp + 0xa4], 1
call fcn.00434d83
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x402137
lea ecx, [esp + 0x5c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
push str.conServAddr
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
mov edi, str.conNormal
push edi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
mov esi, str.conOffline
push esi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
push str.conOfflineState
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
push str.btnOfflineReqCode
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
push edi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
push esi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
push str.lblCid
mov eax, ebx
call fcn.00434d83
mov esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.00414860
pop ecx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xa8], 2
call fcn.0040124d
pop ecx
pop ecx
mov byte [esp + 0xa0], 3
cmp dword [eax + 0x18], 8
jb 0x402222
mov eax, dword [eax + 4]
jmp 0x402225
add eax, 4
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x3c]
push 0
push 1
lea esi, [esp + 0x28]
call fcn.0040498a
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 1
call fcn.0040488d
push str.AllowViewRules
push str.Softwareprojonepodlp_smprule_
mov dword [esp + 0x24], esi
call fcn.00412528
test eax, eax
je 0x4022a3
call fcn.0040f7ff
test al, al
je 0x4022a3
push 0x4890fc
lea eax, [esp + 0x5c]
call fcn.00406241
pop ecx
test al, al
jne 0x4022a3
push str.btnViewRule
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
mov dword [esp + 0x1c], 1
call fcn.00415599
test eax, eax
je 0x4023b3
cmp dword [ebp + 0xc], esi
je 0x402304
xor eax, eax
mov dword [esp + 0x20], esi
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
sub eax, 0x28
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x24]
push 2
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
mov edi, str.conNormal
push str.conDepAndName
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xe0]
push str.btnImportRule
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
cmp dword [esp + 0x1c], esi
je 0x40235e
push str.lblRuleUptime
mov eax, ebx
call fcn.00434d83
mov esi, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
call dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
add eax, 0x18
push eax
call dword [esi + 0x80]
mov eax, dword [esp + 0x18]
mov esi, 0x4893d4
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.lblTitle
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x3c]
push edi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0xe0]
mov ecx, dword [esp + 0x18]
xor esi, esi
inc esi
mov dword [ecx + 0x4bc], esi
call fcn.0040251d
push 0
push esi
jmp 0x4024e1
mov eax, dword [esp + 0x18]
push esi
push 0x3e8
push 0x124
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push str.ruleCleaned
push 0x489038
call fcn.00412528
mov dword [esp + 0x14], 0x489140
test eax, eax
jne 0x4023ee
mov dword [esp + 0x14], 0x48914c
push str.btnClearRules
mov eax, ebx
call fcn.00434d83
push dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
push str.conOffline
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xe0]
push str.conOfflineState
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xe0]
push edi
mov eax, ebx
call fcn.00434d83
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xe0]
mov edi, dword [esp + 0x18]
push edi
call fcn.0040355f
test al, al
jne 0x40246b
push esi
push 0x3e8
push 0x123
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4024cd
push str.btnImportRule
mov eax, ebx
call fcn.00434d83
mov edi, dword [eax]
mov dword [esp + 0x14], eax
add edi, 0xe0
call fcn.00414a5f
mov ecx, dword [esp + 0x14]
neg eax
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi]
call fcn.00414a5f
test eax, eax
jne 0x4024a5
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 1
jne 0x4024cd
push str.lblRuleUptime
mov eax, ebx
call fcn.00434d83
mov ebx, eax
mov edi, dword [ebx]
mov ecx, ebx
call dword [edi + 0x7c]
add eax, 0x18
push eax
mov ecx, ebx
call dword [edi + 0x80]
push 2
call fcn.0041ad27
pop ecx
mov ecx, dword [esp + 0x18]
call fcn.00402725
push esi
push 1
lea esi, [esp + 0x60]
call fcn.0040498a
push 0
push 1
lea esi, [esp + 0x7c]
call fcn.0040498a
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004678b3
mov esp, ebp
pop ebp
ret 8