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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58c8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 0
push 0x130b
push dword [ebx + 0x10]
mov byte [esp + 0x27], 1
mov byte [esp + 0x28], 1
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2a], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [esp + 0x28]
lea ecx, [ebx - 0x20]
push eax
mov dword [esp + 0x28], ecx
call fcn.004ab6c0
mov dword [esp + 0x80], 0
mov eax, dword [ebx + 0x184]
mov byte [esp + 0x19], 0
mov esi, dword [eax]
cmp esi, eax
je 0x4a72ca
push 0xa
push str.2345pcsafe
push dword [esi + 0x40]
lea edi, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.0040d0c0
test eax, eax
je 0x4a7272
push 0xc
push str.pcsafeoffice
push dword [edi + 0x10]
push ecx
mov ecx, edi
call fcn.0040d0c0
test eax, eax
je 0x4a7272
cmp byte [esi + 0xd4], 0
jne 0x4a722f
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x48]
cmp eax, dword [esp + 0x34]
jne 0x4a7228
cmp dword [esp + 0x38], 8
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
cmp dword [ecx + 0x14], 8
jb 0x4a7213
mov ecx, dword [ecx]
call fcn.004afc30
test al, al
je 0x4a7228
mov byte [esp + 0x18], 0
mov byte [esp + 0x17], 0
jmp 0x4a7234
mov byte [esp + 0x18], 0
jmp 0x4a7234
mov byte [esp + 0x1b], 1
cmp dword [edi + 0x14], 8
jb 0x4a723e
mov ecx, dword [edi]
jmp 0x4a7240
mov ecx, edi
mov edx, str.zhineng
call fcn.004afc30
test al, al
jne 0x4a7266
cmp dword [edi + 0x14], 8
jb 0x4a7256
mov edi, dword [edi]
mov edx, str.zhinengoffice
mov ecx, edi
call fcn.004afc30
test al, al
je 0x4a7277
mov al, byte [esi + 0xd4]
mov byte [esp + 0x1a], al
jmp 0x4a7277
mov byte [esp + 0x19], 1
cmp byte [esi + 0xd], 0
jne 0x4a72b7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4a729c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4a72b7
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4a7290
jmp 0x4a72b7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a72b5
cmp esi, dword [eax + 8]
jne 0x4a72b5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a72a5
mov esi, eax
cmp esi, dword [ebx + 0x184]
jne 0x4a71b1
cmp byte [esp + 0x17], 0
je 0x4a733d
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x24]
mov edx, 0x5b9c98
cmovae ecx, dword [esp + 0x24]
call fcn.004afc30
test al, al
je 0x4a730a
cmp byte [ebx + 0x18c], 0
je 0x4a7338
cmp byte [ebx + 0x18d], 0
je 0x4a7338
cmp byte [ebx + 0x18e], 0
je 0x4a7338
cmp byte [ebx + 0x18f], 0
je 0x4a7338
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x24]
mov edx, 0x5b9cfc
cmovae ecx, dword [esp + 0x24]
call fcn.004afc30
test al, al
je 0x4a733d
cmp byte [ebx + 0x190], 0
je 0x4a7338
cmp byte [ebx + 0x191], 0
jne 0x4a733d
mov byte [esp + 0x17], 0
cmp byte [esp + 0x18], 0
je 0x4a7376
cmp byte [ebx + 0x18c], 0
je 0x4a7371
cmp byte [ebx + 0x18d], 0
je 0x4a7371
cmp byte [ebx + 0x18e], 0
je 0x4a7371
cmp byte [ebx + 0x18f], 0
je 0x4a7371
cmp byte [ebx + 0x191], 0
jne 0x4a7376
mov byte [esp + 0x18], 0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push dword [ebx - 0x1c]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp byte [esp + 0x17], cl
push 0
setne cl
push ecx
push 0xf1
push eax
call edi
push 0x3f0
push dword [ebx - 0x1c]
call esi
xor ecx, ecx
cmp byte [esp + 0x18], cl
push 0
setne cl
push ecx
push 0xf1
push eax
call edi
push 0x3f4
push dword [ebx - 0x1c]
call esi
xor ecx, ecx
cmp byte [esp + 0x1b], cl
setne cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov al, byte [esp + 0x1a]
and al, byte [esp + 0x19]
push 0
push 0
push 0x1004
push dword [ebx + 0x14c]
mov byte [esp + 0x2c], al
call edi
mov edi, eax
xor esi, esi
test edi, edi
jle 0x4a745c
mov edi, edi
push 0x30
lea eax, [esp + 0x44]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
mov dword [esp + 0x40], esi
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 4
push eax
push 0
push 0x104b
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4a7448
cmp dword [ecx + 0x20], 0
jne 0x4a744f
inc esi
cmp esi, edi
jl 0x4a7400
jmp 0x4a745c
push ecx
push dword [esp + 0x20]
mov ecx, dword [ecx + 0x20]
call fcn.004a3af0
mov ecx, dword [esp + 0x20]
call fcn.004aa0c0
mov ecx, dword [esp + 0x20]
call fcn.004acc20
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x4a748c
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret