joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019f70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10075098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10019faf
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x10019fc4
mov al, 1
jmp 0x1001a063
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1001a9e0
test al, al
je 0x1001a00e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x1001a00e
mov bl, 1
jmp 0x1001a010
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a04d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a043
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a07f
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100321d8
mov esp, ebp
pop ebp
ret
call fcn.1003d039
int3

Function at 0x1001a090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10075098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001a0c6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001a170
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1001a9e0
test al, al
je 0x1001a11f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001a15c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a152
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a18d
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100321d8
mov esp, ebp
pop ebp
ret
call fcn.1003d039
int3
Function at 0x1001d520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100566d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10075098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
push esi
push eax
call fcn.1001e170
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.100059c0
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
test eax, eax
jne 0x1001d5a4
xor bl, bl
jmp 0x1001d5c2
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001d5bc
cmp eax, 0x80
je 0x1001d5bc
xor bl, bl
jmp 0x1001d5c2
mov byte [ebp - 0x14], 1
mov bl, 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x39]
push eax
push edi
push esi
mov byte [ebp - 0x39], 0
call fcn.1001d6b0
test al, al
jne 0x1001d5f0
cmp byte [ebp - 0x39], al
je 0x1001d5f0
cmp dword [esi + 0x14], 8
jb 0x1001d5e9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
test bl, bl
je 0x1001d60a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001d606
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001d62a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1001d66d
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d69f
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100321d8
mov esp, ebp
pop ebp
ret 8
call fcn.1003d039
int3
Function at 0x1001f620
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10075098]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.10034380
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1001f6b7
cmp dword [esp + 8], 6
jb 0x1001f6b7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.100321d8
add esp, 0x118
ret
Function at 0x10023390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x10077670], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x10077370], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x10077570], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x10077470], al
inc esi
cmp esi, 0x100
jl 0x100234a0
pop esi
add esp, 0x80
ret
Function at 0x1002cf70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057a78
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10075098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x1002cfde
lea eax, [esi + 0x68]
mov dword [esi], 0x10059448
mov dword [esi + 0x10], 0x10059450
mov dword [ebp + 0xc], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 1
push 0
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.10027d00
mov dword [ebp - 4], 4
lea edx, [esi + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov dword [ebp - 4], 7
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov dword [ebp - 4], 8
mov eax, dword [esi]
push 8
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edi
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100321f7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002d078
push 1
call fcn.10031606
add esp, 4
mov dword [ebx + 4], eax
jmp 0x1002d07a
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov byte [ebp - 4], 9
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and ecx, 1
mov dword [edi + 0x38], 0
shl ecx, 2
mov eax, ebx
mov edx, ecx
or edx, 2
and al, 2
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1004bbde
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004b89e
Function at 0x404420
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x414b60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
mov dword [eax], vtable.CHDD.0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 4], 3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x70]
mov dword [edx], vtable.CHDDATA.0
mov eax, dword [ebp - 0x70]
mov dword [eax + 8], 0x7d0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x14], 0xff
mov ecx, dword [ebp - 0x70]
mov byte [ecx + 0x15], 0xff
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x70]
mov dl, byte [ebp + 0xc]
mov byte [ecx + 0x1c], dl
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp + 0x10]
mov byte [eax + 0x1d], cl
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x20], 0
push 0x4c89d4
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.00401e40
mov byte [ebp - 4], 1
push 0x4c89d4
mov ecx, dword [ebp - 0x70]
add ecx, 0x28
call fcn.00401e40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x2c], 0
mov ecx, dword [ebp - 0x70]
mov byte [ecx + 0x2d], 0
mov edx, dword [ebp - 0x70]
mov byte [edx + 0x2e], 0
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x2f], 0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x38], 0xffffffff
push 0x4c89d4
mov ecx, dword [ebp - 0x70]
add ecx, 0x3c
call fcn.00401e40
mov byte [ebp - 4], 3
push 0x4f79c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x4f7cec], 0x1c
push 0x4caa5c
mov ecx, 0x4f79c0
call fcn.00403300
push 0x4caa2c
push 0x4f79c0
call fcn.00403650
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x74], 1
je 0x414cb2
cmp dword [ebp - 0x74], 2
je 0x414ccd
jmp 0x414ced
movzx edx, byte [ebp + 0xc]
push edx
push 0x4caa14
mov eax, dword [ebp - 0x70]
add eax, 0x3c
push eax
call fcn.004193e0
add esp, 0xc
jmp 0x414d0b
movzx ecx, byte [ebp + 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
push 0x4ca9f8
mov eax, dword [ebp - 0x70]
add eax, 0x3c
push eax
call fcn.004193e0
add esp, 0x10
jmp 0x414d0b
movzx ecx, byte [ebp + 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
push 0x4ca9d8
mov eax, dword [ebp - 0x70]
add eax, 0x3c
push eax
call fcn.004193e0
add esp, 0x10
mov ecx, dword [ebp - 0x70]
call fcn.00414f10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ed20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x41ed69
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4c8004]
mov dword [ebp - 4], eax
jmp 0x41ed88
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4c800c]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
jne 0x41edac
cmp dword [ebp - 4], 0
jne 0x41edac
mov edx, dword [ebp - 8]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41edc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x41ee3a
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
cmp dword [ecx + 0xc], 1
setg dl
movzx eax, dl
test eax, eax
je 0x41ee12
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00402640
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4c8004]
jmp 0x41eeb1
mov dword [ebp - 8], 0x400
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
sub eax, 0x400
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x20]
jge 0x41ee7d
push 0x400
mov ecx, dword [ebp + 0x10]
call fcn.004024d0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4c800c]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.0041bbd0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4253e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4cd458
push 0x80000001
call dword [fcn.004c8008]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4254f3
mov dword [ebp - 0x1c], 0
call fcn.004b5d44
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
call dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0041bb70
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [fcn.004c8018]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041bbd0
cmp dword [ebp - 0x14], 0
je 0x42549f
jmp 0x4254da
push 0x4cd438
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401850
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [fcn.004c8014]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [fcn.004c8014]
lea ecx, [ebp - 0x20]
call fcn.0044e670
jmp 0x425469
mov eax, dword [ebp - 0x10]
push eax
call dword [fcn.004c8058]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044e670
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x22ec], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42efb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c28d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x18], 0
call fcn.004b5d44
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041bb70
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0041bbd0
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044e670
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42ff60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c29b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00430090
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 3
push 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00430710
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
push 0x4cd7a8
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0049981b
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.0044e670
movzx edx, byte [ebp - 0x35]
test edx, edx
je 0x430015
mov eax, 0x4cd7a8
test eax, eax
jne 0x42fff4
mov dword [ebp - 0x50], 0
jmp 0x430004
push 0x4cd7a8
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x4cd7a8
lea ecx, [ebp - 0x10]
call fcn.00401ba0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x68], eax
push 0
mov ecx, dword [ebp - 0x68]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.00430850
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x14
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
lea eax, [ebp - 0x30]
push eax
call dword [0x4c84e4]
mov dword [ebp - 0x34], eax
xor ecx, ecx
cmp dword [ebp - 0x34], 0
sete cl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437300
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c30bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [eax], vtable.CHDD.0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 4], 1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x74]
mov dword [edx], vtable.CHDDSCSI.0
push 0x4c89d4
mov ecx, dword [ebp - 0x74]
add ecx, 8
call fcn.00401e40
mov byte [ebp - 4], 1
push 0x4c89d4
mov ecx, dword [ebp - 0x74]
add ecx, 0xc
call fcn.00401e40
mov byte [ebp - 4], 2
push 0x4c89d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
call fcn.00401e40
mov byte [ebp - 4], 3
push 0x4c89d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x14
call fcn.00401e40
mov byte [ebp - 4], 4
push 0x4c89d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x18
call fcn.00401e40
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x1d], 0
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x28], 0xff
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x3c], 0
push 0x4f79c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x4f7cec], 0x17
push 0x4cf514
mov ecx, 0x4f79c0
call fcn.00403300
push 0x4cf4e0
push 0x4f79c0
call fcn.00403650
add esp, 8
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x30]
push eax
push 0x4cf4c0
mov ecx, dword [ebp - 0x74]
add ecx, 8
push ecx
call fcn.004193e0
add esp, 0xc
mov ecx, dword [ebp - 0x74]
call fcn.004376d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4