joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003850
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
sub esp, 0x28
mov eax, dword [0x10005004]
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [esp + 0x30], 0
mov eax, edx
push ebp
mov ebp, dword [esp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
je 0x10003a17
push ebx
mov ebx, 1
lea ecx, [eax + 0xf]
sub ebx, eax
mov dword [esp + 0x18], ecx
push esi
mov dword [esp + 0x10], ebx
nop
lea edx, [esp + 0x24]
cmp edx, ecx
ja 0x1000389c
lea ecx, [esp + 0x33]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x24], xmm0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
xor ecx, dword [edi]
xor edx, dword [edi + 4]
xor eax, dword [edi + 8]
mov esi, dword [esp + 0x30]
xor esi, dword [edi + 0xc]
mov edi, 0x10
add ecx, edx
add eax, esi
rol edx, 5
xor edx, ecx
rol esi, 8
xor esi, eax
rol ecx, 0x10
add eax, edx
add ecx, esi
rol edx, 7
rol esi, 0xd
xor edx, eax
xor esi, ecx
rol eax, 0x10
sub edi, 1
jne 0x100038c4
mov edi, dword [esp + 0x14]
xor edx, dword [edi + 4]
xor eax, dword [edi + 8]
xor ecx, dword [edi]
xor esi, dword [edi + 0xc]
mov edi, dword [esp + 0x40]
cmp edi, 0x10
mov dword [esp + 0x2c], eax
mov eax, 0x10
cmova edi, eax
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], esi
test edi, edi
jle 0x100039e5
cmp edi, 0x40
jb 0x100039c6
lea ecx, [edi - 1]
lea eax, [esp + edi + 0x23]
add ecx, ebp
cmp ebp, eax
ja 0x10003945
lea eax, [esp + 0x24]
cmp ecx, eax
jae 0x100039c6
mov eax, edi
and eax, 0x8000003f
jns 0x10003953
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
lea esi, [esp + 0x24]
sub ecx, eax
lea ebx, [esp + 0x34]
sub esi, ebp
lea eax, [ebp + 0x20]
sub ebx, ebp
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + edx + 0x24]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + edx + 0x34]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, ecx
jl 0x10003970
mov dword [esp + 0x18], edx
cmp edx, edi
jge 0x100039e1
lea ebx, [esp + 0x24]
mov esi, edi
sub ebx, ebp
lea ecx, [edx + ebp]
sub esi, edx
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100039d3
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
sub edx, edi
mov dword [esp + 0x40], edx
add ebp, edi
add byte [ecx], 1
jne 0x10003a02
dec ecx
lea eax, [ebx + ecx]
test eax, eax
jg 0x100039f5
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
lea ecx, [eax + 0xf]
test edx, edx
jne 0x10003890
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
pop edi
pop ebp
xor ecx, esp
call fcn.10001000
add esp, 0x28
ret
Function at 0x40281c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x402826
repz ret
jmp fcn.00402a2b

Function at 0x40488b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004037d3
and dword [ebp - 0x14], 0
cmp dword [0x44b84c], 0
mov dword [ebp - 0x18], eax
jne 0x40493e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4049e6
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4049e6
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44b84c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44b850], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44b854], eax
call edi
push eax
call esi
mov dword [0x44b85c], eax
test eax, eax
je 0x40493e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44b858], eax
mov eax, dword [0x44b858]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x404997
cmp dword [0x44b85c], ecx
je 0x404997
push eax
call esi
push dword [0x44b85c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404997
test ebx, ebx
je 0x404997
call edi
test eax, eax
je 0x40498e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40498e
test byte [ebp - 8], 1
jne 0x404997
or dword [ebp + 0x10], 0x200000
jmp 0x4049ca
mov eax, dword [0x44b850]
cmp eax, dword [ebp - 0x18]
je 0x4049ca
push eax
call esi
test eax, eax
je 0x4049ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4049ca
mov eax, dword [0x44b854]
cmp eax, dword [ebp - 0x18]
je 0x4049ca
push eax
call esi
test eax, eax
je 0x4049ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44b84c]
call esi
test eax, eax
je 0x4049e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4049e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040281c
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3b48406b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x765b6073
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x404f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a84e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [esp + 0x24], 0
mov eax, dword [0x63b4a0]
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x28], 6
call fcn.0058e078
push 0x618524
push 0x618528
lea ecx, [esp + 0x18]
call fcn.00587da8
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x4050af
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0058dcb4
lea eax, [esp + 0x18]
push eax
call fcn.0043ad30
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 7
call fcn.0058e078
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 6
call fcn.0058df3f
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0058dcb4
call fcn.0043b0c0
add esp, 4
test al, al
je 0x405050
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
push eax
push str._CallNumber_s_and_CallNumberCallName
push ecx
call fcn.00588507
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str.update_Call_set_CallName_s_CallDevice_s_Danwei_s_where_CallNumber_s_and_CallNumberCallName
push eax
call fcn.00588507
add esp, 0x24
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 8]
push ecx
jmp 0x405099
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push str._CallNumber_like__s___and_CallNumberCallName
push eax
call fcn.00588507
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x70]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str.update_Call_set_CallName_s_CallDevice_s_Danwei_s_where_CallNumber_like__s___and_CallNumberCallName
push edx
call fcn.00588507
add esp, 0x24
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [0x64a740]
call fcn.005572e4
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call fcn.0058df3f
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.0058df3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.0058df3f
lea ecx, [esp + 4]
mov byte [esp + 0x24], 2
call fcn.0058df3f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.0058df3f
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x406f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a896f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push edi
mov esi, ecx
mov eax, dword [0x63b4a0]
mov dword [esp + 0x13c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xcc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x184
push eax
mov byte [esp + 0x14c], 3
call edi
mov ecx, dword [0x64a740]
push ecx
lea ecx, [esp + 0x28]
call fcn.00557aba
push 0x649cf8
mov byte [esp + 0x140], 4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x14]
call fcn.0055b385
mov edx, dword [esp + 0x144]
lea eax, [esp + 8]
push edx
push str.select_count___as_val_count_from_Contact_where__s
push eax
mov byte [esp + 0x148], 5
call fcn.00588507
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 0
push ecx
push 0
lea ecx, [esp + 0x30]
call fcn.00557dcf
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x4070e0
lea edx, [esp + 0x14]
push 0
push edx
push str.val_count
lea ecx, [esp + 0x30]
call fcn.005587de
lea ecx, [esp + 0x24]
call fcn.00557ea3
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
jge 0x407179
mov eax, dword [esp + 0x144]
lea ecx, [esp + 8]
push eax
push str.select_Name_from_Contact_where__s_order_by_Name
push ecx
call fcn.00588507
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x24]
push 0
push edx
push 0
call fcn.00557dcf
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x4070e0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push eax
push str.Name
call fcn.0055891c
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xcc]
push ecx
push 0
push 0x180
push edx
call edi
mov eax, dword [esp + 0x24]
push 1
push 1
lea ecx, [esp + 0x2c]
call dword [eax + 0x14]
mov eax, dword [esp + 0xec]
test eax, eax
je 0x40709e
lea ecx, [esp + 0x24]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.0055b3f5
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 3
call fcn.00557cc6
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 2
call fcn.0058df3f
lea ecx, [esp + 8]
mov byte [esp + 0x13c], 1
call fcn.0058df3f
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 0
call fcn.0058df3f
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x138
ret 4
push eax
lea ecx, [esp + 0x14]
push 0x6185d8
push ecx
call fcn.00588507
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xcc]
add esp, 0xc
push edx
push 0
push 0x180
push eax
call edi
jmp 0x4070e9
Function at 0x409240
Capabilities:
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a8e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x28], ebp
xor edi, edi
push 0x6193e4
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x36
mov byte [esp + 0x16], 0x42
mov byte [esp + 0x17], 0x4d
call fcn.0058e0c8
mov eax, dword [esp + 0x6c]
push 0x6194c0
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0x28
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x68]
push eax
mov word [esp + 0x40], 1
lea ebx, [ecx*8 + 0x1f]
mov ecx, dword [esp + 0x78]
shr ebx, 5
shl ebx, 2
mov edx, ebx
mov dword [esp + 0x3c], ecx
imul edx, ecx
add edx, 0x36
mov word [esp + 0x42], 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00568e16
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x40930f
push str.Cant_open_file_for_writing
mov ecx, ebp
call fcn.0058e0c8
jmp 0x409420
push esi
push 1
lea ecx, [esp + 0x1a]
push 1
push ecx
call fcn.00568e29
push esi
push 1
lea edx, [esp + 0x2b]
push 1
push edx
call fcn.00568e29
push esi
push 1
lea eax, [esp + 0x40]
push 4
push eax
call fcn.00568e29
push esi
push 1
lea ecx, [esp + 0x54]
push 2
push ecx
call fcn.00568e29
add esp, 0x40
lea edx, [esp + 0x20]
push esi
push 1
push 2
push edx
call fcn.00568e29
push esi
push 1
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.00568e29
push esi
push 1
lea ecx, [esp + 0x54]
push 0x28
push ecx
call fcn.00568e29
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add esp, 0x30
cmp eax, edi
mov dword [esp + 0x70], 0x36
lea ebp, [ebp + ebp*2]
mov dword [esp + 0x14], edi
jle 0x409417
mov edx, dword [esp + 0x68]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x68]
push esi
push 1
push ebp
push eax
call fcn.00568e29
add esp, 0x10
cmp eax, 1
jne 0x409409
mov ecx, dword [esp + 0x70]
add ecx, ebp
cmp ebp, ebx
mov dword [esp + 0x70], ecx
jae 0x4093ec
mov edi, ebx
mov eax, ecx
sub edi, ebp
add eax, edi
mov dword [esp + 0x70], eax
push esi
push 1
lea ecx, [esp + 0x74]
push 1
push ecx
mov byte [esp + 0x7c], 0
call fcn.00568e29
add esp, 0x10
dec edi
jne 0x4093d2
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
inc eax
add edx, ebp
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], edx
jl 0x4093a2
jmp 0x409417
mov ecx, dword [esp + 0x28]
push str.fwrite_error_nGiving_up
call fcn.0058e0c8
push esi
call fcn.00568c51
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0058df3f
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x10
Function at 0x420850
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ad0d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov al, byte [esp + 0x38]
xor ebx, ebx
test al, al
mov dword [esp + 0x2c], ebx
jne 0x4208cd
mov eax, dword [esp + 0x34]
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4208b1
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
call fcn.0058df3f
xor al, al
jmp 0x420a61
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x14]
push ebx
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x4208e0
push eax
call fcn.005923bb
add esp, 4
mov dword [esi + 0x6c], ebx
mov ecx, dword [esp + 0x3c]
lea edi, [esi + 0x74]
push ecx
lea ebp, [esi + 0x70]
push edi
push ebp
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0058dcb4
call fcn.0046d7d0
add esp, 0x10
cmp eax, ebx
mov dword [esi + 0x6c], eax
jne 0x420925
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0058df3f
xor al, al
jmp 0x420a61
mov ecx, dword [edi]
mov edx, dword [ebp]
push ecx
push edx
push eax
call fcn.0046e2a0
mov eax, dword [edi]
mov edx, dword [esi + 0x6c]
push eax
mov eax, dword [ebp]
lea ecx, [eax + eax*2]
push ecx
push edx
call fcn.0046e190
mov eax, dword [0x63b4a0]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x28]
mov bl, 1
push ecx
mov byte [esp + 0x48], bl
call fcn.0048a380
mov edx, dword [esi + 0xa0]
mov eax, dword [eax]
inc edx
lea ecx, [esp + 0x54]
push edx
push eax
push str._sfilePhoneAssit_TempTP_d.bmp
push ecx
mov byte [esp + 0x58], 2
call fcn.00588507
add esp, 0x2c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
lea ecx, [esp + 0x1c]
call fcn.004088e0
mov edx, dword [edi]
mov eax, dword [ebp]
mov ecx, dword [esi + 0x6c]
push edx
push eax
push ecx
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x40], 3
call fcn.0058dcb4
lea ecx, [esp + 0x2c]
call fcn.00409240
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4209d7
push eax
call fcn.005923bb
add esp, 4
mov dword [esi + 0x6c], 0
mov eax, dword [esp + 0x1c]
push 0x6193e4
push eax
call fcn.00568a52
add esp, 8
test eax, eax
je 0x420a33
mov al, byte [esp + 0x3c]
test al, al
je 0x420a33
mov ecx, dword [esp + 0x1c]
push 0
push 0x10
push ecx
call fcn.00599231
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0058df3f
xor al, al
jmp 0x420a61
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.0058df3f
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0058df3f
mov al, bl
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x421450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x5ad56c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x724]
mov dword [esp + 0x14], 0x20
call fcn.0059af23
lea ecx, [esi + 0x6e8]
mov byte [esp + 0x14], 0x1f
call fcn.0059af23
lea ecx, [esi + 0x6ac]
mov byte [esp + 0x14], 0x1e
call fcn.0059af23
lea ecx, [esi + 0x670]
mov byte [esp + 0x14], 0x1d
call fcn.0059af23
lea ecx, [esi + 0x634]
mov byte [esp + 0x14], 0x1c
call fcn.0059af23
lea ecx, [esi + 0x5f8]
mov byte [esp + 0x14], 0x1b
call fcn.0059af23
lea ecx, [esi + 0x5bc]
mov byte [esp + 0x14], 0x1a
call fcn.0059af23
lea ecx, [esi + 0x580]
mov byte [esp + 0x14], 0x19
call fcn.0059b2cb
lea ecx, [esi + 0x544]
mov byte [esp + 0x14], 0x18
call fcn.0059af23
lea ecx, [esi + 0x508]
mov byte [esp + 0x14], 0x17
call fcn.0059af23
lea ecx, [esi + 0x4cc]
mov byte [esp + 0x14], 0x16
call fcn.0059af23
lea ecx, [esi + 0x490]
mov byte [esp + 0x14], 0x15
call fcn.0059af23
lea ecx, [esi + 0x454]
mov byte [esp + 0x14], 0x14
call fcn.0059b2cb
lea ecx, [esi + 0x418]
mov byte [esp + 0x14], 0x13
call fcn.0059b2cb
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x14], 0x12
call fcn.0059af23
lea ecx, [esi + 0x3a0]
mov byte [esp + 0x14], 0x11
call fcn.0059af23
lea ecx, [esi + 0x364]
mov byte [esp + 0x14], 0x10
call fcn.0059af23
lea ecx, [esi + 0x328]
mov byte [esp + 0x14], 0xf
call fcn.0059af23
lea ecx, [esi + 0x2ec]
mov byte [esp + 0x14], 0xe
call fcn.0059af23
lea ecx, [esi + 0x2b0]
mov byte [esp + 0x14], 0xd
call fcn.0059af23
lea ecx, [esi + 0x274]
mov byte [esp + 0x14], 0xc
call fcn.0059af23
lea ecx, [esi + 0x238]
mov byte [esp + 0x14], 0xb
call fcn.0059af23
lea ecx, [esi + 0x1fc]
mov byte [esp + 0x14], 0xa
call fcn.0059b1ba
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x14], 9
call fcn.0059af23
lea ecx, [esi + 0x184]
mov byte [esp + 0x14], 8
call fcn.0059af23
lea ecx, [esi + 0x148]
mov byte [esp + 0x14], 7
call fcn.0059af23
lea ecx, [esi + 0x10c]
mov byte [esp + 0x14], 6
call fcn.0059af23
lea ecx, [esi + 0xd0]
mov byte [esp + 0x14], 5
call fcn.0059af23
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 4
call fcn.0059af23
lea ecx, [esi + 0x78]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CMenu.0
mov byte [esp + 0x14], 0x21
call fcn.0058e6ec
lea ecx, [esi + 0x70]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CMenu.0
mov byte [esp + 0x14], 0x22
call fcn.0058e6ec
lea ecx, [esi + 0x68]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CMenu.0
mov byte [esp + 0x14], 0x23
call fcn.0058e6ec
lea ecx, [esi + 0x5c]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 0x24
call fcn.0059717e
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0058d404
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44f600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b14ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x64a740]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.00557aba
mov ecx, dword [0x63b4a0]
mov dword [esp + 0x148], 0
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.0055b385
mov edx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
push edx
mov ecx, eax
push eax
push ecx
lea edx, [esp + 0x18]
push str.select_count___as_val_count_from_Contact_where_Leibie__s_or__Leibie_s_and_Name__s_
push edx
mov byte [esp + 0x15c], 2
call fcn.00588507
add esp, 0x14
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xc]
push 0
push eax
push 0
lea ecx, [esp + 0x3c]
call fcn.00557dcf
lea ecx, [esp + 0x10]
push 0
push ecx
push str.val_count
lea ecx, [esp + 0x3c]
call fcn.005587de
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x63b4a0]
mov dword [esp + 8], edx
push edi
lea eax, [esp + 0xc]
push 0x61842c
push eax
mov byte [esp + 0x154], 3
call fcn.00588507
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
lea ecx, [esi + 0x27b4]
call fcn.00592059
mov eax, dword [esi + 0x27d0]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0059688d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x20]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 8]
mov byte [esp + 0x148], 2
call fcn.0058df3f
mov byte [esp + 0x148], 1
lea ecx, [esp + 0x10]
call fcn.0055b3f5
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 0
call fcn.0058df3f
lea ecx, [esp + 0x30]
mov dword [esp + 0x148], 0xffffffff
call fcn.00557cc6
mov ecx, dword [esp + 0x140]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x44f790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b14e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x64a740]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00557aba
lea ecx, [esp + 0xc]
mov dword [esp + 0x144], 0
call fcn.0055b385
push 0x649cf8
mov byte [esp + 0x148], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push str.select_count___as_val_count_from_Contact
push 0
lea ecx, [esp + 0x38]
call fcn.00557dcf
lea ecx, [esp + 0xc]
push 0
push ecx
push str.val_count
lea ecx, [esp + 0x38]
call fcn.005587de
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x63b4a0]
mov dword [esp + 8], edx
push edi
lea eax, [esp + 0xc]
push 0x61d2a4
push eax
mov byte [esp + 0x150], 2
call fcn.00588507
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
lea ecx, [esi + 0x27f0]
call fcn.00592059
mov eax, dword [esi + 0x280c]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0059688d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 8]
mov byte [esp + 0x144], 1
call fcn.0058df3f
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 0
call fcn.0055b3f5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00557cc6
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x140
ret