joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a0ff
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
mov dword [eax], esi
mov edi, esi
push edx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], esi
push eax
mov dword [ebx], esi
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edx, dword [ebp + 8]
test edx, edx
je 0x41a174
lea eax, [ebp - 8]
push eax
push ecx
call fcn.0041a025
mov esi, eax
test esi, esi
js 0x41a201
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
cmp esi, 0xc0000023
je 0x41a179
test esi, esi
js 0x41a201
mov esi, 0xc0000001
jmp 0x41a201
mov dword [ebp - 8], esi
jmp 0x41a143
push dword [ebp - 4]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0x41a19a
mov esi, 0xc000009a
jmp 0x41a201
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push edi
push 2
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test esi, esi
js 0x41a201
cmp dword [edi + 4], 1
je 0x41a1c4
mov esi, 0xc0000024
jmp 0x41a201
mov eax, dword [ebp - 4]
sub eax, 0xc
push eax
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x41a193
push dword [ebp - 4]
lea eax, [edi + 0xc]
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov eax, dword [ebp - 4]
xor esi, esi
mov dword [ecx], eax
cmp dword [ebp - 8], 0
je 0x41a210
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x41a226
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a236
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
push ecx
lea eax, [esp + 0x24]
xor esi, esi
push eax
mov ebx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x34], esi
push eax
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
test eax, eax
js 0x41a3b7
push esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edi, esi
mov dword [esp + 0x14], esi
jmp 0x41a2f4
cmp dword [esp + 0x1c], 0
je 0x41a2ca
push dword [esp + 0x1c]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0x14]
mov word [esp + 0x1a], ax
lea edi, [eax + 2]
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41a3be
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov esi, eax
cmp esi, 0xc0000023
je 0x41a2ae
push dword [esp + 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
js 0x41a39f
movzx ecx, word [esp + 0x18]
xor edx, edx
shr ecx, 1
xor esi, esi
mov word [eax + ecx*2], dx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x22], di
push eax
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
test eax, eax
jns 0x41a2f4
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
cmp dword [esp + 0x10], 0
je 0x41a39b
push dword [esp + 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test esi, esi
jns 0x41a3b5
test eax, eax
je 0x41a3b5
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xc000009a
jmp 0x41a381
Function at 0x41c7c1
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 4], 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x58], edx
jb 0x41c8da
cmp dword [ecx + 0x18], 0x14
jb 0x41c8da
push 7
lea edi, [ecx + 0x1c]
push 0x4068a4
push edi
call dword [sym.imp.msvcrt.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x41c8da
mov esi, dword [edi + 0xc]
cmp esi, 0x14
jb 0x41c8da
cmp dword [edi + 8], eax
je 0x41c8da
add esi, 0xffffffec
lea eax, [edi + 0x14]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcsnlen]
pop ecx
pop ecx
cmp eax, esi
je 0x41c8da
mov esi, dword [edi + 0xc]
mov eax, dword fs:[0x30]
sub esi, 0x14
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
test ebx, ebx
jne 0x41c85e
mov esi, 0xc000009a
jmp 0x41c8df
push esi
lea eax, [edi + 0x14]
push eax
push ebx
call sub.msvcrt.dll_memcpy
push ebx
call dword [sym.imp.msvcrt.dll__wcsupr]
push 0x4068ac
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 0x18
test eax, eax
jne 0x41c88a
mov esi, 0xc0000225
jmp 0x41c8c5
add eax, 0x14
sub esi, eax
add esi, ebx
cmp esi, 0x4e
jb 0x41c883
push 0x13
mov esi, eax
lea edi, [ebp - 0x54]
pop ecx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov word [ebp - 8], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlGUIDFromString]
mov esi, eax
mov ecx, dword fs:[0x30]
push ebx
push 0
push dword [ecx + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x41c8df
mov esi, 0xc000000d
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ef80
mov esp, ebp
pop ebp
ret
Function at 0x41cd0c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov al, byte [esi]
and al, 0x7f
cmp al, 0x7f
jne 0x41cd2c
mov eax, 0xc000003a
jmp 0x41ce4b
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
add edx, esi
push ebx
xor ebx, ebx
mov cl, byte [edx]
mov al, cl
and al, 0x7f
cmp al, 0x7f
je 0x41ce45
cmp cl, 4
jne 0x41cd6d
cmp byte [edx + 1], cl
jne 0x41cd6d
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
cmp ecx, 4
jb 0x41cdb7
lea eax, [ecx - 4]
add ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
add edx, ecx
mov cl, byte [edx]
mov al, cl
and al, 0x7f
cmp al, 0x7f
jne 0x41cd4c
test ebx, ebx
je 0x41ce45
mov eax, dword fs:[0x30]
add ebx, 2
push ebx
push 0
mov dword [ebp - 8], ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41cdc1
mov eax, 0xc000009a
jmp 0x41ce4a
mov eax, 0xc0000095
jmp 0x41ce4a
push edi
movzx edi, byte [esi + 3]
mov ecx, eax
movzx eax, byte [esi + 2]
shl edi, 8
or edi, eax
mov dword [ebp - 4], ecx
add edi, esi
mov dl, byte [edi]
mov al, dl
and al, 0x7f
cmp al, 0x7f
je 0x41ce2e
mov ebx, ecx
cmp dl, 4
jne 0x41ce0c
cmp byte [edi + 1], dl
jne 0x41ce0c
movzx esi, byte [edi + 3]
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
lea eax, [edi + 4]
sub esi, 4
push esi
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, esi
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
add edi, ecx
mov dl, byte [edi]
mov al, dl
and al, 0x7f
cmp al, 0x7f
jne 0x41cde2
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
pop edi
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
xor eax, eax
jmp 0x41ce4a
mov eax, 0xc0000225
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41dccb
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
mov ebx, edi
call fcn.0041df2a
lea edx, [ebp - 4]
test al, al
je 0x41dd03
mov ecx, 0x4069c0
call fcn.0041e01f
mov esi, eax
cmp esi, 0xc0000452
jne 0x41dd0f
lea edx, [ebp - 4]
mov ecx, 0x406a08
call fcn.0041e01f
mov esi, eax
test esi, esi
js 0x41dda5
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edi
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov esi, eax
cmp esi, 0xc0000023
je 0x41dd4c
test esi, esi
js 0x41dda8
mov esi, 0xc0000001
jmp 0x41dda8
mov eax, dword [ebp - 8]
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
jne 0x41dd74
mov esi, 0xc000009a
jmp 0x41dda8
mov ax, word [ebp - 8]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0
push eax
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov esi, eax
test esi, esi
js 0x41dda8
movzx eax, word [ebp - 0x14]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
jmp 0x41dda8
mov edi, dword [ebp - 4]
test edi, edi
je 0x41ddb3
push edi
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x41ddcd
test ebx, ebx
je 0x41ddcd
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dddb
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov ebx, edi
mov dword [esp + 0xc], edi
call fcn.0041dccb
mov esi, eax
test esi, esi
js 0x41df01
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
call fcn.0041a620
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x41dea8
xor ecx, ecx
cmp dword [edi], ecx
jne 0x41dea3
push 0x406a4c
push dword [esp + 0x10]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x41de47
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0xc]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41de50
mov eax, dword fs:[0x30]
sub ecx, edx
sar ecx, 1
lea esi, [ecx*2 + 0x2a]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x41de88
mov esi, 0xc000009a
jmp 0x41dea8
xor ecx, ecx
lea eax, [edi + 0x30]
cmp dword [edi + 4], ecx
jbe 0x41dea3
cmp byte [eax + 0x21], 0
jne 0x41dec1
inc ecx
add eax, 0x90
cmp ecx, dword [edi + 4]
jb 0x41de92
mov esi, 0xc0000452
test edi, edi
je 0x41dee6
mov eax, dword fs:[0x30]
push edi
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x41dee8
push dword [eax + 0x18]
shr esi, 1
push dword [esp + 0x10]
push 0x406a64
push esi
push ebx
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [eax], ebx
xor eax, eax
mov esi, eax
jmp 0x41dea8
xor edi, edi
test esi, esi
jns 0x41df01
test ebx, ebx
je 0x41df01
mov eax, dword fs:[0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [esp + 0xc], 0
je 0x41df1c
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e3c6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
mov esi, 0xc04
push eax
push 8
push 0x404
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41e414
push 3
lea eax, [ebp - 0x44]
push 0x406d90
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffff800
add esi, eax
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.0041ef80
mov esp, ebp
pop ebp
ret
Function at 0x41e42b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x4203c0]
jne 0x41e4c7
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 6
push eax
push 1
xor edi, edi
push edi
push 0x406d98
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e4c6
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x406e78
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x41e4c6
push 3
push dword [edi*8 + 0x406e90]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x41e4b8
inc edi
cmp edi, 0x1c
jb 0x41e496
jmp 0x41e4c6
mov ax, word [edi*8 + 0x406e94]
mov word [0x4203c0], ax
pop edi
mov ecx, dword [ebp - 4]
mov ax, word [0x4203c0]
xor ecx, ebp
call fcn.0041ef80
mov esp, ebp
pop ebp
ret
Function at 0x41f21f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41f848
call fcn.0041f5a8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41f27f
cmp eax, 0xffffffff
je 0x41f27f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41f278
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41f278
cmp edx, 0x10000000
jae 0x41f278
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41f275
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041f5ed
ret 4

Function at 0x41f2e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41f31e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41f316
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41f320
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41f306
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41f400
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x41f416
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x41f431
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x4026a8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026b6
call dword [0x442014]
or eax, eax
je 0x4026b7
ret
mov al, 1
jmp fcn.00402734

Function at 0x4026c0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026ce
call dword [0x442018]
or eax, eax
jne 0x4026cf
ret
mov al, 2
jmp fcn.00402734

Function at 0x4026d8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402710
test edx, edx
je 0x4026fa
push eax
mov eax, ecx
call dword [0x44201c]
pop ecx
or eax, eax
je 0x402709
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402734
mov dword [eax], edx
mov eax, ecx
call dword [0x442018]
or eax, eax
jne 0x4026f3
ret
mov al, 1
jmp fcn.00402734
test edx, edx
je 0x402724
push eax
mov eax, edx
call dword [0x442014]
pop ecx
or eax, eax
je 0x402709
mov dword [ecx], eax
ret

Function at 0x402734
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x443004]
test ecx, ecx
je 0x402744
pop edx
call ecx
dec eax
mov al, byte [eax + 0x40275d]
jns 0x402758
call fcn.00405c7c
mov eax, dword [eax + 4]
jmp fcn.00403880

Function at 0x402778
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405c7c
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x40278d
ret
xor eax, eax
jmp fcn.00402734

Function at 0x402878
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028a7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004039f4
jmp 0x4028c5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402800
mov edi, eax
test ebx, ebx
je 0x4028c5
cmp dword [esi], 0
je 0x4028c5
dec ebx
jmp 0x4028ae
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c14
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bf4
xor eax, eax
push ebp
push 0x402bed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bf4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e94
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402eae
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402eae
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402e9a
mov al, 0xa
jmp fcn.00402734
ret
Function at 0x402ee0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x443018], 0
je 0x4028eb
call dword [0x443018]
mov eax, 0xd2
jmp fcn.00403880
push eax
push ecx
mov eax, dword [eax]
call fcn.00402eb0
pop ecx
pop eax
je 0x402eef
jmp ebx
pop ecx
jmp 0x4028dc

Function at 0x40375c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4434a0
mov esi, 0x443034
mov edi, 0x443038
cmp byte [ebx + 0x24], 0
jne 0x40378b
cmp dword [edi], 0
je 0x40378b
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40377a
cmp dword [0x44303c], 0
je 0x4037d2
call fcn.004036d8
cmp byte [0x443044], 0
je 0x4037b8
mov edx, 0x442020
mov eax, 0x443218
call fcn.00405518
call fcn.0040549b
jmp 0x4037cb
push 0
push 0x442040
push 0x442020
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x44303c], eax
cmp byte [ebx + 0x24], 2
jne 0x4037e2
cmp dword [esi], 0
jne 0x4037e2
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004035ac
cmp byte [ebx + 0x24], 1
jbe 0x4037f2
cmp dword [esi], 0
je 0x40380f
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40380f
call fcn.00404f1c
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x40380f
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403584
cmp byte [ebx + 0x24], 1
jne 0x40381d
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403828
call fcn.00403728
cmp dword [ebx], 0
jne 0x403835
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4037d2

Function at 0x4038c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026a8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x443045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40388c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x403f18
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403edc
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403edc
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403ec4
ret

Function at 0x403fc0
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402734
test ecx, ecx
je fcn.00403edc
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403ec4
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret
Function at 0x404088
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4040c7
cmp al, 0xb
je 0x4040c7
cmp al, 0xc
je 0x4040d1
cmp al, 0xd
je 0x4040e4
cmp al, 0xe
je 0x404102
cmp al, 0xf
je 0x4040c7
cmp al, 0x11
je 0x4040c7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4040c7
jmp 0x404116
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4040d1
jmp 0x404116
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x404088
dec edi
jg 0x4040e7
pop ebp
jmp 0x404116
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040405c
dec edi
jg 0x404105
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404088

Function at 0x40411c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4040c7
cmp al, 0xb
je 0x4040c7
cmp al, 0xc
je 0x4040d1
cmp al, 0xd
je 0x4040e4
cmp al, 0xe
je 0x404102
cmp al, 0xf
je 0x4040c7
cmp al, 0x11
je 0x4040c7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4040c7
jmp 0x404116
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4040d1
jmp 0x404116
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x404088
dec edi
jg 0x4040e7
pop ebp
jmp 0x404116
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040405c
dec edi
jg 0x404105
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404088