joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x7d9a3c]
push esi
push edi
mov edi, ecx
mov esi, 1
mov ecx, dword [0x7d9a40]
mov dword [ebp - 8], edi
cmp ebx, ecx
jae 0x4d8708
test esi, esi
js 0x4d8705
mov edi, dword [ebx]
test edi, edi
je 0x4d86fe
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x4d86bf
xor esi, esi
jmp 0x4d86fe
lea ecx, [ebp - 4]
push ecx
push 0x7374f4
push dword [edi + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x4d86eb
mov eax, dword [edi + 0x10]
add eax, 4
push eax
push 5
push 4
push dword [ebp - 4]
push dword [edi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov esi, eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d86f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x7d9a40]
add ebx, 4
cmp ebx, ecx
jb 0x4d86a3
mov edi, dword [ebp - 8]
test esi, esi
js 0x4d880e
jne 0x4d87a7
cmp byte [edi + 0x3c], 0
je 0x4d8792
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x4d8759
lea eax, [ebp - 8]
push eax
push 0
push edi
push 0x4d46a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x4d8767
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x30], ebx
mov ecx, edi
mov esi, 0x80004005
call fcn.004d8630
jmp 0x4d87ab
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x4d8789
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4d879a
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x4d87ad
mov ecx, edi
call fcn.004d8630
jmp 0x4d87ab
mov byte [edi + 0x3c], 0
test esi, esi
jne 0x4d87f2
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x24]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x4d87f6
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [ebp - 0x24]
push eax
call ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
jg 0x4d87d0
jmp 0x4d87f6
test esi, esi
js 0x4d880e
mov ecx, edi
call fcn.004d8630
cmp byte [edi + 0x3c], 0
mov esi, eax
je 0x4d880e
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d9aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d9af9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d9af9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4d9aea
cmp esi, edx
jae 0x4d9af9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4d9ad8
cmp esi, edx
jae 0x4d9af9
cmp word [esi], 0
je 0x4d9af9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4e85f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea eax, [esi - 0x20]
neg esi
sbb esi, esi
and esi, eax
cmp dword [ebp + 0x14], 0
je 0x4e86ee
push ebx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
js 0x4e873f
mov edi, dword [ebp + 0xc]
mov ecx, 1
mov edx, dword [edi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x4e864b
push ebx
mov ecx, edi
call fcn.004d5ad0
mov edx, dword [edi]
cmp ebx, dword [edx - 8]
jg 0x4e873f
mov dword [edx - 0xc], ebx
xor ecx, ecx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
lea eax, [ebx + 1]
push eax
push edx
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
test eax, eax
jne 0x4e867a
xor ecx, ecx
jmp 0x4e8690
push dword [eax - 8]
push eax
call fcn.006fbebc
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4e873f
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4e873f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
cmp dword [ebp + 0xc], ebx
pop ebx
mov word [eax + ecx*2], dx
jge 0x4e86b0
xor edi, edi
jmp 0x4e8705
cmp dword [ebp + 0x18], edx
je 0x4e8732
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ebp + 0x1c]
jle 0x4e8732
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
lea eax, [esi + 0x20]
neg eax
sbb eax, eax
and eax, esi
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
call eax
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test edi, edi
jne 0x4e8737
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esi + 0x20]
neg ecx
sbb ecx, ecx
and ecx, esi
push dword [ecx + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18
push 0x80070057
call fcn.004cf5d0
int3
Function at 0x4e8920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 8]
test esi, esi
je 0x4e8a78
test edi, edi
je 0x4e8a78
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x7d9a60
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7d9a78]
mov dword [esi + 8], eax
push 0x7d9a60
mov dword [0x7d9a78], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [edi + 0x20], 1
mov dword [edi + 0x24], 0
mov esi, dword [0x7f44f0]
mov dword [ebp - 8], esi
call fcn.004dbd40
push 5
push 0xcf
push esi
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4e8a5a
push 0xf0
push 0xcf
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], 0
test eax, eax
je 0x4e89d8
push eax
push esi
call ecx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
xor esi, esi
push dword [ebp - 8]
call ecx
test eax, eax
je 0x4e8a47
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4e8a47
push dword [ebp - 4]
push eax
call fcn.004d8c10
add esp, 8
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push 0x4d8f40
push dword [ebp + 8]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov ebx, eax
test ebx, ebx
je 0x4e8a23
cmp ebx, 0xffffffff
jne 0x4e8a2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x4e8a4f
test eax, eax
je 0x4e8a4f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4e8a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4e8a5a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x24]
test eax, eax
jns 0x4e8a6d
cmp ebx, 0xffffffff
jne 0x4e8a6d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc0000005
call fcn.004d9b20
int3
Function at 0x4f3790
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
mov byte [esi + 0xc], 0
jne 0x4f37bc
push 0
push 0
push esi
push 0x4fb620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4f37c0
mov byte [esi + 0xc], 1
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x4fdd90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4fdde9
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
shr ecx, 2
test bl, cl
je 0x4fde20
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push dword [edi + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
jbe 0x4fde4f
or byte [edi + 0x58], 2
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fde70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723f18
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x20], eax
mov ax, word [0x738154]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xe
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4fdf2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fdf24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fe03a
push edx
push ecx
call fcn.006f4b9f
add esp, 8
push 0
push dword [esi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004fd7f0
push 0
push eax
push 0x130c
push dword [esi + 0x28]
mov dword [esi + 0x50c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x50c]
lea ecx, [esi + 0x2c]
call fcn.004f3800
push dword [esi + 0x490]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fdf9f
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x490]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x514]
test eax, eax
je 0x4fdfbb
push 0
push 0
push 0x40c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4fdfee
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 0x34]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x84], 3
push str.CCoremailAddressBookDialog::OnBnClickedBtnChangeUser_uninit_loginDialogHandle_
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
add esp, 0xc
lea ecx, [esi + 0x2c]
call fcn.004ef450
lea ecx, [ebp - 0xd0]
call fcn.00553780
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 0x10
call fcn.006fb96e
int3
Function at 0x4fe380
Capabilities:
Hide graphical window

Disassembly:
push 0x3e8
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 8
Function at 0x500870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723f18
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x20], eax
mov ax, word [0x738154]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xe
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x50092e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x500924
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x500a36
push edx
push ecx
call fcn.006f4b9f
add esp, 8
push 0
push dword [esi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004fd7f0
push 0
push eax
push 0x130c
push dword [esi + 0x28]
mov dword [esi + 0x50c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x50c]
lea ecx, [esi + 0x2c]
call fcn.004f3800
push dword [esi + 0x490]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x50099f
push 0x43
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x490]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x514]
test eax, eax
je 0x5009bb
push 0
push 0
push 0x40c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5009ee
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 0x34]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x84], 3
push str.CCoremailAddressBookDialog::OnBnClickedBtnChangeUser_uninit_loginDialogHandle_
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
add esp, 0xc
lea ecx, [esi + 0x2c]
call fcn.004ef450
lea ecx, [ebp - 0xd0]
call fcn.00553780
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3
Function at 0x5028b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x724395
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00516480
add esp, 8
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x5029b2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5029b2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x5029b2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, 0xf
lea ecx, [esi + eax]
cmp esi, ecx
jae 0x5029b2
movzx edx, word [esi]
inc edx
lea edx, [esi + edx*2]
cmp edx, ecx
jae 0x5029b2
movzx eax, word [edx]
lea edx, [edx + eax*2]
add edx, 2
cmp edx, ecx
jae 0x5029b2
movzx eax, word [edx]
lea edx, [edx + eax*2]
add edx, 2
cmp edx, ecx
jae 0x5029b2
movzx eax, word [edx]
lea edx, [edx + eax*2]
add edx, 2
cmp edx, ecx
jae 0x5029b2
movzx esi, word [edx]
inc esi
lea esi, [edx + esi*2]
sub edi, 5
jne 0x502955
cmp esi, ecx
jae 0x5029b2
movzx eax, word [esi]
test ax, ax
je 0x5029b2
push eax
lea eax, [esi + 2]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
jmp 0x5029b4
xor esi, esi
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], esi
jne 0x5029c6
push 8
push 0x73998c
jmp 0x5029e7
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5029d6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea edi, [ebx + 0x42c]
mov ecx, edi
call fcn.004df6c0
mov edx, esi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x502a00
sub edx, ecx
mov ecx, edi
sar edx, 1
push edx
push esi
call fcn.004df6c0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x502a55
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x502a4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x502a73
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3
Function at 0x503590
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x724548
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x20], eax
mov ax, word [0x738154]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xe
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x50364f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x503645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5037af
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [edi + 0x408]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
je 0x50367c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x408], 0
push str.NeteaseFAHook.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x408], eax
test eax, eax
jne 0x5036aa
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 0x34]
mov eax, str.CCoremailFoxmailAddinsDialog::InitDllContact_LoadLibrary_failed_
jmp 0x50374a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetResponseAndMonitorInfo
push eax
call esi
push str.AddTargetComposeHandle
push dword [edi + 0x408]
mov dword [edi + 0x40c], eax
call esi
push str.UpdateTargetComposeHandle
push dword [edi + 0x408]
mov dword [edi + 0x410], eax
call esi
push str.UnHook
push dword [edi + 0x408]
mov dword [edi + 0x414], eax
call esi
push str.UnHookCompose
push dword [edi + 0x408]
mov dword [edi + 0x418], eax
call esi
cmp dword [edi + 0x40c], 0
mov dword [edi + 0x41c], eax
je 0x503736
cmp dword [edi + 0x418], 0
je 0x503736
cmp dword [edi + 0x410], 0
je 0x503736
cmp dword [edi + 0x414], 0
je 0x503736
test eax, eax
je 0x503736
mov bl, 1
jmp 0x50376c
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 0x34]
mov eax, str.CCoremailFoxmailAddinsDialog::InitDllContact_not_all_func_loaded_successfully_
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x84], 6
push eax
call fcn.004cb4e0
push eax
call fcn.004cbd50
add esp, 0xc
xor bl, bl
lea ecx, [ebp - 0xd0]
call fcn.00553780
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
int3

Function at 0x503ab0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10
Function at 0x503ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72459d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7db1e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x503c27
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push esi
push str.get_a_Close_Compose_cmd__Compose_Handle:_x_
push eax
mov dword [ebp - 4], 0
call fcn.004d2360
add esp, 0xc
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x503c31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, str.CMWM_CLOSEFOXMAILCOMPOSE
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
test eax, 0xffff0000
jne 0x503b66
movzx eax, ax
push eax
call fcn.004d4560
jmp 0x503b70
push str.CMWM_CLOSEFOXMAILCOMPOSE
call fcn.004cce60
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00506600
mov edx, dword [ebp + 0xc]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x503ba4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
lea ecx, [edi + 0x3f8]
call fcn.00506a70
mov eax, dword [edi + 0x41c]
push esi
call eax
mov ecx, dword [edi + 0x3ec]
push esi
call fcn.004fd3e0
test al, al
je 0x503bef
mov eax, dword [edi + 0x3ec]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x3e8]
push 0
push dword [eax + 4]
call esi
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x503c0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004cf5d0
push 0x80004005
call fcn.004cf5d0
int3