joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10071cd0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
push esi
push 0
mov ebx, 0x1000
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10071e7b
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10071d00
sub ecx, edx
sar ecx, 1
push edi
lea eax, [ecx + 0x2c]
mov dword [ebp - 4], eax
add eax, eax
push eax
call fcn.10048e82
mov edi, eax
add esp, 4
test edi, edi
je 0x10071e67
push str.SYSTEMCurrentControlSetServicesEventlog_
push dword [ebp - 4]
push edi
call fcn.10048724
push esi
push dword [ebp - 4]
push edi
call fcn.100487fa
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov esi, eax
call fcn.10048dab
add esp, 4
test esi, esi
jne 0x10071e67
push 0x1000
call fcn.10048e82
mov esi, eax
add esp, 4
test esi, esi
je 0x10071e4a
mov edi, 1
nop dword [eax]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push 0
push 9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x10071dd4
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
test edi, edi
mov edx, esi
cmovne eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.10071e90
add esp, 0x14
test eax, eax
je 0x10071dfb
xor edi, edi
jmp 0x10071d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10071df6
push dword [ebp - 8]
push esi
call fcn.10049489
mov esi, eax
add esp, 8
test esi, esi
je 0x10071e4a
mov ebx, dword [ebp - 8]
jmp 0x10071d90
cmp eax, 0x26
jne 0x10071e24
push esi
mov edi, 1
call fcn.10048dab
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
push esi
call fcn.10048dab
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100726d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x8000
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7ffe
call fcn.10048e82
mov esi, eax
add esp, 4
test esi, esi
je 0x10072730
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 8]
call edi
test eax, eax
je 0x1007274b
cmp eax, 0xea
jne 0x10072739
mov eax, dword [ebp - 4]
add eax, 2
push eax
push esi
call fcn.10049489
mov esi, eax
add esp, 8
test esi, esi
jne 0x10072700
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048dab
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov ax, word [0x1008b28c]
shr ecx, 1
mov dword [ebp - 4], ecx
mov word [esi + ecx*2], ax
mov eax, dword [ebp - 4]
lea edi, [eax + eax]
lea eax, [edi + edi]
push eax
call fcn.10048e82
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10072730
push edi
push ebx
push esi
push 0
call dword [0x10097858]
test eax, eax
jne 0x100727c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100727ae
lea edi, [edi + edi*4]
add edi, edi
lea eax, [edi + edi]
push eax
push ebx
call fcn.10049489
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10072775
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048dab
push ebx
call fcn.10048dab
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048dab
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10072c80
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x61766441
push eax
xor bl, bl
mov dword [ebp - 0xc], 0x32336970
mov dword [ebp - 7], 0x6c6c64
mov byte [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10072e7a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x84]
push eax
push edi
mov word [ebp - 0x73], 0x7478
mov dword [ebp - 0x84], 0x70797243
mov word [ebp - 0x7f], 0x6341
mov word [ebp - 0x79], 0x4365
mov word [ebp - 0x76], 0x746e
mov word [ebp - 0x7c], 0x6975
mov word [ebp - 0x71], 0x41
mov byte [ebp - 0x80], 0x74
mov byte [ebp - 0x74], 0x65
mov byte [ebp - 0x77], 0x6f
mov byte [ebp - 0x7a], 0x72
mov byte [ebp - 0x7d], 0x71
call esi
mov dword [0x10097870], eax
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x26], 0x73614865
mov word [ebp - 0x2a], 0x6572
mov word [ebp - 0x22], 0x68
mov word [ebp - 0x2d], 0x7470
mov byte [ebp - 0x2b], 0x43
mov word [ebp - 0x30], 0x7243
mov word [ebp - 0x28], 0x7461
mov byte [ebp - 0x2e], 0x79
call esi
mov dword [0x10097878], eax
lea eax, [ebp - 0x6c]
push eax
push edi
mov word [ebp - 0x5a], 0x74
mov dword [ebp - 0x5f], 0x65746e6f
mov word [ebp - 0x6b], 0x7972
mov dword [ebp - 0x66], 0x61656c65
mov word [ebp - 0x68], 0x5274
mov byte [ebp - 0x6c], 0x43
mov word [ebp - 0x61], 0x4365
mov byte [ebp - 0x62], 0x73
mov byte [ebp - 0x69], 0x70
mov byte [ebp - 0x5b], 0x78
call esi
mov dword [0x10097874], eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x1b], 0x68736148
mov dword [ebp - 0x16], 0x617461
mov dword [ebp - 0x1f], 0x74707972
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x17], 0x44
call esi
mov dword [0x10097868], eax
lea eax, [ebp - 0x44]
push eax
push edi
mov word [ebp - 0x38], 0x6148
mov word [ebp - 0x35], 0x68
mov word [ebp - 0x40], 0x4474
mov word [ebp - 0x43], 0x7972
mov word [ebp - 0x3b], 0x6f72
mov byte [ebp - 0x44], 0x43
mov byte [ebp - 0x36], 0x73
mov word [ebp - 0x3e], 0x7365
mov byte [ebp - 0x39], 0x79
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x41], 0x70
call esi
mov dword [0x1009786c], eax
mov word [ebp - 0x53], 0x6547
mov word [ebp - 0x4b], 0x7261
mov dword [ebp - 0x50], 0x68736148
mov dword [ebp - 0x58], 0x70797243
mov word [ebp - 0x48], 0x6d
mov byte [ebp - 0x54], 0x74
mov byte [ebp - 0x51], 0x74
mov byte [ebp - 0x49], 0x61
lea eax, [ebp - 0x58]
mov byte [ebp - 0x4c], 0x50
push eax
push edi
call esi
cmp dword [0x10097870], 0
mov ecx, eax
mov dword [0x10097864], ecx
pop esi
je 0x10072e7a
cmp dword [0x10097878], 0
je 0x10072e7a
cmp dword [0x10097874], 0
je 0x10072e7a
cmp dword [0x10097868], 0
je 0x10072e7a
cmp dword [0x1009786c], 0
je 0x10072e7a
movzx eax, bl
test ecx, ecx
mov edx, 1
pop edi
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5f197aa2
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x51ca4350
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push eax
call fcn.0040101e
inc eax

Function at 0x40101e
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
inc eax
pop eax
sbb eax, ecx
add eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
call 0x401041
dec ebx
pop ebx
call 0x401048
dec ebx
pop ebx
sbb ebx, esp
xor ebx, esp
pop ebx
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edi
and edi, esi
call 0x401075
dec edi
pop edi
call 0x40107c
dec edi
pop edi
or edi, edi
pop edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
xor ebx, ebp
call 0x401095
dec ebx
pop ebx
add ebx, eax
sbb ebx, eax
xor ebx, esi
sbb ebx, esp
nop
pop ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
inc ecx
pop ecx
add ecx, edi
call 0x4010d1
inc ecx
pop ecx
and ecx, ebx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push ebp
and ebp, ecx
or ebp, edx
xor ebp, eax
xor ebp, ecx
or ebp, edi
jmp 0x4010fa
and ebp, esp
or ebp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401025
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
inc eax
pop eax
sbb eax, ecx
add eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
call 0x401041
dec ebx
pop ebx
call 0x401048
dec ebx
pop ebx
sbb ebx, esp
xor ebx, esp
pop ebx
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edi
and edi, esi
call 0x401075
dec edi
pop edi
call 0x40107c
dec edi
pop edi
or edi, edi
pop edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
xor ebx, ebp
call 0x401095
dec ebx
pop ebx
add ebx, eax
sbb ebx, eax
xor ebx, esi
sbb ebx, esp
nop
pop ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
inc ecx
pop ecx
add ecx, edi
call 0x4010d1
inc ecx
pop ecx
and ecx, ebx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push ebp
and ebp, ecx
or ebp, edx
xor ebp, eax
xor ebp, ecx
or ebp, edi
jmp 0x4010fa
and ebp, esp
or ebp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401032
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
inc eax
pop eax
sbb eax, ecx
add eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
call 0x401041
dec ebx
pop ebx
call 0x401048
dec ebx
pop ebx
sbb ebx, esp
xor ebx, esp
pop ebx
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edi
and edi, esi
call 0x401075
dec edi
pop edi
call 0x40107c
dec edi
pop edi
or edi, edi
pop edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
xor ebx, ebp
call 0x401095
dec ebx
pop ebx
add ebx, eax
sbb ebx, eax
xor ebx, esi
sbb ebx, esp
nop
pop ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
inc ecx
pop ecx
add ecx, edi
call 0x4010d1
inc ecx
pop ecx
and ecx, ebx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push ebp
and ebp, ecx
or ebp, edx
xor ebp, eax
xor ebp, ecx
or ebp, edi
jmp 0x4010fa
and ebp, esp
or ebp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401041
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
inc eax
pop eax
sbb eax, ecx
add eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
call 0x401041
dec ebx
pop ebx
call 0x401048
dec ebx
pop ebx
sbb ebx, esp
xor ebx, esp
pop ebx
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edi
and edi, esi
call 0x401075
dec edi
pop edi
call 0x40107c
dec edi
pop edi
or edi, edi
pop edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
xor ebx, ebp
call 0x401095
dec ebx
pop ebx
add ebx, eax
sbb ebx, eax
xor ebx, esi
sbb ebx, esp
nop
pop ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
inc ecx
pop ecx
add ecx, edi
call 0x4010d1
inc ecx
pop ecx
and ecx, ebx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push ebp
and ebp, ecx
or ebp, edx
xor ebp, eax
xor ebp, ecx
or ebp, edi
jmp 0x4010fa
and ebp, esp
or ebp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401048
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
inc eax
pop eax
sbb eax, ecx
add eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebx
call 0x401041
dec ebx
pop ebx
call 0x401048
dec ebx
pop ebx
sbb ebx, esp
xor ebx, esp
pop ebx
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push edi
and edi, esi
call 0x401075
dec edi
pop edi
call 0x40107c
dec edi
pop edi
or edi, edi
pop edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebx
xor ebx, ebp
call 0x401095
dec ebx
pop ebx
add ebx, eax
sbb ebx, eax
xor ebx, esi
sbb ebx, esp
nop
pop ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
inc ecx
pop ecx
add ecx, edi
call 0x4010d1
inc ecx
pop ecx
and ecx, ebx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push ebp
and ebp, ecx
or ebp, edx
xor ebp, eax
xor ebp, ecx
or ebp, edi
jmp 0x4010fa
and ebp, esp
or ebp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ecx + 4]
lea eax, [ecx + 0xc]
push esi
mov esi, dword [ecx + 8]
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edx, edx
je 0x401fb2
push ebx
push edi
lea edi, [edx - 1]
add edi, esi
jmp 0x401ee0
movzx ebx, byte [eax]
xor edx, edx
movzx esi, byte [0x404001]
mov eax, ecx
add esi, 2
div esi
test edx, edx
je 0x401f51
mov eax, dword [ebp - 4]
movzx esi, byte [eax + 2]
add esi, 4
je 0x401f30
xor edx, edx
mov eax, ecx
div esi
test edx, edx
je 0x401f30
mov eax, 0xcccccccd
mul ecx
mov eax, ecx
shr edx, 4
lea edx, [edx + edx*4]
shl edx, 2
sub eax, edx
mov edx, ecx
movzx eax, byte [eax + section..data]
sub edx, eax
add ebx, edx
jmp 0x401fa0
mov eax, 0xcccccccd
mul ecx
mov eax, ecx
shr edx, 4
lea edx, [edx + edx*4]
shl edx, 2
sub eax, edx
mov edx, dword [ebp - 4]
movzx eax, byte [eax + edx]
add eax, ecx
add ebx, eax
jmp 0x401fa0
movzx esi, byte [str.yrhd]
xor edx, edx
add esi, 4
mov eax, ecx
div esi
mov eax, 0xcccccccd
test edx, edx
je 0x401f86
mul ecx
mov eax, ecx
shr edx, 4
lea edx, [edx + edx*4]
shl edx, 2
sub eax, edx
mov edx, dword [ebp - 4]
movzx eax, byte [eax + edx]
sub eax, ecx
add ebx, eax
jmp 0x401fa0
mul ecx
mov eax, ecx
shr edx, 4
lea edx, [edx + edx*4]
shl edx, 2
sub eax, edx
movzx eax, byte [eax + section..data]
add eax, ecx
sub ebx, eax
xor byte [edi], bl
inc ecx
mov eax, dword [ebp - 4]
dec edi
cmp ecx, dword [ebp - 8]
jb 0x401ee0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push eax
call 0x402422
inc eax
pop eax
pop eax
call fcn.00402040
movzx eax, al
test eax, eax
jne 0x40243a
mov eax, 1
jmp 0x4024d3
call fcn.004021b0
movzx ecx, al
test ecx, ecx
jne 0x4024bf
push 1
push 0x403060
lea ecx, [ebp - 0x5c]
call fcn.00401c90
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
push 1
push 0x403080
lea ecx, [ebp - 0x3c]
call fcn.00401c90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push 0x10
mov ecx, dword [ebp - 0x18]
call fcn.00401000
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00401000
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401e30
mov eax, 2
jmp 0x4024d3
call fcn.00402280
call fcn.004020b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x402422
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push eax
call 0x402422
inc eax
pop eax
pop eax
call fcn.00402040
movzx eax, al
test eax, eax
jne 0x40243a
mov eax, 1
jmp 0x4024d3
call fcn.004021b0
movzx ecx, al
test ecx, ecx
jne 0x4024bf
push 1
push 0x403060
lea ecx, [ebp - 0x5c]
call fcn.00401c90
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
push 1
push 0x403080
lea ecx, [ebp - 0x3c]
call fcn.00401c90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push 0x10
mov ecx, dword [ebp - 0x18]
call fcn.00401000
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00401000
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401e30
mov eax, 2
jmp 0x4024d3
call fcn.00402280
call fcn.004020b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret