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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401c66
pop dword [ebp - 0x20]
mov eax, 0x401c66
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x7ee461b6
sub dword [ebp - 0x30], 0x30921c6b
mov dword [ebp - 0x2c], 0x71bf434a
add dword [ebp - 0x2c], 0xc07408fb
mov dword [ebp - 0x28], 0xf000d288
add dword [ebp - 0x28], 0x5c4b71a6
mov dword [ebp - 0x24], 0x99e72d6a
add dword [ebp - 0x24], 0x6618d296
lea eax, [ebp - 0x30]
push eax
mov eax, 0x8bff7652
sub eax, 0x8bbf45fe
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x4f9e3b50
add dword [ebp - 0x30], 0x24d42e06
mov dword [ebp - 0x2c], 0xb9054260
sub dword [ebp - 0x2c], 0x7798e0eb
mov dword [ebp - 0x28], 0x8f521593
add dword [ebp - 0x28], 0xd41d56d9
mov dword [ebp - 0x24], 0x1a32d5a2
add dword [ebp - 0x24], 0xe5cd2a5e
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x57796cd8
add eax, 0xa8c6c354
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x36bfe
push 0
call eax
mov ecx, 0xaed4de95
add ecx, 0x512b6a7e
mov esi, eax
mov edi, 0x80ddfa58
sub edi, 0x809d8a58
add edi, dword [ebp - 0x20]
mov edx, 0xa98de03a
sub edx, 0xb76951b9
add dword [ebp - 0x18], eax
mov ebx, dword [edi]
xor dword [ebp - 0x10], 0xc5756be2
sub ebx, edx
xor dword [ebp - 8], 0xd0e34703
mov dword [esi], ebx
add dword [ebp - 0x18], ecx
add esi, 0xd40b661d
add esi, 0x2bf499e7
add edi, 4
loop 0x401d83
add eax, 0x1171f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4269c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426a08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426a08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426a08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426a08
cmp dword [ecx + 0x74], 0xe
jbe 0x426a08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438ddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438ddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0xe36058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e361a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe3607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3606a
add dl, dl
jne 0xe36089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe360dc
xor eax, eax
add dl, dl
jne 0xe36096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3617d
add dl, dl
jne 0xe360a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe360b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe360bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe360c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe360d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe36075
mov eax, 1
add dl, dl
jne 0xe360ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe360f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe360e1
sub eax, ebx
mov ebx, 1
jne 0xe36128
mov ecx, 1
add dl, dl
jne 0xe3610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe36119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe36105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe36075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe3613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe3614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe36136
cmp eax, 0x7d00
jae 0xe3616d
cmp eax, 0x500
jb 0xe36168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe36075
cmp eax, 0x7f
ja 0xe36170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe36075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe3619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe36075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40ef1d
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4312a4]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.0040d45f
push 0x4027ac
lea ecx, [esp + 0x1c]
call fcn.0040d3b5
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x40ef9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40efc7
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.0040e753
mov edi, eax
jmp 0x40efc7
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.0040edfe
mov ebx, eax
test ebx, ebx
jns 0x40efcd
mov ecx, dword [ebp + 4]
mov edx, 0xcf
push ebx
push 0x40263c
call fcn.0040e705
mov edi, ebx
test esi, esi
je 0x40efe1
jmp 0x40efdb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call fcn.0040e870
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00428470
mov esp, ebp
pop ebp
ret 8
Function at 0x411e2c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004120af
Function at 0x4157e8
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
xor ebx, ebx
inc ebx
push edi
mov dword [esi + 8], ebx
call fcn.00415917
test eax, eax
je 0x41580c
push 0x1388
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x3c]
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41583b
push 0
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x64], 0
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x1c]
call dword [sym.imp.MFC42u.dll_CString::CString]
pop edi
lea ecx, [esi + 4]
pop esi
pop ebx
jmp dword [sym.imp.MFC42u.dll_CString::CString]

Function at 0x415889
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.004158f7
mov eax, dword [ebp + 0xc]
xor edi, edi
push dword [esi + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
cmp dword [esi + 0x64], edi
jne 0x4158dc
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esi + 0x68]
push eax
push edi
push esi
push 0x4159c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x64], eax
jmp 0x4158eb
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4161ec
Capabilities:
Get geographical location

Disassembly:
push 0x240
mov eax, 0x42a0f2
call fcn.00428a3d
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x22c], esi
push 0x208
xor ebx, ebx
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x228]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0x2c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x2e
mov dword [ebp - 0x14], ebx
push 4
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 4
lea eax, [ebp - 0x18]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x240], 3
test edi, edi
je 0x416281
lea eax, [ebp - 0x18]
mov dword [ebp - 0x23c], eax
jmp 0x41628b
mov dword [ebp - 0x23c], 0x40288c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x248], edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
call dword [0x43629c]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], ebx
call dword [0x43629c]
push edi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 1
push 0x4036e8
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
fld qword [ebp + 8]
lea eax, [ebp - 0x230]
pop ecx
fstp qword [esp]
push dword [ebp - 0x22c]
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
add esp, 0x10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x230]
push 0x403614
call fcn.0041f6c9
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x230]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call dword [sym.imp.MFC42u.dll_CString::CString_1]
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x230]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, esi
call fcn.004289da
ret 8
Function at 0x41df16
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x42aecf
call fcn.00428a3d
mov dword [ebp - 0x220], edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x230], 0x208
call dword [0x43629c]
xor edi, edi
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], edi
call dword [0x43629c]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::LoadStringW]
test eax, eax
je 0x41e092
push 0x153
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC42u.dll_CString::LoadStringW]
test eax, eax
je 0x41e092
lea eax, [ebp - 0x22c]
push eax
push 1
push edi
push 0x404c50
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e097
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push 2
push ebx
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test ebx, ebx
jle 0x41dfe1
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [esi]
mov ecx, dword [ebp - 0x220]
push edi
push edi
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x228]
push eax
push ecx
mov ecx, esi
call dword [0x436604]
mov ecx, dword [ebp - 0x21c]
call esi
mov esi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
add ecx, 0x1c
mov eax, dword [esi]
add eax, 0x30
mov dword [ebp - 0x21c], eax
test ebx, ebx
js 0x41e068
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
mov ebx, dword [ebp - 0x21c]
push edi
push edi
push eax
mov eax, dword [ebp - 0x220]
add eax, 0x1c
mov byte [ebp - 4], 2
mov ecx, dword [ebx]
push eax
call dword [0x436604]
mov ecx, esi
call dword [ebx]
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString]
jmp 0x41e084
push edi
push edi
lea edx, [ebp - 0x224]
push edx
push ecx
mov ecx, dword [eax]
call dword [0x436604]
mov ebx, dword [ebp - 0x21c]
mov ecx, esi
call dword [ebx]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41e097
mov edi, 0x80070490
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x228]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, edi
call fcn.004289da
ret 8
Function at 0x421ac5
Capabilities:
Create directory

Disassembly:
push 0x228
mov eax, 0x42b82e
call fcn.00428a3d
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x230], eax
call dword [0x43629c]
xor edi, edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call dword [0x43629c]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call dword [0x43629c]
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPath2W]
cmp eax, esi
jbe 0x421b39
push 0x40288c
mov ecx, ebx
call dword [0x4362a8]
jmp 0x421cbb
push 0x4b6
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC42u.dll_CString::LoadStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call dword [0x4362a8]
push 0x40363c
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
mov esi, eax
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::Right]
push dword [esi]
mov ecx, eax
call fcn.00413075
lea ecx, [ebp - 0x228]
mov esi, eax
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC42u.dll_CString::CString]
test esi, esi
jne 0x421be8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call dword [0x4362a4]
lea ecx, [ebp - 0x220]
jmp 0x421c5a
push 0x40363c
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MFC42u.dll_operator]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 7
call dword [0x4362a4]
lea ecx, [ebp - 0x220]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x228]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC42u.dll_CString::CString]
mov edx, dword [ebp - 0x230]
lea ecx, [ebp - 0x21c]
call fcn.00421cf1
push edi
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
test eax, eax
jne 0x421ca9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x421ca9
push 0x4024c0
mov ecx, ebx
call dword [0x436288]
jmp 0x421cbb
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call dword [0x4362a4]
xor edi, edi
inc edi
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, edi
call fcn.004289da
ret 4
Function at 0x424388
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocStringLen
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4243ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 4
jb 0x4243e8
push esi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4243e8
cmp dword [ebp - 4], 4
jne 0x4243e8
cmp dword [ebp - 8], 0xe011cfd0
jne 0x4243e8
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x424e48
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4312a4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
lea ecx, [edi + 0x5c]
call dword [0x4362a4]
push ebx
lea ecx, [edi + 0x60]
call dword [0x4362a4]
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x424e96
mov eax, dword [ebx]
cmp dword [eax - 8], ecx
jne 0x424e96
push 5
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x424f15
push ecx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x10], 0
je 0x424f15
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push 1
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428470
leave
ret 0xc
Function at 0x425d63
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x5c
mov eax, 0x42bd2a
call fcn.00428a04
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov esi, dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x425db9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x425db9
push dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425db9
xor ebx, ebx
push ebx
push ebx
push 0x301
push dword [edi + 0x37c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x425f39
lea ecx, [ebp - 0x10]
call dword [0x43629c]
xor ebx, ebx
lea ecx, [ebp - 0x10]
push 0x40288c
mov dword [ebp - 4], ebx
call dword [0x4362a8]
mov ecx, edi
call fcn.004243fd
mov dword [ebp - 0x14], eax
test eax, eax
je 0x425f30
mov ecx, dword [eax]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x436604]
mov ecx, dword [ebp - 0x14]
call esi
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x14]
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x425ec3
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], esi
push eax
push ebx
push 0x104b
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x425ead
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x20]
jge 0x425e9f
cmp dword [ebp - 0x18], ebx
jle 0x425e9f
mov edi, ebx
mov eax, dword [ebp - 0x14]
push ebx
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x28]
push eax
push edi
push ecx
mov ecx, esi
call dword [0x436604]
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x425e8e
test edi, edi
je 0x425e82
push 0x403c40
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CString::operator]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CString::operator_2]
inc edi
cmp edi, dword [ebp - 0x18]
jge 0x425e99
mov ecx, dword [ebp - 0x48]
jmp 0x425e50
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
push 0x40896c
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CString::operator]
push 2
push esi
push 0x100c
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0x1c], eax
cmp esi, 0xffffffff
jne 0x425e27
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425f30
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x425f2a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
lea edi, [eax*2 + 2]
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x425f2a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x425f2a
push edi
push dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.004289c0
ret
Function at 0x425f9b
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425faa
sub ecx, esi
sar ecx, 1
pop esi
jne 0x425fca
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x425fde
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push edx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
leave
ret 8