Function at 0x4caa1c
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x5bf209
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [ebp + 0x70]
push ebx
xor ebx, ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x60], ebx
push esi
mov esi, ecx
test edx, edx
je 0x4cb09b
mov eax, dword [ebp + 0x74]
shr eax, 0x10
push edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
cmp eax, 0x100
ja 0x4caae3
je 0x4caa57
sub eax, ebx
je 0x4cac9a
sub eax, 1
jne 0x4cb09a
jmp 0x4cac9a
mov eax, dword [esi + 0x11c]
xor edi, edi
mov ebx, dword [esi + 0x118]
sub eax, ebx
sar eax, 2
mov dword [ebp + 0x74], eax
test eax, eax
je 0x4cb09a
mov ecx, dword [ebx]
mov eax, edx
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4caaa0
test dl, dl
je 0x4caa9c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4caaa0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4caa80
xor eax, eax
jmp 0x4caaa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4caac9
mov edx, dword [ebp + 0x70]
inc edi
add ebx, 4
cmp edi, dword [ebp + 0x74]
jb 0x4caa75
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
mov dword [esi + 0x124], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
cmp eax, 0x400
jne 0x4cb09a
mov ecx, dword [esi + 0xc0]
lea eax, [ebp + 0x30]
push eax
call fcn.005403c0
mov dword [ebp - 4], 0
mov ebx, 1
mov edx, 0x5dd63c
mov dword [ebp + 0x64], ebx
mov ecx, eax
mov dword [ebp + 0x60], ebx
call fcn.0044d3d0
test al, al
je 0x4cab77
mov ecx, dword [esi + 0xc4]
lea eax, [ebp + 0x18]
push eax
call fcn.005403c0
mov dword [ebp - 4], ebx
mov edx, 0x5dd63c
mov ebx, 3
mov ecx, eax
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x60], ebx
call fcn.0044d3d0
test al, al
je 0x4cab77
mov ecx, dword [esi + 0xc8]
lea eax, [ebp + 0x48]
push eax
call fcn.005403c0
mov ebx, 7
mov edx, 0x5dd63c
mov ecx, eax
mov dword [ebp + 0x64], ebx
call fcn.0044d3d0
mov byte [ebp + 0x77], 1
test al, al
jne 0x4cab7b
mov byte [ebp + 0x77], 0
test bl, 4
je 0x4cabd4
mov ecx, dword [ebp + 0x5c]
and ebx, 0xfffffffb
mov dword [ebp + 0x64], ebx
cmp ecx, 8
jb 0x4cabc0
mov edx, dword [ebp + 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cabb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0ae
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x4cac34
mov ecx, dword [ebp + 0x2c]
and ebx, 0xfffffffd
mov dword [ebp + 0x64], ebx
cmp ecx, 8
jb 0x4cac20
mov edx, dword [ebp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cac16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0ae
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4cac80
mov ecx, dword [ebp + 0x44]
and ebx, 0xfffffffe
mov dword [ebp + 0x64], ebx
cmp ecx, 8
jb 0x4cac80
mov edx, dword [ebp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cac76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0ae
push ecx
push edx
call fcn.00583877
add esp, 8
cmp byte [ebp + 0x77], 0
mov eax, dword [esi + 0xb8]
je 0x4cac90
push 1
jmp 0x4cac92
push 0
push dword [eax + 8]
call edi
mov edx, dword [ebp + 0x70]
mov ecx, edx
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0xf
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cacb4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp + 0x48]
call fcn.00449cf0
mov ebx, dword [ebp + 0x5c]
lea ecx, [ebp + 0x48]
mov edi, dword [ebp + 0x48]
cmp ebx, 0x10
mov edx, dword [ebp + 0x58]
push 0x18
cmovae ecx, edi
push str.contacts_edit_btn_cancel
call fcn.00457de0
add esp, 8
mov byte [ebp + 0x77], al
cmp ebx, 0x10
jb 0x4cad1e
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4cad11
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0b3
push ecx
push edi
call fcn.00583877
mov al, byte [ebp + 0x77]
add esp, 8
test al, al
jne 0x4cad91
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push edi
call fcn.004471f0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4cad39
mov eax, dword [eax]
push 0x14
push str.contacts_edit_btn_ok
mov ecx, eax
call fcn.00457de0
add esp, 8
lea ecx, [ebp + 0x30]
mov bl, al
call fcn.004470b0
test bl, bl
je 0x4cadae
push 0x6c5553
push 0x6c5574
mov ecx, esi
call fcn.004c9980
mov ecx, dword [esi + 0x110]
call fcn.004c3d00
mov ecx, dword [esi + 0x110]
call fcn.004c5510
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov byte [0x6c5553], 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
push edi
lea ecx, [ebp + 0x30]
call fcn.004471f0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4cadc2
mov eax, dword [eax]
push 0x1c
push str.contacts_edit_cb_affectgroup
mov ecx, eax
call fcn.00457de0
add esp, 8
lea ecx, [ebp + 0x30]
mov bl, al
call fcn.004470b0
test bl, bl
je 0x4cb09a
mov eax, dword [esi + 0xb4]
push dword [eax + 0x10]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x4cae78
mov byte [0x6c5553], 1
mov eax, dword [esi + 0x10c]
push 5
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc4]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xc8]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xcc]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd0]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd4]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd8]
push 0
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xdc]
push 0
push dword [eax + 8]
call edi
push 0
jmp 0x4caef3
mov byte [0x6c5553], 0
mov eax, dword [esi + 0x10c]
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc4]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xc8]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xcc]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd0]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd4]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xd8]
push 1
push dword [eax + 8]
call edi
mov eax, dword [esi + 0xdc]
push 1
push dword [eax + 8]
call edi
push 1
mov eax, dword [esi + 0xe0]
push dword [eax + 8]
call edi
push 1
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [0x6c5553], 0
je 0x4caf1b
push 1
jmp 0x4cb08f
mov ecx, dword [esi + 0xc0]
lea eax, [ebp - 0x3c]
push eax
call fcn.005403c0
mov dword [ebp - 4], 2
mov edx, 0x5dd63c
mov ebx, dword [ebp + 0x64]
mov ecx, eax
or ebx, 8
mov dword [ebp + 0x60], ebx
call fcn.0044d4d0
test al, al
je 0x4caf9c
mov ecx, dword [esi + 0xc4]
lea eax, [ebp - 0x24]
push eax
call fcn.005403c0
mov dword [ebp - 4], 3
or ebx, 0x10
mov edx, 0x5dd63c
mov dword [ebp + 0x60], ebx
mov ecx, eax
call fcn.0044d4d0
test al, al
je 0x4caf9c
mov ecx, dword [esi + 0xc8]
lea eax, [ebp]
push eax
call fcn.005403c0
mov edx, 0x5dd63c
mov ecx, eax
or ebx, 0x20
call fcn.0044d4d0
mov byte [ebp + 0x73], 1
test al, al
jne 0x4cafa0
mov byte [ebp + 0x73], 0
test bl, 0x20
je 0x4caff6
mov ecx, dword [ebp + 0x14]
and ebx, 0xffffffdf
cmp ecx, 8
jb 0x4cafe2
mov edx, dword [ebp]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cafd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0b8
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
test bl, 0x10
je 0x4cb04c
mov ecx, dword [ebp - 0x10]
and ebx, 0xffffffef
cmp ecx, 8
jb 0x4cb038
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cb02e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0b8
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test bl, 8
je 0x4cb087
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4cb087
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4cb07d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb0b8
push ecx
push edx
call fcn.00583877
add esp, 8
cmp byte [ebp + 0x73], 0
je 0x4cb09a
push 0
mov eax, dword [esi + 0xb8]
push dword [eax + 8]
call edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3