joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40acc8]
jne 0x4026d0
repz ret
jmp fcn.00401f1f

Function at 0x4026d5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404288
xor ebx, ebx
cmp dword [0x40d910], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4027aa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x402715
xor eax, eax
jmp 0x40286e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40270e
push eax
call fcn.004032c1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d910], eax
call esi
push eax
call fcn.004032c1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d914], eax
call esi
push eax
call fcn.004032c1
mov dword [0x40d918], eax
lea eax, [ebp - 8]
push eax
call fcn.00406d17
test eax, eax
pop ecx
pop ecx
je 0x402778
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407340
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4027aa
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004032c1
cmp eax, ebx
pop ecx
mov dword [0x40d920], eax
je 0x4027aa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004032c1
pop ecx
mov dword [0x40d91c], eax
mov eax, dword [0x40d91c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x402823
cmp dword [0x40d920], esi
je 0x402823
push eax
call fcn.00402d6c
pop ecx
call eax
cmp eax, ebx
je 0x4027f0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40d920]
call fcn.00402d6c
pop ecx
call eax
test eax, eax
je 0x4027f0
test byte [ebp - 0x18], 1
jne 0x402823
lea eax, [ebp - 0xc]
push eax
call fcn.00406d4e
test eax, eax
pop ecx
je 0x40280b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407340
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40281a
or dword [ebp + 0x10], 0x200000
jmp 0x402854
or dword [ebp + 0x10], 0x40000
jmp 0x402854
mov eax, dword [0x40d914]
cmp eax, esi
je 0x402854
push eax
call fcn.00402d6c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x402854
mov eax, dword [0x40d918]
cmp eax, esi
je 0x402854
push dword [ebp - 4]
push eax
call fcn.00402d6c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40d910]
call fcn.00402d6c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405240
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x405385
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
add byte [edi + ebp], 0x75
call esi
add byte [edi + ebp], 0x56
call esi
xor byte [edi + ebp], 0xee
call esi
add byte [edi + ebp], 0xc2
call esi
add byte [edi + ebp], 0x16
call esi
add byte [edi + ebp], 0x90
call esi
add byte [edi + ebp], 0x59
call esi
xor byte [edi + ebp], 0x9b
call esi
add byte [edi + ebp], 0x8b
call esi
call esi
call esi
add byte [edi + ebp], 0x60
call esi
add byte [edi + ebp], 0x91
call esi
add byte [edi + ebp], 0xbd
call esi
add byte [edi + ebp], 9
call esi
add byte [edi + ebp], 0x9c
call esi
xor byte [edi + ebp], 0xed
call esi
add byte [edi + ebp], 0xae
call esi
add byte [edi + ebp], 0xfd
call esi
add byte [edi + ebp], 0xc3
call esi
add byte [edi + ebp], 0xf7
call esi
add byte [edi + ebp], 0x95
call esi
add byte [edi + ebp], 0xa8
call esi
add byte [edi + ebp], 0x3c
call esi
add byte [edi + ebp], 0xd3
call esi
xor byte [edi + ebp], 0x33
call esi
add byte [edi + ebp], 0x15
call esi
add byte [edi + ebp], 0x39
call esi
call esi
add byte [edi + ebp], 0xc8
call esi
add byte [edi + ebp], 0xb8
call esi
xor byte [edi + ebp], 0x68
call esi
xor byte [edi + ebp], 0x1d
call esi
xor byte [edi + ebp], 0xe0
call esi
add byte [edi + ebp], 0x91
call esi
add byte [edi + ebp], 0x24
call esi
xor byte [edi + ebp], 0x31
call esi
add byte [edi + ebp], 7
call esi
add byte [edi + ebp], 0xbf
call esi
xor byte [edi + ebp], 0x2f
call esi
add byte [edi + ebp], 0x7d
call esi
xor byte [edi + ebp], 0xb9
call esi
add byte [edi + ebp], 0x3c
call esi
xor byte [edi + ebp], 0x2e
call esi
add byte [edi + ebp], 0xf3
call esi
xor byte [edi + ebp], 0xda
call esi
add byte [edi + ebp], 0xb9
call esi
add byte [edi + ebp], 0x94
call esi
add byte [edi + ebp], 0x55
inc edi
cmp edi, ebx
jb 0x405260
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4061c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x4061d2
call 0x1875edae
jo 0x406219
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
add bh, bh
salc
push 1
call dword [sym.imp.USER32.dll_GetClipCursor]
call esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x45aac0], eax
sub eax, eax
je 0x406203
jmp 0x3040cad6
push 0x23000
push section..data
call fcn.00405240
push str.warning_is_the_identify
call fcn.004062c0
push 0xb0
mov dword [ebp - 4], 0x403330
call fcn.0040977c
add esp, 0x10
test eax, eax
je 0x406243
add byte [eax], al
add byte [eax - 0x50], ch
add byte [eax], al
add bh, al
inc ebp
cld
xor byte [ebx], dh
inc eax
add al, ch
dec edi
xor eax, 0xc4830000
adc byte [ebp - 0x72f08b40], al
dec ebp
cld
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
call fcn.004014c0
mov esi, eax
jmp 0x406245
xor esi, esi
test esi, esi
je 0x4062b7
lea ecx, [esi + 4]
lock inc dword [ecx]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x40626e
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x406266
mov eax, dword [ecx]
push esi
jmp 0x40626c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test esi, esi
je 0x40627c
cmp byte [esi + 0x6c], 0
jne 0x40627c
mov al, 1
jmp 0x40627e
xor al, al
test al, al
je 0x4062b7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
lock xadd dword [esi + 4], edi
dec edi
jne 0x4062af
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4062a7
mov eax, dword [ecx]
push esi
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.00404db0
int3

Function at 0x40a3d3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a412
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a412
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a412
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a412
cmp dword [ecx + 0x74], 0xe
jbe 0x40a412
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x416f6c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b428
push 0x42b420
push str.FlsAlloc
push 0x1e
call fcn.00416dd9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416fa0
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
jmp 0x416fa6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x416fea
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b438
push 0x42b430
push str.FlsGetValue
push 0x20
call fcn.00416dd9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417021
push dword [ebp + 8]
mov ecx, esi
call dword [0x427198]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41ad4d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a830
mov eax, dword [0x459100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418501
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ad8f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41aeeb
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425f90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x45b7b8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b173
mov ecx, dword [esi*4 + 0x45b7b8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41aee4
cmp eax, dword [edi + ecx + 0x24]
jne 0x41aee4
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41aee4
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b173
add esp, 0x14
test edx, edx
jl 0x41aee4
jg 0x41ae5a
test eax, eax
jb 0x41aee4
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41aee4
jl 0x41ae74
cmp dword [ebp - 0x1008], eax
ja 0x41aee4
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ae92
test ebx, ebx
je 0x41aecb
cmp ecx, edi
jae 0x41aecb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41aeac
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41aeb8
cmp byte [ecx + 1], 0xa
jne 0x41aeb8
inc ecx
jmp 0x41aeb8
movzx eax, al
movsx eax, byte [eax + 0x459a40]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ae92
cmp edx, ebx
jne 0x41ae92
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41aee9
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409bf0
leave
ret
Function at 0x423096
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45b7b8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4230d6
cmp byte [ebx], 0xa
jne 0x4230d6
or byte [eax + edi + 0x28], 4
jmp 0x4230db
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4231d9
mov al, byte [edx]
cmp al, 0x1a
je 0x4231bb
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x42310a
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x42312f
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x423139
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4230ec
jmp 0x4231d9
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4231b6
cmp dword [ebp - 0xc], 0
je 0x4231b6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x45b7b8]
test byte [eax + edi + 0x28], 0x48
je 0x423190
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42317b
mov byte [esi], dl
jmp 0x42318c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45b7b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4231d9
cmp byte [ebp - 1], 0xa
jne 0x42319f
cmp esi, ebx
jne 0x42319f
mov byte [esi], 0xa
jmp 0x4231d8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b191
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4231d9
mov byte [esi], 0xd
jmp 0x4231d8
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x45b7b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4231d5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4231d9
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4231e2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x45b7b8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423225
cmp word [esi], dx
jne 0x423225
or byte [edi + eax + 0x28], 4
jmp 0x42322a
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42337d
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42335d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42326c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4232a2
cmp eax, edx
jae 0x4232ae
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x423244
jmp 0x42337d
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423359
cmp dword [ebp - 0x14], 0
je 0x423359
mov eax, dword [ebx*4 + 0x45b7b8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x423331
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4232fa
mov word [esi], cx
jmp 0x42332d
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x45b7b8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x45b7b8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x45b7b8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42337d
pop ebx
cmp word [ebp - 4], bx
jne 0x423342
cmp esi, dword [ebp + 0xc]
jne 0x423342
mov word [esi], bx
jmp 0x42337a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b191
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42337d
push 0xd
jmp 0x423376
mov ecx, dword [ebx*4 + 0x45b7b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423374
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42337d
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425d90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425dbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425dbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4239a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.TGOqOPny
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x4239c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4239c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4239b8
mov eax, 1
add ebx, ebx
jne 0x4239db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4239d0
jne 0x4239ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4239d0
xor ecx, ecx
sub eax, 3
jb 0x423a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423a72
mov ebp, eax
add ebx, ebx
jne 0x423a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423a3c
inc ecx
add ebx, ebx
jne 0x423a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423a1d
jne 0x423a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423a4d
jmp 0x4239be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423a5c
add edi, ecx
jmp 0x4239be
pop esi
mov edi, esi
mov ecx, 0x138
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423a7a
cmp byte [edi], 6
jne 0x423a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423a7f
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23030]
or eax, eax
je 0x423ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x423ac9
call dword [esi + 0x2302c]
mov ebp, dword [esi + 0x23034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x423b22
sub esp, 0xffffff80
jmp 0x4038fc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4012f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x5c
mov dword [ebp - 0x2c], eax
test byte [section..data], 8
jne 0x4013d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x30], ecx
call ecx
xor edx, edx
sub esp, 0x18
test eax, eax
jne 0x4013bf
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
add edx, 4
mov dword [ebp - 0x38], ecx
mov dword [esp + 8], edx
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub esp, 0x18
test eax, eax
jne 0x401400
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
xor ebx, ebx
and eax, 0xfffffffe
mov word [edx + eax - 2], cx
mov word [edx + eax - 4], bx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x404017
mov dword [esp + 8], str.GetRegValue
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012a0
jmp 0x40130b
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor edx, edx
sub esp, 0xc
jmp 0x4013bf
Function at 0x402b40
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402bb0
mov ebx, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov esi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00401430
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x25a362a3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x30b21eea
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219