joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453c17
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00445d1c
mov dword [ebp - 0x14], eax
cmp dword [0x4b5270], esi
jne 0x453d0a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x453c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x453dea
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x453dea
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x453dea
push eax
call ebx
push 0x496f5c
push edi
mov dword [0x4b5270], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x496f6c
push edi
mov dword [0x4b5274], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b5278], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b5280], eax
test eax, eax
je 0x453d07
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b527c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x453d2f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x453d22
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x453d44
push 4
pop eax
jmp 0x453dec
cmp dword [ebp - 0x14], esi
je 0x453d44
push dword [0x4b5270]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x453d29
mov eax, dword [0x4b527c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x453da2
cmp dword [0x4b5280], edi
je 0x453da2
push eax
call ebx
push dword [0x4b5280]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x453da2
test eax, eax
je 0x453da2
call ecx
test eax, eax
je 0x453d97
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x453d97
test byte [ebp - 8], 1
jne 0x453da2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x453dd2
mov eax, dword [0x4b5274]
cmp eax, edi
je 0x453dcf
push eax
call ebx
test eax, eax
je 0x453dcf
call eax
mov esi, eax
test esi, esi
je 0x453dcf
mov eax, dword [0x4b5278]
cmp eax, edi
je 0x453dcf
push eax
call ebx
test eax, eax
je 0x453dcf
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b5270]
call ebx
test eax, eax
je 0x453dea
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x453dec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x45bb60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48acf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [esp + 0x3c]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call fcn.0045bd70
add esp, 8
mov ecx, dword [esp + 0x38]
push 1
push eax
mov dword [esp + 0x38], 0
call fcn.0045df80
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.boost::exception_detail::error_info_injector_class_std::invalid_argument_.0
mov dword [esp + 0x14], vtable.boost::exception.0
test ecx, ecx
je 0x45bbe6
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x18]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
call fcn.0043d017
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret

Function at 0x45bc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ad28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [esp + 0x3c]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call fcn.0045bdc0
add esp, 8
mov ecx, dword [esp + 0x38]
push 1
push eax
mov dword [esp + 0x38], 0
call fcn.0045e140
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
mov dword [esp + 0x14], vtable.boost::exception.0
test ecx, ecx
je 0x45bc96
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x18]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
call fcn.0043d017
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret

Function at 0x45bcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ad58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [esp + 0x3c]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call fcn.0045be10
add esp, 8
mov ecx, dword [esp + 0x38]
push 1
push eax
mov dword [esp + 0x38], 0
call fcn.0045e300
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov dword [esp + 0x14], vtable.boost::exception.0
test ecx, ecx
je 0x45bd46
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x18]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
call fcn.0043d017
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret
Function at 0x45c320
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
sub edi, ecx
xor esi, esi
cmp ecx, dword [esp + 0x14]
cmova edi, ebx
test edi, edi
je 0x45c368
mov edi, edi
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, eax, 0xcc9e2d51
inc esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
rol edx, 0xd
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
cmp esi, edi
jne 0x45c340
pop edi
pop esi
mov eax, edx
pop ebx
ret
Function at 0x45cd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ae6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
mov eax, dword [eax + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov ecx, dword [esi]
push 0x499892
push 0x499891
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 0x138]
mov dword [ecx + 0x13c], eax
mov eax, dword [esi]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call fcn.00465870
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push 0x499893
push 0x499892
mov ecx, dword [eax]
call fcn.00465870
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push 0x499899
push 0x499894
mov ecx, dword [eax]
call fcn.00465870
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push 0x4998a1
push 0x49989c
mov ecx, dword [eax]
call fcn.00465870
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push 0x4998a9
push 0x4998a4
mov ecx, dword [eax]
call fcn.00465870
mov ecx, dword [esi]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x140], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x465170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b789
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 1
push 0x4b5548
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.0046fa60
xor ecx, ecx
mov dword [esp + 0x28], 1
cmp byte [esp + 0x10], cl
lea eax, [esp + 0xc]
cmove eax, ecx
test eax, eax
je 0x465202
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.00463370
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x28], 0
call fcn.0046fa80
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
lea eax, [esp + 8]
mov dword [esp + 8], str.Error_in_thread_safety_code:_could_not_acquire_a_lock
push eax
lea ecx, [esp + 0x18]
call fcn.0043cfa3
mov dword [esp + 0x14], vtable.std::runtime_error.0
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 2
push eax
call fcn.0045cc80
int3
Function at 0x465d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48b8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4ae6e0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
inc dword [edi + 0x7c]
lea esi, [edi + 0x7c]
mov dword [esp + 0x1c], esi
cmp dword [esi], 0x50
mov dword [esp + 0x44], 0
jbe 0x465da6
push 0x12
push dword [edi + 0x28]
call fcn.0045c3b0
add esp, 8
mov ecx, edi
call fcn.0046cb90
cmp dword [edi + 0x2c], 0
je 0x465ec0
mov eax, dword [edi + 0x2c]
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax*4 + 0x499468]
inc dword [edi + 0x34]
call eax
test al, al
jne 0x465eb6
mov eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x38]
jle 0x465e54
mov ecx, dword [edi + 0x28]
lea eax, [esp + 0x20]
push 0x12
push eax
call fcn.00464500
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x44], 1
jb 0x465df6
mov eax, dword [eax]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0xc]
push eax
call fcn.0043cfa3
mov dword [esp + 0x10], vtable.std::runtime_error.0
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x44], 3
jb 0x465e28
push dword [esp + 0x20]
call fcn.004251ac
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.0046f460
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call fcn.0043d017
test dword [edi + 0x30], 0x2000
je 0x465e6e
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jne 0x465e6e
cmp eax, dword [edi + 0x1c]
je 0x465e6e
mov byte [edi + 0x3d], 1
mov word [edi + 0x78], 0
mov byte [edi + 0x7a], 0
mov eax, dword [edi + 0x70]
mov ecx, edi
mov eax, dword [eax]
mov edx, dword [eax*4 + 0x4994f0]
movzx eax, byte [edi + 0x78]
push eax
call edx
test al, al
jne 0x465e78
cmp dword [edi + 0x2c], 0
setne cl
test dword [edi + 0x30], 0x2000
je 0x465eb2
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jne 0x465eb2
cmp eax, dword [edi + 0x1c]
je 0x465eb2
mov byte [edi + 0x3d], 1
test cl, cl
je 0x465ef3
cmp dword [edi + 0x2c], 0
jne 0x465db7
mov word [edi + 0x78], 1
mov byte [edi + 0x7a], 0
lea ebx, [ebx]
mov eax, dword [edi + 0x70]
mov ecx, edi
mov eax, dword [eax]
mov edx, dword [eax*4 + 0x4994f0]
movzx eax, byte [edi + 0x78]
push eax
call edx
test al, al
jne 0x465ed0
cmp dword [edi + 0x2c], 0
jne 0x465db7
mov al, byte [edi + 0x78]
dec dword [esi]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043c12e
add esp, 0x3c
ret
Function at 0x46eb40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ae6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push dword [esp + 0x44]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call fcn.0046ebf0
add esp, 8
mov ecx, dword [esp + 0x40]
push 1
push eax
mov dword [esp + 0x40], 0
call fcn.0046ef70
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 8], vtable.boost::exception_detail::error_info_injector_class_boost::regex_error_.0
mov dword [esp + 0x1c], vtable.boost::exception.0
test ecx, ecx
je 0x46ebc6
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x20]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.boost::regex_error.0
call fcn.0043d017
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret
Function at 0x46f5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
mov eax, dword [0x4ae6e0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov dword [esp], 0x49ece4
mov dword [esp + 4], 0x49a774
mov dword [esp + 8], 0x49a778
mov dword [esp + 0xc], 0x49a77c
mov dword [esp + 0x10], 0x493454
mov dword [esp + 0x14], 0x49f58c
mov dword [esp + 0x18], 0x493414
mov dword [esp + 0x1c], 0x493424
mov dword [esp + 0x20], 0x49a780
mov dword [esp + 0x24], 0x49a784
mov dword [esp + 0x28], 0x49a788
mov dword [esp + 0x2c], 0x493458
mov dword [esp + 0x30], 0x490b74
mov dword [esp + 0x34], 0x49a78c
mov dword [esp + 0x38], 0x493420
mov dword [esp + 0x3c], 0x49a790
mov dword [esp + 0x40], 0x49a794
mov dword [esp + 0x44], 0x49a798
mov dword [esp + 0x48], 0x49a3bc
mov dword [esp + 0x4c], 0x48e854
mov dword [esp + 0x50], 0x493438
mov dword [esp + 0x54], 0x493440
mov dword [esp + 0x58], 0x49ece4
mov dword [esp + 0x5c], 0x49ece4
mov dword [esp + 0x60], 0x49a7a4
mov dword [esp + 0x64], 0x49a7a8
mov dword [esp + 0x68], 0x4914fc
mov dword [esp + 0x6c], 0x493448
mov dword [esp + 0x70], 0x4991e4
mov dword [esp + 0x74], 0x49a3c0
mov dword [esp + 0x78], 0x49a3c4
mov dword [esp + 0x7c], 0x4991e0
mov dword [esp + 0x80], 0x49a3c8
mov dword [esp + 0x84], 0x49a3cc
mov dword [esp + 0x88], 0x49a3d0
mov dword [esp + 0x8c], 0x49a3d4
mov dword [esp + 0x90], 0x490a54
mov dword [esp + 0x94], 0x4933e8
mov dword [esp + 0x98], 0x49a3d8
mov dword [esp + 0x9c], 0x49ece4
mov dword [esp + 0xa0], 0x49ece4
mov dword [esp + 0xa4], 0x49ece4
mov dword [esp + 0xa8], 0x49ece4
mov dword [esp + 0xac], 0x49ece4
mov dword [esp + 0xb0], 0x49ece4
mov dword [esp + 0xb4], 0x49ece4
mov dword [esp + 0xb8], 0x49ece4
mov dword [esp + 0xbc], 0x49a3dc
mov dword [esp + 0xc0], 0x49a3e0
mov dword [esp + 0xc4], 0x49a3e4
mov dword [esp + 0xc8], 0x4990a4
mov dword [esp + 0xcc], 0x49a3e8
mov dword [esp + 0xd0], 0x49a3ec
mov dword [esp + 0xd4], 0x4933f4
mov dword [esp + 0xd8], 0x4909cc
mov dword [esp + 0xdc], 0x49a3f0
mov dword [esp + 0xe0], 0x49a3f4
mov dword [esp + 0xe4], 0x49a7ac
mov dword [esp + 0xe8], 0x49a3f8
mov dword [esp + 0xec], 0x49a3fc
cmp cl, 0x3c
jb 0x46f816
mov eax, 0x49ece4
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0043c12e
add esp, 0xf4
ret
movzx eax, cl
mov ecx, dword [esp + 0xf0]
xor ecx, esp
mov eax, dword [esp + eax*4]
call fcn.0043c12e
add esp, 0xf4
ret

Function at 0x471934
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7b1f2b02
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x6b3a5b4a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40af20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e92b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00462fc8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40afa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460bdd
mov eax, dword [eax]
push 0x73f1d0
push eax
call fcn.00453074
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463253
test bl, bl
je 0x40afa2
push 0x73f1d0
lea ecx, [esp + 0xc]
call fcn.004635e3
push 0x742d4c
lea ecx, [esp + 0xc]
call fcn.004635e3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40afde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463253
jmp 0x40b0a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b062
lea edx, [esp + 0x7c]
push 0x742d48
push edx
call fcn.00453074
add esp, 8
test eax, eax
je 0x40b062
lea eax, [esp + 0x7c]
push 0x742d44
push eax
call fcn.00453074
add esp, 8
test eax, eax
je 0x40b062
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40aff2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463253
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b8a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b902
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b910
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e9ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x749734]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40ba48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b976
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463253
xor eax, eax
jmp 0x40babf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463390
push esi
lea ecx, [esp + 0xc]
call fcn.0046361f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40ba9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.0040b8a0
test eax, eax
jne 0x40ba9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push connect
mov ecx, edi
call fcn.0040b8a0
test eax, eax
jne 0x40ba9d
lea eax, [esp + 0x14]
push 0x742d60
push eax
call fcn.004540b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ba7c
lea ecx, [esp + 0x14]
push 0x742d5c
push ecx
call fcn.00454030
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ba7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40ba7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463340
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b98e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463253
xor eax, eax
jmp 0x40babf
mov byte [esi], 0
push 0x742d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00463253
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4