Function at 0x49de78
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004e20cc
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [edi + 0xd4], eax
lea eax, [edi + 0xdc]
mov dword [edi], 0x55a4a4
mov dword [edi + 0xd8], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
or dword [edi + 0xe8], 0xffffffff
call fcn.00435829
push str.back_contacts_edit_contact
call fcn.004d6e15
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf5f5f5
mov eax, dword [eax]
mov dword [esp + 0x54], eax
call esi
mov ebx, eax
push 0xffffff
mov dword [esp + 0x30], ebx
mov dword [edi + 0x74], ebx
call esi
push 0x646464
mov dword [esp + 0x2c], eax
mov dword [edi + 0x70], eax
call esi
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
mov ebp, str.Arial
push ebp
push 2
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
push eax
push 8
push 1
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push eax
push 0xf
call esi
push ebp
push 2
mov dword [esp + 0x20], eax
mov ebp, 0x190
xor eax, eax
push eax
push eax
push 8
push 1
push eax
push eax
push eax
push ebp
push eax
push eax
push eax
push 0x11
call esi
push str.Arial
push 2
mov dword [esp + 0x24], eax
xor eax, eax
push eax
push eax
push 8
push 1
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push eax
push 0x10
call esi
push str.Arial
push 2
mov dword [esp + 0x28], eax
xor eax, eax
push eax
push eax
push 8
push 1
push eax
push eax
push eax
push ebp
push eax
push eax
push eax
push 0x10
call esi
mov ecx, dword [0x5f1fe4]
mov edx, str.contacts_edit_title_delete
mov dword [esp + 0x24], eax
add ecx, 0x6e
xor eax, eax
mov ebp, dword [esp + 0x48]
push eax
push eax
push ecx
mov ecx, dword [0x5f1fe0]
add ecx, 0x19
push ecx
mov ecx, dword [0x5f1fdc]
cmp ecx, 2
push str.back_contacts_edit_contact
push eax
mov eax, str.contacts_edit_title_edit
cmovne edx, eax
test ecx, ecx
mov eax, str.contacts_edit_title_add
mov ecx, edi
cmovne eax, edx
push eax
push dword [esp + 0x68]
push ebp
push 0xca0000
call fcn.004e2376
mov eax, dword [edi + 0xd4]
mov byte [eax + 0x27f8], 0
mov eax, dword [0x5f1fdc]
cmp eax, 1
je 0x49e001
cmp eax, 2
je 0x49e001
mov esi, dword [esp + 0x14]
lea ebx, [edi + 0x4c]
jmp 0x49e0bc
push 0x44
call fcn.004ed632
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push esi
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x40], 0x19
push ecx
push 0x54ddd9
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x54], 0x48
mov dword [esp + 0x58], 0xdc
mov dword [esp + 0x5c], 0x144
call fcn.004e3fd3
push 0
mov dword [edi + 0xd0], eax
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xd0]
lea ebx, [edi + 0x4c]
mov ecx, ebx
call fcn.004e4ab3
push 0x40
call fcn.004ed632
push dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x2c]
mov dword [esp + 0x40], 0x2f
push ecx
push str.contacts_edit_cb_affectgroup
push 0x50010023
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0xc4
mov dword [esp + 0x5c], 0x12
call fcn.004e4333
push eax
mov ecx, ebx
mov dword [edi + 0x78], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x19
push dword [esp + 0x24]
mov dword [esp + 0x44], 0xa
push ecx
push str.contacts_edit_txt_group
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0xdc
mov dword [esp + 0x5c], 0x12
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xa8], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push 0x1b
pop ecx
push esi
push dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
push dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
push ecx
push 0x50000080
push str.contacts_edit_edit_group
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0xc4
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x84], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x19
push dword [esp + 0x24]
mov dword [esp + 0x44], 0x4b
push ecx
push str.contacts_edit_txt_id
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0xdc
mov dword [esp + 0x5c], 0x12
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xac], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x1b
push dword [esp + 0x2c]
mov dword [esp + 0x44], 0x5c
push ecx
push 0x50000080
push str.contacts_edit_edit_id
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0xc4
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
mov dword [edi + 0x88], eax
push eax
mov ecx, ebx
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x19
push dword [esp + 0x24]
mov dword [esp + 0x44], 0x73
push ecx
push str.contacts_edit_txt_cname
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0xdc
mov dword [esp + 0x5c], 0x12
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xb4], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x1b
push dword [esp + 0x2c]
mov dword [esp + 0x44], 0x84
push ecx
push 0x50000080
push str.contacts_edit_edit_cname
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0xc4
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x8c], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push esi
push dword [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x1b
push dword [esp + 0x28]
mov dword [esp + 0x44], 0xac
push ecx
push 0x50000080
push str.contacts_edit_edit_pass
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0xc4
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x90], eax
call fcn.004e4ab3
mov eax, dword [edi + 0x90]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [eax + 8]
call esi
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x19
push dword [esp + 0x58]
mov dword [esp + 0x40], 0xc3
push dword [esp + 0x24]
mov dword [esp + 0x48], 0xdc
mov dword [esp + 0x4c], 0x12
push ecx
push str.contacts_edit_txt_personName
push ebp
push dword [edi + 0x10]
mov ecx, eax
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xbc], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x58]
mov dword [esp + 0x40], 0xd4
push dword [esp + 0x28]
mov dword [esp + 0x48], 0xc4
push ecx
push 0x50000080
push str.contacts_edit_edit_personName
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x94], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x19
push dword [esp + 0x58]
mov dword [esp + 0x40], 0xeb
push dword [esp + 0x24]
mov dword [esp + 0x48], 0xdc
push ecx
push str.contacts_edit_txt_phone
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0x12
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xc0], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x58]
mov dword [esp + 0x40], 0xfc
push dword [esp + 0x28]
mov dword [esp + 0x48], 0xc4
push ecx
push 0x50000080
push str.contacts_edit_edit_phone
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x98], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
mov dword [esp + 0x38], 0x19
lea ecx, [esp + 0x38]
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x113
push dword [esp + 0x24]
mov dword [esp + 0x48], 0xdc
mov dword [esp + 0x4c], 0x12
push ecx
push str.contacts_edit_txt_email
push ebp
push dword [edi + 0x10]
mov ecx, eax
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xc4], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x124
push dword [esp + 0x28]
mov dword [esp + 0x48], 0xc4
push ecx
push 0x50000080
push str.contacts_edit_edit_email
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0x9c], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x19
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x13b
push dword [esp + 0x24]
mov dword [esp + 0x48], 0xdc
push ecx
push str.contacts_edit_txt_messenger
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x5c], 0x12
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xc8], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x14c
push dword [esp + 0x28]
mov dword [esp + 0x48], 0xc4
push ecx
push 0x50000080
push str.contacts_edit_edit_messenger
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0xa0], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
mov dword [esp + 0x38], 0x19
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x163
push dword [esp + 0x24]
mov dword [esp + 0x48], 0xdc
mov dword [esp + 0x4c], 0x12
lea ecx, [esp + 0x40]
push ecx
push str.contacts_edit_txt_additional
push ebp
push dword [edi + 0x10]
mov ecx, eax
call fcn.004e3fd3
push eax
mov ecx, ebx
mov dword [edi + 0xcc], eax
call fcn.004e4ab3
push 0x44
call fcn.004ed632
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x1b
push dword [esp + 0x58]
mov dword [esp + 0x40], 0x174
push dword [esp + 0x28]
mov dword [esp + 0x48], 0xc4
push ecx
push 0x50000080
push str.contacts_edit_edit_additional
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x60], 0x12
call fcn.004e41b3
push eax
mov ecx, ebx
mov dword [edi + 0xa4], eax
call fcn.004e4ab3
push 0x40
call fcn.004ed632
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x19
push dword [esp + 0x30]
mov dword [esp + 0x44], 0x195
push ecx
push str.contacts_edit_btn_ok
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0x5f
mov dword [esp + 0x5c], 0x1c
call fcn.004e4073
push eax
mov ecx, ebx
mov dword [edi + 0x7c], eax
call fcn.004e4ab3
mov eax, dword [edi + 0x7c]
push 0
push dword [eax + 8]
call esi
push 0x40
call fcn.004ed632
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x7d
push dword [esp + 0x30]
mov dword [esp + 0x44], 0x195
push ecx
push str.contacts_edit_btn_cancel
push ebp
push dword [edi + 0x10]
mov ecx, eax
mov dword [esp + 0x58], 0x5f
mov dword [esp + 0x5c], 0x1c
call fcn.004e4073
push eax
mov ecx, ebx
mov dword [edi + 0x80], eax
call fcn.004e4ab3
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_group
lea ebx, [edi + 0xdc]
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_id
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_cname
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_pass
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_personName
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_phone
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_email
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_messenger
push eax
mov ecx, ebx
call fcn.00446a79
lea eax, [esp + 0x50]
mov dword [esp + 0x50], str.contacts_edit_edit_additional
push eax
mov ecx, ebx
call fcn.00446a79
mov eax, dword [edi + 0xd4]
push 0x3c
pop esi
mov ecx, dword [eax + 0x2800]
mov eax, dword [eax + 0x2804]
sub eax, ecx
cdq
idiv esi
test eax, eax
je 0x49ea6d
movsx eax, word [0x5f1fd8]
imul eax, eax, 0x3c
push 8
pop ebp
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e837
mov eax, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
mov eax, dword [edi + 0x84]
push dword [eax + 8]
call ebx
cmp dword [0x5f1fdc], 0
je 0x49ea6d
movsx eax, word [0x5f1fd8]
imul ecx, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov eax, dword [eax + 0x2800]
mov esi, dword [ecx + eax + 0x30]
mov eax, dword [ecx + eax + 0x34]
mov ecx, 0xd8
sub eax, esi
cdq
idiv ecx
test eax, eax
je 0x49ea6d
movsx eax, word [0x5f1fd4]
imul eax, eax, 0xd8
add eax, 0x18
add eax, esi
cmp dword [eax + 0x14], ebp
jb 0x49e89f
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x88]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0x30
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e8de
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x8c]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0x48
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e91d
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x90]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0x60
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e95c
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x94]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0x78
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e99b
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x98]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0x90
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49e9dd
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x9c]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0xa8
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49ea1f
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xa0]
push dword [eax + 8]
call ebx
movsx eax, word [0x5f1fd8]
imul esi, eax, 0x3c
mov eax, dword [edi + 0xd4]
mov edx, dword [eax + 0x2800]
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add ecx, 0xc0
add eax, ecx
cmp dword [eax + 0x14], ebp
jb 0x49ea61
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xa4]
push dword [eax + 8]
call ebx
push 1
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10