joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f2a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 0x7c]
push edi
mov ecx, ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov dword [ebx], 0x456d08
add ebx, 8
push ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, 1
lea ecx, [esi + 0xd0]
mov dword [esp + 0x1c], ebx
call fcn.00402160
lea ecx, [esi + 0x200]
call fcn.00402160
lea ecx, [esi + 0x330]
call fcn.00402160
lea ecx, [esi + 0x460]
call fcn.00402160
lea ecx, [esi + 0x590]
call fcn.00402160
lea ecx, [esi + 0x6c0]
call fcn.00402160
lea ecx, [esi + 0x800]
call fcn.00402160
lea ecx, [esi + 0x930]
call fcn.00402160
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, dword [0x47a048]
mov dword [esi + 0x2c], eax
mov ecx, dword [str.d_n_n]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xa70], edi
mov dword [esi + 0xa8], edi
mov ecx, esi
mov dword [esi + 0x74], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0xa74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xac], 0x3ff00000
mov dword [esi + 0x48], edi
call fcn.00404f20
mov dword [esi + 0xa78], edi
mov dword [esi + 0xa7c], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa80], edi
mov dword [esi + 0xa84], edi
mov dword [esi + 0xa88], edi
mov dword [esi + 0xa8c], ebx
mov dword [esi + 0xa90], edi
mov dword [esi + 0xa94], edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa98], edi
mov dword [esi + 0xa9c], edi
mov dword [esi + 0xaa0], edi
mov dword [esi + 0xaa4], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x402e90
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x5c]
push edi
lea eax, [esi + 0x5c]
cmp ecx, 1
je 0x402ed0
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x402ed0
mov edi, dword [ecx + 0x2c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x34]
shl eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x402ed0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x9c], 0
pop edi
pop esi
ret
Function at 0x405bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x456ba0
xor ebx, ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x20], 1
mov dword [ecx], 0x457018
call fcn.00406b40
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x20], 3
mov dword [ecx], 0x457018
call fcn.00406b40
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x20], 5
mov dword [ecx], 0x457018
call fcn.00406b40
lea ecx, [esi + 0x74]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x20], 7
mov dword [ecx], 0x457018
call fcn.00406b40
lea edi, [esi + 0x98]
mov byte [esp + 0x20], 8
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0044e04e
mov dword [edi], 0x456f58
lea ebp, [edi + 0x40]
mov byte [esp + 0x20], 9
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
push 0x47c7c0
mov ecx, ebp
mov byte [esp + 0x24], 0xa
mov dword [edi], 0x456e98
call sub.MFC42.DLL_CString::operator_2
lea edi, [esi + 0xdc]
mov byte [esp + 0x20], 0xb
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0044e04e
mov dword [edi], 0x456f58
lea ebp, [edi + 0x40]
mov byte [esp + 0x20], 0xc
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
push 0x47c7c0
mov ecx, ebp
mov byte [esp + 0x24], 0xd
mov dword [edi], 0x456e98
call sub.MFC42.DLL_CString::operator_2
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x120]
mov byte [esp + 0x30], 0xe
call fcn.0040e690
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x88]
or edi, 0xffffffff
push ecx
mov byte [esp + 0x24], 0xf
mov dword [esi], 0x456e80
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 4], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], 0x42345678
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x10
Function at 0x407940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44f8c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push edi
push ebx
push ecx
mov ecx, esi
mov dword [esp + 0x50], 0
call fcn.004079d0
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x10]
push edx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
mov dword [edi + 0x30], ebx
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 8
Function at 0x40c1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x6c], 0
call fcn.004167d0
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x68], 1
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDC::SelectObject_1
mov edi, eax
xor ecx, ecx
xor eax, eax
push ecx
lea edx, [esp + 0xc]
push eax
push edx
push ecx
mov eax, esp
mov dword [esp + 0x80], esp
push eax
lea ecx, [esp + 0x30]
call fcn.00416fb0
lea ecx, [esi + 0xdb8]
call fcn.00415380
test edi, edi
je 0x40c238
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 8]
mov dword [esp + 0x68], 0xffffffff
call fcn.0044e22e
mov ecx, dword [esp + 0x60]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x64
ret 4

Function at 0x414f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4510b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 4]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_2
push 0x808080
push 1
push edi
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CPen::CPen
lea eax, [esi + 0xc]
mov byte [esp + 0x14], 3
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0044df1c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esi + 8], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x414fd0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4510c8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea eax, [esi + 0xc]
mov ebx, dword [esp + 0x28]
mov ecx, eax
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], 0
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x34]
sub ebx, ebp
add edi, 2
push eax
lea ecx, [esi + 4]
mov dword [esi + 8], ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
call fcn.0044df1c
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0044df1c
mov edx, dword [esp + 0x34]
mov edi, 0
mov ebx, dword [edx - 8]
mov dword [esi + 0x34], edi
dec ebx
mov dword [esi + 0x38], edi
js 0x4150bf
mov eax, dword [esp + 0x34]
cmp byte [ebx + eax], 0x30
jne 0x41507f
mov eax, dword [esi + 0x34]
cmp eax, 0xa
jge 0x41507b
mov dword [esi + eax*4 + 0x3c], edi
mov eax, dword [esi + 0x34]
inc eax
mov dword [esi + 0x34], eax
add edi, ebp
jmp 0x4150bc
mov ecx, dword [esi + 0x38]
cmp ecx, 4
jge 0x4150b3
mov eax, 0x55555556
imul ebp
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub eax, edx
mov dword [esi + ecx*4 + 0x64], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x38]
movsx edx, byte [ebx + ecx]
mov dword [esi + eax*4 + 0x74], edx
mov eax, dword [esi + 0x38]
inc eax
mov dword [esi + 0x38], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add edi, eax
dec ebx
jns 0x41505e
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x415fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x451340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [ecx + 0x44]
push esi
push edi
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CBrush::CBrush
mov esi, dword [esp + 0x50]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esi]
push 8
mov ecx, esi
mov edi, eax
call dword [edx + 0x2c]
mov eax, 0x2c
mov ecx, 0x50
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 6
mov edx, 0xea
push eax
push ecx
mov dword [esp + 0x28], 0x38
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x38
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], 0x9d
mov dword [esp + 0x40], 0x37
call dword [sym.imp.GDI32.dll_Polygon]
test edi, edi
je 0x416096
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov dword [esp + 8], 0x457a98
lea ecx, [esp + 8]
mov dword [esp + 0x48], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x44
ret 4

Function at 0x4167d0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4513c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0044e04e
mov dword [edi], 0x456f58
lea ebp, [edi + 0x40]
mov dword [esp + 0x30], 0
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x38]
mov byte [esp + 0x30], 1
test esi, esi
mov dword [edi], 0x456e98
jge 0x416832
push 0x47aa14
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
neg esi
jmp 0x41683e
push 0x47c7c0
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
test esi, esi
jne 0x416853
push str.00:00:00.00
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
jmp 0x4168f3
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
mov eax, 0x10624dd3
mov ebx, edx
imul esi
mov ecx, edx
mov eax, 0x91a2b3c5
sar ecx, 6
mov edx, ecx
shr edx, 0x1f
add ecx, edx
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov eax, esi
neg eax
shl eax, 2
sub eax, esi
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
mov eax, 0x88888889
shl edx, 4
add ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
mov edi, edx
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edi + edi*2]
push edx
lea edx, [eax + eax*4]
lea eax, [esp + 0x18]
shl edx, 2
sub ecx, edx
push ecx
push edi
push esi
push str._2.2d:_2.2d:_2.2d._2.2d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x41d5f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
sub esp, 0x3f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x400]
push edi
mov edi, dword [esi + 4]
lea ebp, [esi + 0xc]
inc edi
push ebp
push 0x3e8
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ebx, [esi + 0x400]
push ebx
push 0x47aaac
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
setne al
test eax, eax
mov dword [esi + 0x3f8], eax
je 0x41d702
mov eax, dword [ebx]
and eax, 0x10
mov dword [esi + 0x3fc], eax
je 0x41d66a
mov eax, dword [esi + 8]
test eax, eax
jne 0x41d6e8
push ebx
call fcn.0041d790
add esp, 4
test eax, eax
je 0x41d6e8
push ecx
lea edi, [esi + 0x42c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.0044df10
call fcn.00423780
add esp, 4
test eax, eax
jne 0x41d6bb
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.0044df10
call fcn.00423720
add esp, 4
test eax, eax
jne 0x41d6bb
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edi
call fcn.0044df10
call fcn.004237e0
add esp, 4
test eax, eax
je 0x41d6e8
push edi
push ebp
lea eax, [esp + 0x20]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esi]
add esp, 0x10
lea ecx, [esp + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov dword [esi + 0x3f8], eax
jne 0x41d645
cmp edi, 0xffffffff
je 0x41d70e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 8]
test eax, eax
je 0x41d77a
push ebx
push 0x47aaac
call fcn.0041d800
mov edi, eax
add esp, 8
xor eax, eax
cmp edi, 0xffffffff
setne al
test eax, eax
mov dword [esi + 0x3f8], eax
je 0x41d76e
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esi + 0x42c]
push eax
call ebp
test eax, eax
je 0x41d75a
push esi
call fcn.0041d5f0
add esp, 4
push 0x47aaa0
call ebp
push ebx
push edi
call fcn.0041d7d0
add esp, 8
mov dword [esi + 0x3f8], eax
test eax, eax
jne 0x41d73d
cmp edi, 0xffffffff
je 0x41d77a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 4]
pop edi
dec eax
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x3f0
ret
Function at 0x41e970
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2748
call fcn.0044ece0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2758]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edi
call fcn.0044df10
call fcn.00423aa0
add esp, 4
test eax, eax
je 0x41ea72
push 0x47ab38
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41e9c4
pop edi
pop esi
pop ebx
add esp, 0x2748
ret 4
push ebx
push 0x2710
lea eax, [esp + 0x4c]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, eax
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [esp + 0xc]
lea eax, [esi + 0xbc]
push ecx
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
lea edx, [esp + 0x54]
push edx
call fcn.0042ac10
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0xc0], eax
mov eax, 4
sub eax, edx
cmp eax, 3
mov dword [esi + 0xc4], eax
jg 0x41ea39
test eax, eax
jge 0x41ea43
mov dword [esi + 0xc4], 0
mov ecx, dword [esp + 0x30]
push ebx
mov dword [esi + 0xc8], ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0xd4], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x2748
ret 4
mov dword [esi + 0xd4], 0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2748
ret 4

Function at 0x41e97b
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2748
call fcn.0044ece0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x2758]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edi
call fcn.0044df10
call fcn.00423aa0
add esp, 4
test eax, eax
je 0x41ea72
push 0x47ab38
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41e9c4
pop edi
pop esi
pop ebx
add esp, 0x2748
ret 4
push ebx
push 0x2710
lea eax, [esp + 0x4c]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, eax
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [esp + 0xc]
lea eax, [esi + 0xbc]
push ecx
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
lea edx, [esp + 0x54]
push edx
call fcn.0042ac10
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0xc0], eax
mov eax, 4
sub eax, edx
cmp eax, 3
mov dword [esi + 0xc4], eax
jg 0x41ea39
test eax, eax
jge 0x41ea43
mov dword [esi + 0xc4], 0
mov ecx, dword [esp + 0x30]
push ebx
mov dword [esi + 0xc8], ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0xd4], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x2748
ret 4
mov dword [esi + 0xd4], 0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2748
ret 4
Function at 0x421340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CClientDC::CClientDC
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CScrollView::GetScrollPosition
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xc]
add ecx, edx
test edi, edi
mov dword [esp + 0x38], ecx
je 0x4213b0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
xor edx, edx
test edi, edi
sete dl
push edx
push eax
push ecx
mov ecx, esi
call fcn.00421280
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044e22e
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 0xc
Function at 0x424c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [esp + 0x18]
push esi
push ebx
push ebp
push eax
mov ecx, edi
call fcn.00425760
cdq
xor eax, edx
mov ecx, edi
sub eax, edx
push eax
call fcn.00425420
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
mov ecx, edi
call fcn.00424b70
inc esi
cmp esi, 6
jl 0x424c50
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x424dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 0x66666667
mov esi, 0x2ee0
mov dword [esp + 0x2c], 0x190
mov ecx, dword [edi + 0x194]
mov dword [esp + 0x30], 0x4b0
sub ecx, 5
mov dword [esp + 0x34], 0xc80
imul ecx
sar edx, 1
mov eax, edx
mov dword [esp + 0x38], 0x1770
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 0x198]
mov ecx, edx
mov dword [esp + 0x3c], esi
cmp ecx, eax
mov dword [esp + 0x18], ecx
jge 0x424e2f
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
lea edx, [ecx + eax]
mov dword [esp + 0x10], edx
jmp 0x424e3c
inc eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x44]
mov ebp, 2
add ecx, ebp
push 8
mov eax, dword [ebx]
mov dword [esp + 0x28], ecx
mov ecx, ebx
call dword [eax + 0x2c]
cmp dword [esp + 0x4c], esi
jle 0x424e6a
mov dword [esp + 0x34], 0x4a38
mov dword [esp + 0x38], 0x3a98
mov ecx, dword [esp + 0x18]
xor esi, esi
inc ecx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + esi*4 + 0x2c]
cmp edx, eax
jle 0x424ec1
mov eax, dword [edi + esi*4 + 0x78]
mov ecx, dword [edi + esi*4 + 0xa0]
cmp ecx, eax
jne 0x424e98
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x424f0b
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [edi + esi*4 + 0x78]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [edi + esi*4 + 0xa0], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push ebp
push ecx
jmp 0x424f05
mov eax, dword [edi + esi*4 + 0x8c]
mov ecx, dword [edi + esi*4 + 0xa0]
cmp ecx, eax
jne 0x424edb
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x424f0b
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [edi + esi*4 + 0x8c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [edi + esi*4 + 0xa0], edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push ebp
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
cmp esi, 2
jne 0x424f1d
mov eax, dword [esp + 0x4c]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
add ebp, eax
add edx, eax
inc esi
mov dword [esp + 0x24], edx
cmp esi, 5
jl 0x424e75
mov edx, dword [ebx]
push 6
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [ebx]
push 4
mov ecx, ebx
call dword [eax + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x10
Function at 0x428200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452f4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
dec eax
je 0x42825f
dec eax
jne 0x42826d
push 0xef1b
jmp 0x428264
push 0xef1c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x2c]
dec eax
je 0x428285
dec eax
je 0x42827e
sub eax, 6
je 0x428285
jmp 0x428293
push 0xef16
jmp 0x42828a
push 0xef15
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0xc