joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b180
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045df46
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004635de
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00464afa
test eax, eax
je 0x43b29c
mov ecx, dword [esp + 0x3c]
call fcn.0046360b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b260
push edi
mov ecx, esi
call fcn.00460c78
mov ecx, esi
call fcn.0043b400
cmp dword [esp + 0x38], 1
jne 0x43b295
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00460db3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43dcd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43dd03
push esi
call fcn.00440dc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43dcfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43dd89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43dd72
mov eax, dword [esi + 8]
test eax, eax
je 0x43dd27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43dd6e
cmp eax, 2
je 0x43dd72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43dd1a
cmp eax, 3
je 0x43dd4d
cmp eax, 1
jne 0x43dd1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43dd1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43dd1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ddb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43dd98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ddb0
add esp, 4
pop esi
ret

Function at 0x4498c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x449963
test eax, eax
jbe 0x449963
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x449963
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44990e
xor esi, esi
jmp 0x449914
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44993f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044b860
add esi, eax
push esi
mov ebx, esi
call fcn.0044b860
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449920
pop ebp
test edi, edi
pop edi
jne 0x449963
test ebx, ebx
je 0x449963
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0044dcd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x449aa5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x449bbd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x449bbd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045e398
mov esi, eax
test esi, esi
je 0x449bbd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x449bbd
mov ecx, esi
call fcn.00449a10
cmp edi, eax
jge 0x449bbd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x449b43
mov dword [esp + 0x34], 1
jmp 0x449b9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x449bbd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449010
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45ed3b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45ed73
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045cdf2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045cdca
jmp 0x45ed7f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x460430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460472
call fcn.00465ee5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460472
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460469
xor eax, eax
jmp 0x46047a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460480
pop edi
pop esi
pop ebx
ret 4
Function at 0x466415
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x466443
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466461
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046637b
jmp 0x466461
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466461
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046637b
test edi, edi
mov eax, edi
jne 0x46644b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4050e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
imul esi, dword [esp + 0x18]
push edi
lea ebx, [esi + esi*2 + 3]
push ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x41f534
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, 3
lea ecx, [esi + 3]
add esp, 0x28
cmp ecx, eax
jle 0x405140
mov esi, dword [esp + 0x20]
mov dl, byte [eax + edi]
mov byte [esi + eax - 3], dl
inc eax
cmp eax, ecx
jl 0x405134
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x405160
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
imul esi, dword [esp + 0x18]
push edi
mov dword [esp + 0x1c], esi
lea ebx, [esi + esi*2 + 3]
push ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x41f534
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push ebx
push edi
call dword [sym.imp.MSVCRT.dll_fread]
fild dword [esp + 0x44]
lea edx, [esi + 3]
add esp, 0x28
mov dword [esp + 0x18], edx
fmul qword [0x41c1d0]
fadd qword [0x41c1c8]
fild dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4051ee
mov ecx, dword [esp + 0x20]
mov al, byte [edx + edi]
mov byte [ecx], al
mov al, byte [edx + edi]
inc ecx
mov byte [ecx], al
inc ecx
inc edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4051d0
push ebp
fstp st(0)
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x405210
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
imul eax, dword [esp + 0x10]
push esi
push edi
lea edi, [eax + eax*2 + 3]
mov dword [esp + 0x14], eax
push edi
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [esp + 0x14]
push 0x41f534
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fread]
fild dword [esp + 0x3c]
add esp, 0x28
fld st(0)
fmul qword [0x41c1d0]
fadd qword [0x41c1c8]
call sub.MSVCRT.dll__ftol
fmul qword [0x41c1d8]
mov edx, eax
mov dword [esp + 0x14], edx
fadd qword [0x41c1c8]
fild dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4052af
mov ecx, dword [esp + 0x1c]
mov al, byte [edx + esi]
mov byte [ecx], al
mov al, byte [edx + esi]
inc ecx
mov byte [ecx], al
inc ecx
inc edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x405291
push ebp
fstp st(0)
call dword [sym.imp.MSVCRT.dll_fclose]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x405870
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
imul eax, dword [esp + 0x10]
push esi
push edi
lea esi, [eax + eax + 3]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x14]
push 0x41f534
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push esi
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, 3
add esp, 0x28
cmp esi, eax
jle 0x4058cd
mov ecx, dword [esp + 0x1c]
mov dl, byte [eax + edi]
add eax, 2
mov byte [ecx], dl
inc ecx
cmp eax, esi
jl 0x4058c0
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x4058f0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
imul eax, dword [esp + 0x10]
push esi
push edi
lea esi, [eax + eax + 3]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x14]
push 0x41f534
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push esi
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, 4
add esp, 0x28
cmp esi, eax
jle 0x405954
mov ecx, dword [esp + 0x1c]
mov dl, byte [eax + edi]
add eax, 4
mov byte [ecx], dl
mov dl, byte [eax + edi - 4]
inc ecx
mov byte [ecx], dl
inc ecx
cmp eax, esi
jl 0x405940
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x405970
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
imul eax, dword [esp + 0x10]
push esi
push edi
lea esi, [eax + eax + 3]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x14]
push 0x41f534
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
push ebp
push 1
push esi
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, 6
add esp, 0x28
cmp esi, eax
jle 0x4059d4
mov ecx, dword [esp + 0x1c]
mov dl, byte [eax + edi]
add eax, 4
mov byte [ecx], dl
mov dl, byte [eax + edi - 4]
inc ecx
mov byte [ecx], dl
inc ecx
cmp eax, esi
jl 0x4059c0
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x40698a
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x41ab11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x41b8c8
mov eax, dword [esp + 0x4c]
lea ebp, [esi + 4]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x48], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x50]
push ebp
mov dword [esi + 0xc], ecx
mov edx, dword [str.COXInstanceManager_InstanceList_Mutex_]
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CMutex::CMutex
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [str.COXInstanceManager_Additional_Mutex_]
push ebp
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CMutex::CMutex
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::CString
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esi + 0x20], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi], 0x41c450
mov dword [esi + 8], 0xfa8
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x34]
mov eax, edi
xor edx, edx
div ecx
mov eax, edi
test edx, edx
je 0x406a66
xor edx, edx
div ecx
add eax, ecx
jmp 0x406a6a
xor edx, edx
div ecx
mov edi, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, edi
xor edx, edx
div ecx
mov eax, edi
test edx, edx
je 0x406a84
xor edx, edx
div ecx
add eax, ecx
jmp 0x406a88
xor edx, edx
div ecx
mov ecx, dword [esi + 8]
mov edi, eax
mov dword [esi + 0xc], eax
add edi, ecx
mov ecx, dword [str.COXInstanceManager_FileMap_]
push ebp
lea edx, [esp + 0x50]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x44], 8
push eax
push edi
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
cmp eax, ebx
jne 0x406ade
mov ecx, esi
call fcn.00406de0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
mov ecx, esi
call fcn.00406e40
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x406c90
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x406f60
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x406d90
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x406d9c
pop esi
ret
mov ecx, dword [esi + 8]
push ecx
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor edx, edx
mov dword [esi + 0x24], eax
test eax, eax
setne dl
mov eax, edx
pop esi
ret

Function at 0x407600
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x100
lea eax, [esp + 0x108]
lea edx, [esp]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vsprintf]
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x100
ret

Function at 0x407640
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x110
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20119
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4076f1
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x4076b8
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x124]
mov dword [edx], eax
mov dword [ecx], esi
jmp 0x4076ec
cmp eax, 1
jne 0x4076f1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x12c]
cmp edx, eax
ja 0x4076f1
mov ecx, dword [esp + 0x128]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x124]
mov dword [edx], 1
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x110
ret
Function at 0x408060
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x408090
push esi
call fcn.0040c1a0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x408089
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x408113
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4080ff
mov eax, dword [esi + 8]
test eax, eax
je 0x4080b4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4080fb
cmp eax, 2
je 0x4080ff
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4080a7
cmp eax, 3
je 0x4080da
cmp eax, 1
jne 0x4080a7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4080a7
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4080a7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00408140
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x408133
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00408140
add esp, 4
pop esi
ret
Function at 0x40b240
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.0040d040
push 0x50
push edi
mov dword [esp + 0x18], eax
call fcn.0040cff0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40b284
push edi
call fcn.0040d050
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x35
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
call dword [edx]
add esp, 8
mov dword [esi], fcn.0040b380
mov dword [esi + 4], fcn.0040b4d0
mov dword [esi + 8], fcn.0040b580
mov dword [esi + 0xc], fcn.0040b620
mov dword [esi + 0x10], 0x40b6d0
mov dword [esi + 0x14], 0x40b740
mov dword [esi + 0x18], 0x40b7b0
mov dword [esi + 0x1c], 0x40b940
mov dword [esi + 0x20], 0x40bb30
mov dword [esi + 0x24], fcn.0040bd20
mov dword [esi + 0x28], 0x40be20
mov eax, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x3c]
mov ecx, 2
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x40b2df
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x50
push str.JPEGMEM
mov dword [edi + 4], esi
call sub.MSVCRT.dll_getenv
add esp, 4
cmp eax, ebx
je 0x40b36f
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call sub.MSVCRT.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x40b36f
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x40b338
cmp al, 0x4d
jne 0x40b35c
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, reloc.winmm.dll_waveOutGetDevCapsA
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219