joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a50
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
xor ecx, ecx
lea edx, [esp]
push esi
mov esi, dword [esp + 0x18]
push edi
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x410a72
cmp al, 0x5a
jg 0x410a72
movsx eax, al
sub eax, 0x41
jmp 0x410aaf
cmp al, 0x61
jl 0x410a82
cmp al, 0x7a
jg 0x410a82
movsx eax, al
sub eax, 0x47
jmp 0x410aaf
cmp al, 0x30
jl 0x410a92
cmp al, 0x39
jg 0x410a92
movsx eax, al
add eax, 4
jmp 0x410aaf
cmp al, 0x2b
jne 0x410a9d
mov eax, 0x3e
jmp 0x410aaf
cmp al, 0x2f
jne 0x410aa8
mov eax, 0x3f
jmp 0x410aaf
cmp al, 0x3d
jne 0x410add
or eax, 0xffffffff
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 4
jl 0x410a5f
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
je 0x410add
mov edi, dword [esp + 0xc]
cmp edi, 0xffffffff
je 0x410add
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
jne 0x410ae5
mov edx, dword [esp + 0x14]
cmp edx, esi
je 0x410af6
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x14]
xor eax, eax
cmp edx, 0xffffffff
setne al
add eax, 2
jmp 0x410afb
mov eax, 1
shl ecx, 6
or ecx, edi
and esi, 0x3f
shl ecx, 6
or ecx, esi
mov esi, dword [esp + 0x20]
shl ecx, 6
and edx, 0x3f
or ecx, edx
mov edx, ecx
shr edx, 0x10
cmp eax, 1
mov byte [esi], dl
jle 0x410b28
mov edx, ecx
shr edx, 8
mov byte [esi + 1], dl
cmp eax, 2
jle 0x410adf
mov byte [esi + 2], cl
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4129e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x444b61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [esp + 0x120]
push esi
push edi
mov esi, ecx
push eax
push 0x117
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esi + 0x60]
mov dword [esp + 0x120], 0
call fcn.0042f110
lea edi, [esi + 0xc0]
mov byte [esp + 0x120], 1
mov ecx, edi
call fcn.004415a6
mov dword [edi], 0x44a000
lea edi, [esi + 0x100]
mov byte [esp + 0x120], 2
mov ecx, edi
call fcn.004415a6
mov dword [edi], 0x44a000
push sub.MFC42.DLL_CButton::CButton
push 0x4134d0
push 7
lea ecx, [esi + 0x140]
push 0x40
push ecx
mov byte [esp + 0x134], 3
call fcn.00441bbf
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 8]
mov ecx, 0x4579a8
push edx
mov byte [esp + 0x124], 4
mov dword [esi], 0x449f28
stosb byte es:[edi], al
call fcn.00402d30
push str.ancamera.ini
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x128], 5
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push 0x104
push ecx
push str.1000
push str.CAPTURE_TIME
push str.OPTION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x120], 4
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atol]
mov ecx, dword [esp + 0x11c]
add esp, 4
mov dword [esi + 0x300], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x414140
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x444d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.LEFT
push str.AUTOPOS_HISTORY
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, 0x4579a8
push edx
call fcn.00402d30
push str.ancamera.ini
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 1
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0
push 0x456098
push str.AUTOPOS_HISTORY
call esi
lea ecx, [esp + 0x14]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4579a8
call fcn.00402d30
push str.ancamera.ini
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x34], 2
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x344
push str.WIDTH
push str.AUTOPOS_HISTORY
call esi
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
mov ecx, 0x4579a8
push eax
call fcn.00402d30
mov dword [esp + 0x28], 3
push str.ancamera.ini
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push eax
push 0x2d1
push str.HEIGHT
push str.AUTOPOS_HISTORY
call esi
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add ebp, edi
add esi, ebx
mov dword [eax], edi
mov dword [eax + 0xc], esi
pop edi
mov dword [eax + 8], ebp
pop esi
mov dword [eax + 4], ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4171c0
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x445051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esi], 0x44a8e8
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov byte [esp + 0x130], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0xb
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
mov ecx, 0x4579a8
push eax
mov byte [esp + 0x134], 0xc
call fcn.00402d30
push str.ancamera.ini
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x13c], 0xd
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [esp + 0x24]
push eax
push 0x104
push edx
push str.FALSE
push str.REMEMBER_POSITION
push str.OPTION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x130], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 8
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CButton::CButton
push 3
lea eax, [esi + 0x240]
push 0x40
mov byte [esp + 0x13c], 7
push eax
call fcn.00441aaf
lea ecx, [esi + 0x200]
mov byte [esp + 0x130], 6
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0x1c0]
mov byte [esp + 0x130], 5
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0x180]
mov byte [esp + 0x130], 4
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0x140]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0x100]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0xc0]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esi + 0x60]
mov byte [esp + 0x130], 0
call fcn.0042f180
mov ecx, esi
mov dword [esp + 0x130], 0xffffffff
call fcn.004412fa
mov ecx, dword [esp + 0x128]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x421729
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CImageList::CImageList
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CImageList::CImageList
mov eax, 0x448d00
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
push 1
push 2
push 0x19
push 0x10
push 0x10
lea ecx, [esi + 0x758]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CImageList::Create
mov dword [esp + 8], 0x448b98
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x448bc0
mov dword [esp + 0x10], 0x448b98
mov dword [esp + 8], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], esi
mov byte [esp + 0x30], bl
call fcn.0044153a
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044153a
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x427220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x448d00
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.00428c10
test eax, eax
jne 0x4272c0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xc], 0x448b98
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4272cb
xor eax, eax
jmp 0x4272ce
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 4]
push eax
call fcn.0042bf40
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xc], 0x448b98
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x14]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x428d80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebp
mov esi, eax
mov dword [esp + 8], esi
call ebp
mov ecx, dword [esp + 0x2c]
sub eax, esi
cmp eax, ecx
jae 0x428df9
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x428de7
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 1
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
jne 0x428dc6
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
sub eax, edx
cmp eax, ecx
jb 0x428db3
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret 4
Function at 0x42ae80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], 0x28
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov word [esp + 0x44], 1
mov word [esp + 0x46], 0x18
mov dword [esp + 0x48], eax
call ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x28]
mov esi, eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edx, dword [esp + 0x4c]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edi, eax
lea eax, [esp + 0x38]
push 0
push eax
push edi
push ecx
push 0
push ebx
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
push esi
call ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x68]
xor ebp, ebp
push ebp
push 0x80
push 2
push ebp
push ebp
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42af61
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
mov eax, dword [esp + 0x4c]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x64]
push ebp
push ecx
lea edx, [esp + 0x18]
push 0xe
add eax, 0x36
push edx
push esi
mov word [esp + 0x24], 0x4d42
mov dword [esp + 0x2e], 0x36
mov dword [esp + 0x26], eax
mov word [esp + 0x2c], bp
mov word [esp + 0x2a], bp
call ebx
lea eax, [esp + 0x64]
push ebp
push eax
lea ecx, [esp + 0x40]
push 0x28
push ecx
push esi
call ebx
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x64]
push ebp
push edx
push eax
push edi
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x42bf70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 8]
push ecx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
ret 8

Function at 0x42c070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44683e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 4], esi
mov dword [esi], 0x449754
mov dword [esi + 4], eax
mov ecx, 0x449740
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0xe0]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, dword [esp + 8]
mov dword [esi], 0x44d310
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42c110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446894
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x44d310
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 3
push eax
call fcn.0042cba0
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 2
call fcn.0044153a
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
mov dword [edi], 0x448b98
mov ecx, edi
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [edi], 0x448bc0
lea edi, [esi + 0x28]
mov dword [esp + 0xc], edi
mov dword [edi], 0x448b98
mov ecx, edi
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [edi], 0x448bc0
mov dword [esi], 0x449754
mov ecx, esi
mov dword [esp + 0x18], 6
call sub.MFC42.DLL_CMenu::DestroyMenu
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x448bc0
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4302e3
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebp, dword [esi + 0x198]
mov ebx, dword [esi + 0x19c]
cmp ebp, ebx
je 0x43035a
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x43030b
mov edx, dword [ebp]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 8]
mov eax, dword [ebp]
mov ecx, esi
push eax
call fcn.00430720
mov edi, eax
test edi, edi
je 0x43033c
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43033c
push edi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [esi + 0x20]
jne 0x43033c
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp]
test edi, edi
je 0x430353
mov ecx, edi
call fcn.00430290
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
add ebp, 4
cmp ebp, ebx
jne 0x4302f7
mov edx, dword [esi + 0x19c]
mov ecx, dword [esi + 0x198]
mov eax, edx
cmp eax, edx
je 0x43037a
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x43036c
mov edx, dword [esi + 0x19c]
mov dword [esi + 0x19c], ecx
mov ecx, esi
mov dword [esp + 0x10], edx
call fcn.004334d0
push 1
mov ecx, esi
call fcn.004336f0
xor eax, eax
pop edi
mov dword [esi + 0xfc], eax
mov dword [esi + 0x104], eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x108], eax
mov byte [esi + 0x112], al
mov byte [esi + 0x111], al
mov byte [esi + 0x110], al
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4315b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x10], ebx
cmp dword [edi + 4], 0xffffffff
je 0x43161b
mov cl, byte [edi + 0x10]
cmp cl, bl
jne 0x4315f1
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x4315f1
cmp dword [eax + 4], ebx
jne 0x431602
cmp cl, 1
jne 0x43161b
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x43161b
cmp dword [eax + 4], ebx
je 0x43161b
cmp cl, bl
jne 0x43160b
mov ebp, dword [esi + 0x70]
jmp 0x43160e
mov ebp, dword [esi + 0x78]
mov ecx, esi
call fcn.00432990
add eax, ebp
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, esi
mov dword [esp + 0x50], ebx
call fcn.004320a0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::SelectObject_2
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
call ebx
mov ebp, dword [esp + 0x14]
mov ecx, esi
call fcn.00432140
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [edi + 8]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ecx, ebp
cmp ecx, eax
jg 0x4316a3
mov eax, dword [edi + 8]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
call ebx
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::SelectObject_2
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00432940
mov ebx, dword [eax]
push edi
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], eax
call fcn.004329b0
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x10]
add esi, edi
add esi, ebx
lea ecx, [esp + 0x34]
add esi, ebp
mov dword [esp + 0x50], 0xffffffff
add esi, eax
call fcn.004416a2
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x432230
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push edi
mov edi, ecx
cmp dword [edi + 0xfc], ebx
je 0x432307
cmp byte [ebx + 0x10], 1
je 0x432307
lea eax, [edi + 0x140]
push esi
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, edi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edx
call fcn.004328a0
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CRect::DeflateRect_1
mov esi, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x1c]
push 2
push edx
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4322e2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push eax
call esi
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x432300
mov ecx, dword [eax]
push 0
push ecx
call esi
mov dword [edi + 0xfc], ebx
pop esi
pop edi
pop ebx
add esp, 0x20
ret 4
Function at 0x43e3f0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4474b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [0x457bf9]
push ebx
push esi
push edi
test al, 1
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
jne 0x43e47b
mov bl, al
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x12]
push 0
or bl, 1
push ecx
mov ecx, 0x457c1c
mov byte [0x457bf9], bl
call fcn.0043e610
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x43ed00
push 2
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x457c00
mov dword [0x457c18], eax
call ebx
push 0x43ee00
call fcn.00441a6c
add esp, 4
jmp 0x43e48d
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x457c00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x457bf9]
test al, 1
jne 0x43e4e7
mov cl, al
lea edx, [ebp - 0x13]
or cl, 1
push edx
lea eax, [ebp - 0x14]
mov byte [0x457bf9], cl
push 0
push eax
mov ecx, 0x457c1c
call fcn.0043e610
call edi
push eax
push 0
push 0x43ed00
push 2
call esi
push 0x457c00
mov dword [0x457c18], eax
call ebx
push 0x43ee00
call fcn.00441a6c
add esp, 4
lea ecx, [ebp + 8]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov ecx, 0x457c1c
call fcn.0043e640
mov al, byte [0x457bf9]
mov dword [ebp - 4], 0xffffffff
test al, 1
jne 0x43e559
mov cl, byte [ebp + 0xb]
or al, 1
mov byte [0x457bf9], al
mov al, byte [ebp + 0xb]
mov byte [0x457c1d], cl
mov ecx, 0x457c1c
mov byte [0x457c1c], al
mov byte [0x457c24], 0
call fcn.0043e770
call edi
push eax
push 0
push 0x43ed00
push 2
call esi
push 0x457c00
mov dword [0x457c18], eax
call ebx
push 0x43ee00
call fcn.00441a6c
add esp, 4
push 0x457c00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4