joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410bd0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0
je 0x410c8f
cmp dword [ebp + 8], 0
jne 0x410c9f
mov ecx, dword [esi + 0x30]
push edi
call fcn.00407e10
mov edi, dword [esi + 0x34]
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x4412f4
lock xadd dword [ecx], eax
mov ecx, dword [edi + 4]
push 0
push ecx
test eax, eax
je 0x410c45
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x410c5b
push method.boost::asio::detail::win_iocp_socket_service_class_boost::asio::ip::tcp_.virtual_8
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x34]
test edi, edi
je 0x410c76
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push edi
call fcn.0042d0f1
add esp, 8
pop edi
mov dword [esi + 0x34], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c87e
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x410c9f
mov eax, dword [esi + 0x30]
xor ecx, ecx
add eax, 0x1c
xchg dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042c87e
mov esp, ebp
pop ebp
ret 4

Function at 0x410e10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x410e41
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x410e30
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4117f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x43f00c]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x4412f8], eax
inc eax
mov ebx, 0x4412fc
cmp eax, 1
jne 0x411836
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x4118c1
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
je 0x4118c1
mov ecx, dword [0x43f078]
mov eax, dword [0x43f07c]
cmp ecx, 0x257edfd1
jne 0x411864
cmp eax, 0xb2ab117a
je 0x411873
cmp ecx, 0x257edfd0
jne 0x411877
cmp eax, 0xb2ab117a
jne 0x411877
mov al, 1
jmp 0x411887
mov eax, dword [0x43f070]
mov ecx, 0x43f070
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x43f070
mov dword [esp + 0xc], str.D:_boost_1_84_0_boost_asiodetailimplwinsock_init.ipp
mov dword [esp + 0x10], str.throw_on_error
mov dword [esp + 0x14], 0x48
mov dword [esp + 0x18], 0x1a
test al, 1
jne 0x4118da
mov ecx, dword [esp + 0x1bc]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c87e
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov edx, str.winsock
push eax
lea ecx, [esp + 0x20]
call fcn.00406af0
int3
Function at 0x413fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43004d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ecx + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x20], edi
mov esi, dword [eax]
cmp byte [esi + 4], 0
jne 0x414012
call fcn.0042cb41
mov eax, dword [esi + 0xc]
test eax, eax
je 0x414021
mov ecx, dword [eax + 4]
jmp 0x414023
xor ecx, ecx
push 4
push dword [ebp + 8]
mov edx, 0x54
call fcn.00413270
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi + 0x14], 0
sub esp, 8
mov dword [esi + 0x18], 0x41cfd0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], eax
call fcn.0041e4f0
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
push esi
push eax
push ebx
lea eax, [ecx + 0x14]
mov byte [ebx + 8], 1
mov ecx, dword [ecx + 0x34]
push eax
mov dword [ebp - 0x18], esi
call fcn.0041f650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4156c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x415750
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::system::system_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::system::system_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::system::system_error_.2.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
push edi
mov dword [ebp - 8], 0x43f0c8
cmp byte [esi + 0x18], 0
je 0x42450f
cmp byte [esi + 0x19], 0
jne 0x42450f
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
cmp eax, 0x103
jne 0x42450f
lea eax, [ebp - 0xc]
push eax
call fcn.00424660
test al, al
je 0x42450f
mov eax, dword [esi]
test eax, eax
je 0x424504
cmp eax, 0xffffffff
je 0x424504
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00424660
test al, al
je 0x424504
cmp dword [ebp - 0xc], 0
jne 0x42450f
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4244f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], 0x43f0c8
jmp 0x424507
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
jmp 0x42450b
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42450f
mov byte [esi + 0x19], 1
mov edi, dword [esi + 0x14]
test edi, edi
je 0x424539
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x424538
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x424538
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
pop ebx
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042c87e
mov esp, ebp
pop ebp
ret
Function at 0x4255d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x43f00c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x38]
cmp edi, 0xffffffff
jne 0x4255fa
cmp dword [esi + 0x3c], edi
je 0x425684
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x50]
mov ebx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea ecx, [eax + ebx]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x425640
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x4c]
mov dword [eax], ecx
add ecx, 0xa
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x38]
mov ebx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
jmp 0x425644
mov eax, dword [esp + 0x20]
sub edx, ebx
lea ecx, [esp + 0x20]
push 0
sub edx, eax
add eax, ebx
push ecx
dec edx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42567c
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x425684
cmp eax, 0xe8
jne 0x4256bf
jmp 0x425684
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x425699
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042c87e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
pop edi
mov ecx, dword [ecx]
add ecx, edx
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov eax, dword [eax]
xor ecx, esp
movzx eax, byte [eax]
call fcn.0042c87e
mov esp, ebp
pop ebp
ret
push 0x43f0c8
push eax
push str.ReadFile_failed
lea ecx, [esp + 0x18]
call fcn.004239d0
push 0x43b608
lea eax, [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x429320
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431b00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x70]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push 0x434e74
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00412ab0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00425cf0
push 0x411b40
push 2
push 0x18
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
call fcn.0042cd86
lea ecx, [ebp - 0x38]
call fcn.00429710
movups xmm0, xmmword [ebp - 0x38]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x18]
mov edx, edi
call fcn.004241a0
mov edx, dword [ebp - 0x24]
add esp, 4
mov byte [edi + 0x30], 0
cmp edx, 0x10
jb 0x429477
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42946d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4294d5
push edx
push ecx
call fcn.0042d0f1
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test ecx, ecx
je 0x4294e5
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.004151a0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4294db
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4294db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042d0f1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042c87e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x429510
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431b60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x70]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push 0x434e74
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00412ab0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00425cf0
push 0x411b40
push 2
push 0x18
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
call fcn.0042cd86
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x1c]
call fcn.00429a30
lea ecx, [ebp - 0x38]
call fcn.00429710
movups xmm0, xmmword [ebp - 0x38]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x38], 0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x18]
mov edx, edi
call fcn.004241a0
mov edx, dword [ebp - 0x24]
add esp, 4
mov byte [edi + 0x30], 0
cmp edx, 0x10
jb 0x42967d
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x429673
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4296db
push edx
push ecx
call fcn.0042d0f1
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test ecx, ecx
je 0x4296eb
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.004151a0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4296e1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4296e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042d0f1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042c87e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42c210
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x43f00c]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.0042c150
mov ecx, dword [esp + 0xc]
mov eax, 0x78
shr ecx, 3
mov esi, 0x38
and ecx, 0x3f
add esp, 4
sub eax, ecx
sub esi, ecx
cmp ecx, 0x38
lea ecx, [esp + 9]
cmovae esi, eax
xor edx, edx
nop dword [eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [esp + edx + 0x64], al
movzx eax, byte [ecx - 4]
mov byte [esp + edx + 0x65], al
movzx eax, byte [ecx - 3]
mov byte [esp + edx + 0x66], al
movzx eax, byte [ecx - 2]
mov byte [esp + edx + 0x67], al
add edx, 4
cmp edx, 8
jb 0x42c290
push esi
mov edx, 0x43f0f8
lea ecx, [esp + 0xc]
call fcn.0042c150
add esp, 4
lea edx, [esp + 0x64]
lea ecx, [esp + 8]
push 8
call fcn.0042c150
add esp, 4
lea eax, [esp + 0x11]
xor edx, edx
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
mov byte [esp + edx + 0x64], cl
movzx ecx, byte [eax - 4]
mov byte [esp + edx + 0x65], cl
movzx ecx, byte [eax - 3]
mov byte [esp + edx + 0x66], cl
movzx ecx, byte [eax - 2]
mov byte [esp + edx + 0x67], cl
add edx, 4
cmp edx, 0x10
jb 0x42c2e5
movzx eax, byte [esp + 0x73]
push eax
movzx eax, byte [esp + 0x76]
push eax
movzx eax, byte [esp + 0x79]
push eax
movzx eax, byte [esp + 0x7c]
push eax
movzx eax, byte [esp + 0x7f]
push eax
movzx eax, byte [esp + 0x82]
push eax
movzx eax, byte [esp + 0x85]
push eax
movzx eax, byte [esp + 0x88]
mov edx, dword [esp + 0x80]
push eax
movzx eax, byte [esp + 0x8b]
push eax
movzx eax, byte [esp + 0x8e]
push eax
movzx eax, byte [esp + 0x91]
push eax
movzx eax, byte [esp + 0x94]
push eax
movzx eax, byte [esp + 0x97]
push eax
movzx eax, byte [esp + 0x9a]
push eax
movzx ecx, dh
push ecx
movzx ecx, dl
push ecx
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push edi
call fcn.00401480
mov ecx, dword [esp + 0xbc]
add esp, 0x48
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0042c87e
mov esp, ebp
pop ebp
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x404ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x404ecf
mov dword [ebp + 8], str.kdump.dll
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404ee6
jmp 0x404f3e
push str.KxEOpenDumpMonitorEx2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404f02
jmp 0x404f3e
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x404f50
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x10], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x10], 0
je 0x404f3e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x405010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428ca9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], 0
push str.SOFTWAREMyDriversDriverGenius
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4050ab
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0xc4]
jmp 0x40514e
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xbc], 0
push 0x7e
push 0
lea ecx, [ebp - 0xba]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x80
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.UUID
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x405122
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov dword [ebp - 0xc0], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret