joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0xc0
push esi
lea eax, [esp + 0xa0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov dword [esp + 8], 0x9c
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
mov edi, 2
sub eax, edi
jne 0x4012ba
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x4010db
call fcn.00401000
test eax, eax
jne 0x4010b7
pop edi
mov eax, 0xe
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x4010db
call fcn.00401000
test eax, eax
je 0x4010d7
pop edi
mov eax, 0xd
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
mov eax, dword [esp + 0x10]
mov esi, 3
cmp eax, esi
jbe 0x401143
call fcn.00401000
test eax, eax
jne 0x401108
pop edi
mov eax, 0xc
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], esi
jbe 0x401143
call fcn.00401000
test eax, eax
je 0x401132
pop edi
mov eax, 0xb
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], esi
jne 0x401193
call fcn.00401000
test eax, eax
jne 0x40115c
pop edi
mov eax, 0xa
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], esi
jne 0x401193
call fcn.00401000
test eax, eax
je 0x401186
pop edi
mov eax, 9
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], edi
jne 0x4011e7
call fcn.00401000
test eax, eax
jne 0x4011b0
pop edi
mov eax, 8
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], edi
jne 0x4011e7
call fcn.00401000
test eax, eax
je 0x4011da
pop edi
mov eax, 7
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], 1
jne 0x401235
call fcn.00401000
test eax, eax
jne 0x401205
pop edi
mov eax, 6
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
cmp dword [esp + 0x10], 1
jne 0x401235
call fcn.00401000
test eax, eax
je 0x40122c
pop edi
mov eax, 5
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4012ba
call fcn.00401000
test eax, eax
jne 0x401254
pop edi
mov eax, 4
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x40127d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4012ba
call fcn.00401000
test eax, eax
je 0x401279
mov eax, esi
pop edi
pop esi
add esp, 0xc0
ret
mov eax, dword [esp + 0xc]
cmp eax, 5
jne 0x401298
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40129a
pop edi
mov eax, 0xf
pop esi
add esp, 0xc0
ret
ja 0x4012ba
call fcn.00401000
test eax, eax
jne 0x4012ae
mov eax, edi
pop edi
pop esi
add esp, 0xc0
ret
cmp dword [esp + 0xc], 5
ja 0x4012ba
call fcn.00401000
pop edi
mov eax, 1
pop esi
add esp, 0xc0
ret
Function at 0x1002f9b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x3e17
push 0x2ed0
lea eax, [ebp + 8]
push eax
push 1
call fcn.1002f77d
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002f9ea
xor eax, eax
jmp 0x1002fb1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002fa08
xor eax, eax
jmp 0x1002fb1e
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x5c84
push 1
push 0xc19
call fcn.1002f545
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002fa30
xor eax, eax
jmp 0x1002fb1e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6ffa
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002f7db
add esp, 0x1c
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x22d1
call fcn.1002f85f
add esp, 0x14
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002f8f2
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002fa9c
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.1002f94b
add esp, 0xc
push dword [ebp - 4]
call fcn.1002f42b
pop ecx
test eax, eax
jne 0x1002faad
xor eax, eax
jmp 0x1002fb1e
push dword [ebp - 4]
push 0x3a58
push 1
push 0x5672
call fcn.100295eb
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002fb06
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002fae3
xor eax, eax
jmp 0x1002fb1e
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002fafc
xor eax, eax
jmp 0x1002fb1e
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002fb17
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002fb1b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1007a940
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008338c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006b85a
mov dword [ebp - 0x14], eax
cmp dword [0x10670854], esi
jne 0x1007aa33
push 0x800
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007a9c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007ab13
push esi
push esi
push 0x10007d2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007ab13
push 0x10007d44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007ab13
push eax
call ebx
push 0x10007d50
push edi
mov dword [0x10670854], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d60
push edi
mov dword [0x10670858], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d74
push edi
mov dword [0x1067085c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670864], eax
test eax, eax
je 0x1007aa30
push 0x10007d90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10670860], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007aa58
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007aa4b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007aa6d
push 4
pop eax
jmp 0x1007ab15
cmp dword [ebp - 0x14], esi
je 0x1007aa6d
push dword [0x10670854]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007aa52
mov eax, dword [0x10670860]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007aacb
cmp dword [0x10670864], edi
je 0x1007aacb
push eax
call ebx
push dword [0x10670864]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007aacb
test eax, eax
je 0x1007aacb
call ecx
test eax, eax
je 0x1007aac0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007aac0
test byte [ebp - 8], 1
jne 0x1007aacb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007aafb
mov eax, dword [0x10670858]
cmp eax, edi
je 0x1007aaf8
push eax
call ebx
test eax, eax
je 0x1007aaf8
call eax
mov esi, eax
test esi, esi
je 0x1007aaf8
mov eax, dword [0x1067085c]
cmp eax, edi
je 0x1007aaf8
push eax
call ebx
test eax, eax
je 0x1007aaf8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10670854]
call ebx
test eax, eax
je 0x1007ab13
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007ab15
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100664c5
mov esp, ebp
pop ebp
ret
Function at 0x41a863
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41b353
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.004191a8
xor ebx, ebx
push 0x134
mov dword [esp + 0x18], ebx
mov dword [esi], 0x41ccb0
mov byte [esi + 0x1c], 1
mov dword [esi + 0x28], 8
call fcn.004219d4
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x41a8af
push 0x64
push ebx
push 8
mov ecx, eax
call fcn.00415d78
jmp 0x41a8b1
xor eax, eax
push 1
push ebx
push ebx
push esi
push 0x408a80
push ebx
push ebx
mov byte [esp + 0x30], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x24], bl
call fcn.004142f8
push 1
push ebx
push ebx
push esi
push 0x4063a0
push ebx
push ebx
mov dword [esi + 0x2c], eax
call fcn.004142f8
mov ecx, dword [esp + 0x44]
add esp, 0x38
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x41b148
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x42636c
mov eax, edx
mov esi, 8
test al, 1
je 0x41b164
shr eax, 1
xor eax, 0xedb88320
jmp 0x41b166
shr eax, 1
dec esi
jne 0x41b157
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x42676c
jl 0x41b150
pop esi
ret

Function at 0x41caf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 1
call fcn.0041b468
add esp, 8
nop
xor ecx, ecx
test eax, eax
jle 0x41cb4c
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x5f
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x46
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x41cb1b
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4ec88e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
and dword [esi], 0
mov eax, dword [0x6c329260]
test eax, eax
je 0x4ec8ce
cmp dword [ebp + 8], 0
je 0x4fc7bd
push 4
lea eax, [ebp + 8]
push eax
push 5
push 0xfffffffffffffffe
call dword [0x6c2f113c]
test eax, eax
jl 0x4ec8c7
mov dword [esi], 1
push eax
call dword [0x6c2f10a8]
pop esi
pop ebp
ret 8
sub byte [0xabeedad7], ch
stosd dword es:[edi], eax
or dword [eax + ebx*4], ebp
dec edi
dec edi
xor byte [edx - 0x23], 0xc1
imul eax, dword [edx + ebp*4], 0x5c155cdc
xor byte [ebp + 0x7b], 0x1d
inc ecx
push edx
mov bh, 0xf5
sub bh, dh
je 0x4fc7c2
mov ch, 0x11
pop es

Function at 0x4ec94e
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0xfc0
cmp dword [0x6c329f5c], edx
jne 0x4ec967
mov eax, dword [0x6c329f58]
mov dword [ecx + 0x5c], eax
cmp dword [ebp + 8], edx
jne 0x4f060f
cmp dword [0x6c329248], edx
je 0x4ec983
and eax, 0x7ffffff7
mov dword [ecx + 0x5c], eax
mov eax, dword [0x6c329254]
not eax
and dword [ecx + 0x5c], eax
mov eax, 0x40010555
test dword [ebp + 0xc], eax
jne 0x4fcb57
and dword [ecx + 0x5c], 0x80020aaa
mov eax, dword [ecx + 0x5c]
neg eax
sbb eax, eax
and eax, 0x7ff6fccf
add eax, 0x80090331
pop ebp
ret 8
out 0x75, eax
test eax, 0x454bbc58
mov esp, 0x778b152e
test eax, 0x8a974248
and eax, 0xbc58a977

Function at 0x4ecb39
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test bl, 2
jne 0x4fcaa3
test bl, 4
jne 0x4fcaac
test bl, 8
jne 0x4f05fd
test bl, 0x10
jne 0x4f0606
test bl, 0x20
jne 0x4fcab5
test bl, 0x40
jne 0x4fcabe
test bl, bl
js 0x4fcac7
test ebx, 0x40000
jne 0x4fcad0
jmp 0x4fcad7
jns 0x4f0652
popal
or byte [ebx], bh
add dword [ebx + 0x98fb1aa], eax
push esp
mov eax, 0xe6e5040f
out dx, al
das
ror byte [eax - 0x4b], 0x3a
dec eax
mov ch, 0x3a
or eax, 0xffffffe4
xor bl, byte [edx + 7]
sbb ebx, dword [ebp - 0x31]
pop eax
or al, 0xc8
sbb esi, dword [ebp + 1]
add al, 0xf2
sub ebx, dword [edi + 4]
inc ecx
fnstsw word [ebx]
xchg ebx, eax
stosd dword es:[edi], eax
xchg dword [eax - 0x49], esi
cmp edx, dword [ebx - 0x488f7855]
pop esi
fsub qword [eax]
js 0x4fcae8
outsd dx, dword [esi]
pop ds
wait
add dl, dh
mov dh, 0xed
in eax, dx
pop ebp
or byte [ebx], bh
push esi
ror dword [ebx + 0x519e0888], 1
ret 0x37eb
Function at 0x4eee69
Capabilities:
Authenticate hmac
Get number of processors

Disassembly:
jb 0x4eee93
arpl word [edi + 0x6e], bp
jae 0x4eeee4
and byte [ebx + 0x67], bl
sub al, 0x68
pop ebp
outsd dx, dword [esi]
and byte [ebx + 0x29], ah
jnp 0x4eeee0
cmp eax, 0x61763b67
jb 0x4eeea4
cmp ax, 0x3b68
insb byte es:[edi], dx
je 0x4eeeac
imul edi, dword [0x6c6c756e], 0x3b
sub byte es:[ebx + 0x3d], ch
outsd dx, dword fs:[esi]
arpl word [ebp + 0x6d], si
outsb dx, byte gs:[esi]
je 0x4eeed0
arpl word [edx + 0x65], si
popal
popal
je 0x4eef0d
push edx
popal
outsb dx, byte [esi]
sub byte gs:[bx + di], ch
sub byte gs:[ecx], ch
arpl word cs:[edx + 0x65], si
popal
je 0x4eef1b
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x4eef20
js 0x4eef31
jne 0x4eef20
insb byte es:[edi], dx
inc esi
jb 0x4eef24
insd dword es:[di], dx
outsb dx, byte gs:[esi]
je 0x4eeef1
sub word [edx + ecx], bp
cmp ax, 0x6d4d
insd dword es:[edi], dx
sub byte [ebp + 0x6e], ah
sub byte [ecx + 0x29], ah
sub al, 0x6b
sub dword [0x7375702e], ebp
push 0x29296628
cmp esp, dword [esi + ebp + 0x73]
je 0x4eef14
sub dword [ebx], edi
jae 0x4eef4f
je 0x4eef14
arpl word [ebx + ebp*2], bp
sub dword [ebp + 0x61], edi
popal
ja 0x4eef55
imul esi, dword [eax + 0x50], 0x696d6f72
jae 0x4eef63
popal
insb byte es:[edi], dx
insb byte es:[edi], dx
sub byte [ebp + 0x29], ah
cmp esi, dword [esi + 0x6e]
sub byte [edi + 0x64], bl
jae 0x4eef3b
jne 0x4eef37
bound ebp, qword [edx + esi]
xor al, 0x29
sub dword [ebx], edi
ja 0x4eef86
sub byte [edi + 0x64], bl
jae 0x4eef4b
jne 0x4eef47
bound ebp, qword [ecx + esi]
sub al, 0x31
xor ebp, dword [ecx]
sub dword [ebx], edi
js 0x4eef96
sub byte [edi + 0x64], bl
jae 0x4eef5b
jne 0x4eef57
bound ebp, qword [ecx + esi]
xor eax, 0x7a3b2929
xor dword [0x7a3b2929], esi
outsb dx, byte [esi]
sub byte [edx + 0x29], ah
cmp ebp, dword [eax]
cmp eax, 0x75636f64
jne 0x4eefb1
jno 0x4eefbf
jb 0x4eefc6
insb byte es:[edi], dx
imul esp, dword [edx + 0x75], 0x22286574
jae 0x4eefff
Function at 0x502d3c
Capabilities:
Encode data using xor

Disassembly:
in eax, 0x32
je 0x502dbc
invalid
xor eax, 0x9464225b
les esi, [edi]
pop edx
or dh, byte [0x3c941cf7]
adc eax, 0xb64ba226
mov edi, 0x229dbb28
popal
popal
cmp dh, cl
out dx, eax
rcl dword [esi]
mov eax, 0xceb9cff3
inc edi
bound esp, qword [edi - 0x44]
wait
cmpsb byte [esi], byte es:[edi]
mov edi, 0x47cbcbdd
out 0xfe, al
fdivr qword [esi + 0x776eb83]
mov edx, 0xddc228ba
loop 0x502da3
fiadd word [ebx - 0x58b6ce1c]
sub ch, dh
daa
xchg esi, eax
mov esi, 0x8f56b4e7
push ds
xor al, 0x3e
jb 0x502e55
invalid
pop edx
insb byte es:[edi], dx
mov eax, 0x49a0e748
sal dword [edx - 0x4b17706d], 0x86
test byte [edx + 0x72], dh
pop es
cmpsd dword [esi], dword es:[edi]
out dx, al
cmp dword [edi + 0x1a796be3], esp
xor eax, 0xf487a66f
dec edx
fnstsw word [edx]
xor esi, esi
dec ebx
invalid
Function at 0x401198
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 4
push 0x40f244
call fcn.00403434
pop ecx
pop ecx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401282
push ebx
push esi
push edi
mov ebx, 0x40f967
push eax
push ebx
call fcn.00403464
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
lea eax, [ebp - 0x110]
push 0x104
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401276
lea eax, [ebp - 0x110]
push eax
call fcn.0040c438
xor edi, edi
pop ecx
cmp dword [ebp - 0xc], edi
jle 0x40126e
push edi
push ebx
call fcn.00403434
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00403b7d
add esp, 0x10
test eax, eax
je 0x401268
push str.9OGq_
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401268
push 2
push str._UQMywU9UsMYU_AYUyy
call fcn.00403434
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401261
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x40120f
inc dword [ebp - 8]
jmp 0x4011df
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401284
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
lea eax, [ebp + 0xc]
push esi
and dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, 0x400
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4012b8
xor eax, eax
jmp 0x4013a4
push ebx
push edi
mov edi, 0x40f967
push 0
push edi
call fcn.00403464
pop ecx
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xc], esi
push eax
mov dword [ebp - 8], esi
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x401397
cmp dword [ebp - 0x10], 1
je 0x40130f
and byte [ebp - 0x814], al
lea eax, [ebp - 0x414]
push eax
call fcn.0040c438
lea eax, [ebp - 0x814]
push eax
call fcn.0040c438
cmp dword [ebp + 8], 0
pop ecx
pop ecx
jle 0x40138f
push ebx
push edi
call fcn.00403434
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00403b7d
add esp, 0x10
test eax, eax
jne 0x401379
push dword [ebp - 0x14]
lea eax, [ebp - 0x814]
push eax
call fcn.00403b7d
pop ecx
test eax, eax
pop ecx
jne 0x401379
lea eax, [ebp - 0x414]
push str.____
push eax
call fcn.004072d0
pop ecx
test eax, eax
pop ecx
jne 0x401389
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x40132f
inc dword [ebp - 4]
jmp 0x4012cc
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop ebx
pop esi
leave
ret 8
Function at 0x4048ef
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
and dword [ebp - 4], 0
cmp dword [0x491e98], 0
jne 0x40492a
push 4
push 0x40f244
call fcn.00403434
lea ecx, [ebp - 4]
push ecx
push 0x404821
push eax
push closesocket
call fcn.00404586
add esp, 0x18
jmp 0x404966
lea eax, [ebp - 0x418]
push 2
push eax
call fcn.00403bd8
lea eax, [ebp - 0x418]
push eax
push 0x491a88
call fcn.004073c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x418]
push 0x40478d
push eax
push closesocket
call fcn.00404604
add esp, 0x20
mov eax, dword [ebp - 4]
test eax, eax
mov dword [0x491e9c], eax
jne 0x404a47
push esi
lea eax, [ebp - 0x51c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
and byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push str.1MCI
push eax
call fcn.004073c0
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push 4
push 4
push 2
push eax
call fcn.004074b0
pop ecx
lea eax, [ebp + eax - 0x18]
push eax
call fcn.00403624
lea eax, [ebp - 0x17]
push eax
call fcn.0040c61c
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004073c0
lea eax, [ebp - 0x418]
push 0x40e044
push eax
call fcn.004073d0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004073d0
lea eax, [ebp - 0x418]
push 0x40f1dc
push eax
call fcn.004073d0
lea eax, [ebp - 0x418]
push eax
call fcn.00403d58
add esp, 0x38
test eax, eax
je 0x404a24
inc esi
cmp esi, 0xa
jl 0x40498b
lea eax, [ebp - 0x18]
push eax
push 0x491984
call fcn.004073d0
lea eax, [ebp - 0x418]
push eax
push 0x491b8c
call fcn.004073c0
add esp, 0x10
pop esi
push 1
pop eax
leave
ret

Function at 0x404b9c
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x44
jb 0x404bd7
mov ecx, dword [esp + 8]
cmp byte [ecx], 0x4d
jne 0x404bd7
cmp byte [ecx + 1], 0x5a
jne 0x404bd7
movzx eax, word [ecx + 0x3c]
add eax, ecx
add esi, 0xfffffffc
mov edx, eax
sub edx, ecx
cmp edx, esi
ja 0x404bd7
mov eax, dword [eax]
pop esi
sub eax, 0x4550
neg eax
sbb eax, eax
not eax
and eax, edx
ret
xor eax, eax
pop esi
ret
Function at 0x4053e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 1
pop ebx
push ebx
call fcn.004046ab
mov esi, 0x104
xor edi, edi
push esi
push edi
push 0x491d94
call fcn.00407360
push esi
push edi
push 0x491c90
call fcn.00407360
push esi
push edi
push 0x491b8c
call fcn.00407360
push esi
push edi
push 0x491a88
call fcn.00407360
push esi
push edi
push 0x491984
call fcn.00407360
add esp, 0x40
push 0x40e0d0
push 0x1ebc
push 0x40e0d4
call fcn.00403529
push 0x491ea0
call fcn.00402642
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
mov dword [0x491ea8], edi
mov dword [0x491e98], eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
jne 0x4054a8
cmp dword [ebp - 0x8c], ebx
jne 0x4054a8
mov dword [0x491ea8], ebx
call fcn.004048ef
mov esi, 0x7d000
push esi
call fcn.00407bff
cmp eax, edi
pop ecx
mov dword [0x491980], eax
jne 0x4054c6
xor eax, eax
jmp 0x4054ea
push esi
push edi
push eax
call fcn.00407360
call fcn.004055a8
push ebx
push 0x40fde0
call fcn.00403434
push eax
push edi
call fcn.0040530f
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4055a8
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
push str.9OGq_
call fcn.00403434
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop ecx
pop ecx
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
mov edi, str._UQMywU9UsMYU_AYUyy
je 0x40560d
push 1
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
push 4
push edi
mov dword [0x491eb0], eax
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
push 5
push edi
mov dword [0x491eac], eax
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x491eb4], eax
push 3
push str.9OGq_
call fcn.00403434
pop ecx
pop ecx
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x405637
push 3
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebp
call esi
mov dword [0x491eb8], eax
mov edi, str.qMCMCUw
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x405658
push 1
push edi
call fcn.00403434
pop ecx
pop ecx
push eax
push ebx
call esi
mov dword [0x491ebc], eax
pop edi
pop esi
pop ebp
pop ebx
ret