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

Disassembly:
push 0xffffffffffffffff
push 0x473188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0041ed60
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004032c0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x422e42
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4254b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x48aff4]
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x84]
cmp eax, ecx
push edi
jae 0x4255af
mov ecx, dword [esi + 0x18]
lea edi, [esi + 0x20]
push ecx
mov ecx, edi
call fcn.00435800
mov ecx, dword [esi + 0x18]
test ecx, ecx
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
jbe 0x425566
push ebx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
xor eax, eax
test ecx, 0xfffffffc
je 0x425550
shr ecx, 2
jmp 0x425510
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x425510
mov ecx, dword [ebp - 0x20]
and ecx, 3
je 0x42555f
jmp 0x425550
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x425550
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
pop ebx
push 0
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
mov dword [esi + 0x80], eax
call fcn.00436420
mov eax, dword [esi + 0x80]
mov edi, dword [esi + 0x84]
mov edx, dword [esi + 0x10]
not eax
lea ecx, [edi + edi*4]
lea ecx, [edx + ecx*4]
mov dword [esi + 0x80], eax
cmp eax, dword [ecx + 0x10]
jne 0x4255cd
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040ae10
test al, al
jne 0x4255cd
inc edi
mov dword [esi + 0x84], edi
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x84]
sub eax, edi
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.00455418
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
call fcn.00455418
mov esp, ebp
pop ebp
ret
Function at 0x4257d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48aff4]
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xe4]
cmp eax, ecx
push edi
jae 0x4258cf
mov ecx, dword [esi + 0x18]
lea edi, [esi + 0x80]
push ecx
mov ecx, edi
call fcn.00435800
mov ecx, dword [esi + 0x18]
test ecx, ecx
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jbe 0x425886
push ebx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor eax, eax
test ecx, 0xfffffffc
je 0x425870
shr ecx, 2
jmp 0x425830
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x425830
mov ecx, dword [ebp - 0x30]
and ecx, 3
je 0x42587f
jmp 0x425870
mov al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x425870
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
pop ebx
push 0
lea edx, [ebp - 0x24]
push edx
mov ecx, edi
mov dword [esi + 0xe0], eax
call fcn.00436420
mov eax, dword [esi + 0xe0]
mov edi, dword [esi + 0xe4]
mov edx, dword [esi + 0x10]
not eax
lea ecx, [edi + edi*4]
lea ecx, [edx + ecx*4]
mov dword [esi + 0xe0], eax
cmp eax, dword [ecx + 0x10]
jne 0x425909
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040ae10
test al, al
jne 0x425909
inc edi
mov dword [esi + 0xe4], edi
mov eax, dword [esi + 0xe4]
cmp eax, dword [esi + 4]
jne 0x425909
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [esi + 0x20]
call fcn.00436420
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040ae10
neg al
pop edi
pop esi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.00455418
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
call fcn.00455418
mov esp, ebp
pop ebp
ret 8
Function at 0x427b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4736c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], 0x476b5c
mov dword [esi + 0xc], ecx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov dword [esi], 0x4772e0
mov dword [esi + 4], 0x4772dc
mov dword [esi + 8], eax
call fcn.004238d0
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x70], 0x4772c4
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x4772d0
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 2
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
call fcn.004139c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x427b6a
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4736c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], 0x476b5c
mov dword [esi + 0xc], ecx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov dword [esi], 0x4772e0
mov dword [esi + 4], 0x4772dc
mov dword [esi + 8], eax
call fcn.004238d0
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x70], 0x4772c4
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0x4772d0
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], eax
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 2
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
call fcn.004139c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x42a580
Capabilities:
Resume thread

Disassembly:
sub esp, 8
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x40], eax
jne 0x42a5a0
pop esi
add esp, 8
ret
push 0
push 0
push 4
mov ecx, esi
call fcn.0046bb63
test eax, eax
jne 0x42a5c5
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0x40], eax
pop esi
add esp, 8
ret
mov ecx, dword [esi + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x40]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x40]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
pop edi
mov dword [esi + 0x40], 0
sete al
pop esi
add esp, 8
ret
Function at 0x42acb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
jne 0x42acc7
xor al, al
pop ebx
add esp, 0x18
ret 0x10
push esi
mov esi, dword [esp + 0x30]
push edi
xor edi, edi
cmp edi, 1
jb 0x42ace5
ja 0x42acda
cmp esi, edi
jb 0x42ace5
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x18
ret 0x10
cmp dword [0x4cf808], edi
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x38], edi
je 0x42ad7f
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x3c]
push edx
push esi
push ecx
push eax
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42add1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42ad53
cmp eax, 0x3e4
jne 0x42ae07
mov ecx, dword [ebx + 8]
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x42add1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x18
ret 0x10
mov ecx, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42ada4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42ae07
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 8]
push 0
lea edx, [esp + 0x3c]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42add1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x18
ret 0x10
cmp dword [esp + 0x38], esi
jne 0x42adff
add esi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x14]
adc edi, ebp
cmp edx, edi
ja 0x42adf3
jb 0x42aded
mov eax, dword [ebx + 0x10]
cmp eax, esi
jae 0x42adf3
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x18
ret 0x10
push 0x26
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x18
ret 0x10
Function at 0x42b050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x42b05f
xor eax, eax
pop ebp
ret 4
mov eax, dword [0x4cf808]
test eax, eax
je 0x42b10a
push ebx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
lea ebx, [esi + 0x18]
mov ecx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
push edi
push eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x2c]
push ebx
lea edi, [esi + 0x14]
push edi
push ecx
mov dword [edi], 0
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b0e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42b0d6
cmp eax, 0x3e4
jne 0x42b101
pop edi
mov dword [esi], 1
pop esi
pop ebx
mov eax, 1
pop ebp
ret 4
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x10]
jne 0x42b101
pop edi
mov dword [esi], 2
pop esi
pop ebx
mov eax, 2
pop ebp
ret 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret 4
mov edx, dword [esp + 8]
mov dword [edx], 1
mov eax, 1
pop ebp
ret 4
Function at 0x42b800
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x34
push esi
push edi
mov edi, dword [esp + 0x40]
test edi, edi
mov esi, ecx
je 0x42b829
mov eax, edi
push ebx
lea ecx, [esi + 0x28]
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b818
sub eax, ebx
push eax
push edi
call fcn.00401e20
pop ebx
mov eax, dword [0x4cf808]
test eax, eax
mov eax, dword [esi + 0x28]
push 0
je 0x42b83e
push 0x40000000
jmp 0x42b840
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x42b876
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42b86c
mov dword [esi + 0x30], 1
pop edi
xor al, al
pop esi
add esp, 0x34
ret 4
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x42b8a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0xffffffff
xor al, al
pop esi
add esp, 0x34
ret 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1c], eax
pop edi
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov al, 1
pop esi
add esp, 0x34
ret 4

Function at 0x42b8e0
Capabilities:
Move file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x48aff4]
push ebx
mov ebx, dword [esp + 0x134]
test ebx, ebx
push ebp
push esi
mov dword [esp + 0x134], eax
push edi
mov ebp, ecx
je 0x42b919
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004568ed
add esp, 8
test eax, eax
jne 0x42b97d
mov edi, ebx
jmp 0x42b91c
mov edi, dword [ebp + 0x28]
mov esi, 1
push esi
push edi
push str._s._d
lea ebx, [esp + 0x40]
mov ecx, ebx
push 0x104
push ecx
call fcn.00455b7d
lea edx, [esp + 0x24]
push edx
mov eax, ebx
push eax
call fcn.004568ed
add esp, 0x1c
test eax, eax
jne 0x42b97d
lea ecx, [ecx]
inc esi
push esi
push edi
push str._s._d
lea ecx, [esp + 0x40]
push 0x104
push ecx
call fcn.00455b7d
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.004568ed
add esp, 0x1c
test eax, eax
je 0x42b950
mov eax, dword [ebp + 0x28]
lea esi, [ebp + 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x42b9bd
test ebx, ebx
jne 0x42b9a2
xor eax, eax
push eax
push ebx
mov ecx, esi
call fcn.00401e20
mov al, 1
jmp 0x42b9bf
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b9a7
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401e20
mov al, 1
jmp 0x42b9bf
xor al, al
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00455418
add esp, 0x12c
ret 4
Function at 0x42cc60
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
sub esp, 0x28
push esi
mov esi, ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x50]
push eax
call fcn.00449fe0
xor ecx, ecx
cmp eax, ecx
jl 0x42cce7
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea edx, [esp + 4]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
push 0x1007
push eax
mov dword [esp + 0x14], 0xd
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
add esp, 0x28
ret 4
Function at 0x42dfc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x48aff4]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push edi
mov dword [esp + 0x110], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [esp + 0x120]
mov byte [edi], 0
jne 0x42e040
mov edx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
test esi, esi
jne 0x42e03d
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x110]
pop edi
call fcn.00455418
add esp, 0x110
ret

Function at 0x42e060
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48aff4]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push ebx
push 0
push 0
push ebp
push str.open
push 0
mov dword [esp + 0x22c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42e178
lea eax, [esp + 0xc]
push eax
push str..htm
push 0x80000000
call fcn.0042dfc0
add esp, 0xc
test eax, eax
jne 0x42e178
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
push 0x80000000
call fcn.0042dfc0
add esp, 0xc
test eax, eax
jne 0x42e15f
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.00456d64
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e12d
lea edx, [esp + 0x10]
push 0x47769c
push edx
call fcn.00456d64
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e12d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x42e130
mov byte [esi], 0
push 0x4772b0
push esi
call edi
push ebp
push esi
call edi
push ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208]
call fcn.00455418
add esp, 0x20c
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208]
call fcn.00455418
add esp, 0x20c
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
pop ebp
pop ebx
call fcn.00455418
add esp, 0x20c
ret
Function at 0x42f7e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x473ce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xa0]
test eax, eax
jne 0x42f8e6
push esi
call fcn.0046b0c6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x14], 0
jge 0x42f84b
push 0x104
lea ecx, [esp + 0xc]
call fcn.00401260
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x42f85f
xor eax, eax
jmp 0x42f873
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f864
sub eax, edx
js 0x42f8f6
cmp eax, dword [esi - 8]
jg 0x42f8f6
push edi
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x14]
mov byte [eax + esi], 0
call fcn.00422b30
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42f8bb
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x42f8bb
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0xa0], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x42f8e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.00401060
int3
Function at 0x431890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
push esi
push ebx
mov edi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.0042bbb0
test al, al
je 0x43197c
mov edx, dword [esi + 0x2c]
push ebx
push edx
lea ecx, [edi + 0x20]
call fcn.00434b00
test ebx, ebx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x80]
not eax
mov dword [ebp + 0xc], eax
jbe 0x431959
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, 0xfffffffc
je 0x431940
shr ecx, 2
jmp 0x431900
xor edx, dword [esi]
add esi, 4
mov al, dl
mov ebx, dword [eax*4 + 0x4cf408]
mov al, dh
shr edx, 0x10
xor ebx, dword [eax*4 + 0x4cf008]
mov al, dl
xor ebx, dword [eax*4 + 0x4cec08]
mov al, dh
xor ebx, dword [eax*4 + 0x4ce408]
mov edx, ebx
dec ecx
jne 0x431900
mov ecx, dword [ebp + 0x10]
and ecx, 3
je 0x431950
lea esp, [esp]
lodsb al, byte [esi]
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4ce408]
dec ecx
jne 0x431940
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x14]
not eax
mov dword [edi + 0x80], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x2c]
push ecx
mov ecx, dword [edi + 0x18]
push edx
call fcn.0042bf70
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4348b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x48aff4]
push ebx
push esi
mov dword [esp + 0x24], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401f90
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 1
jae 0x434910
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00464e70
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004347f0
mov esi, dword [esp + 0x40]
mov edi, eax
mov ecx, dword [edi]
cmp ecx, esi
je 0x43494a
cmp ecx, ebx
je 0x434941
dec dword [ecx + 4]
jne 0x434941
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [edi], esi
je 0x43494a
inc dword [esi + 4]
cmp dword [esp + 0x24], 0x10
pop edi
jb 0x43495f
mov eax, dword [esp + 0xc]
push eax
call fcn.0046b360
add esp, 4
cmp esi, ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov dword [esp + 0x30], 0xffffffff
je 0x434988
dec dword [esi + 4]
jne 0x434988
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
pop ebx
call fcn.00455418
add esp, 0x2c
ret 8
Function at 0x434ad0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x50], ecx
ret