joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9e10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x64]
push edx
push eax
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.004cc020
add esp, 0xc
test eax, eax
jne 0x4c9e76
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c9e89
push esi
lea esi, [ebp - 0x64]
call fcn.004cd5c0
add esp, 4
push ebx
lea ecx, [ebp - 0x64]
call fcn.004cd670
add esp, 4
test edi, edi
je 0x4c9ea6
mov ecx, dword [ebp - 0x6c]
xor eax, eax
cmp ecx, dword [ebp - 0x68]
sete al
mov dword [edi], eax
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004fe191
mov esp, ebp
pop ebp
ret

Function at 0x4c9ef0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
push edi
lea eax, [ebp - 0x60]
mov edi, ecx
push eax
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.004cc220
add esp, 4
test eax, eax
jne 0x4c9f46
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x60]
call fcn.004cd670
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
call fcn.004fe191
mov esp, ebp
pop ebp
ret

Function at 0x4c9f70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
push edi
lea ecx, [ebp - 0x74]
push ecx
push eax
mov dword [ebp - 0x74], 0x6a09e667
mov dword [ebp - 0x70], 0xbb67ae85
mov dword [ebp - 0x6c], 0x3c6ef372
mov dword [ebp - 0x68], 0xa54ff53a
mov dword [ebp - 0x64], 0x510e527f
mov dword [ebp - 0x60], 0x9b05688c
mov dword [ebp - 0x5c], 0x1f83d9ab
mov dword [ebp - 0x58], 0x5be0cd19
call fcn.004cc310
add esp, 8
test eax, eax
jne 0x4c9fe4
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edi, [ebp - 0x74]
call fcn.004cd3c0
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.004fe191
mov esp, ebp
pop ebp
ret
Function at 0x4cc9e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 8], edi
je 0x4cca18
cmp dword [ebp + 0xc], edi
je 0x4cca18
push 0x200
call fcn.004fe92b
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x4cca22
push 8
call dword [0x52b1ac]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [0x52b010]
test eax, eax
jne 0x4ccb6a
mov edx, dword [ebp - 8]
push eax
push eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edx
mov dword [ebp - 4], 0x100
call dword [0x52b014]
test eax, eax
jne 0x4ccb08
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4cca73
mov eax, 0x80000002
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
push 0
push esi
push eax
call dword [0x52b010]
test eax, eax
jne 0x4ccae0
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.ServiceName
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0x200
call dword [0x52b058]
test eax, eax
jne 0x4ccad6
mov eax, esi
mov dword [esi], 0x5c2e5c5c
call fcn.004cc940
cmp edx, ebx
jb 0x4ccad6
ja 0x4ccad1
cmp eax, dword [ebp - 0x20]
jbe 0x4ccad6
mov dword [ebp - 0x20], eax
mov ebx, edx
mov eax, dword [ebp - 0x10]
push eax
call dword [0x52b018]
mov edx, dword [ebp - 8]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push esi
inc edi
push edi
push edx
mov dword [ebp - 4], 0x100
call dword [0x52b014]
test eax, eax
je 0x4cca67
mov eax, dword [ebp - 8]
push eax
call dword [0x52b018]
test ebx, ebx
jne 0x4ccb1b
cmp dword [ebp - 0x20], ebx
jbe 0x4ccb6a
mov ecx, dword [ebp - 0x20]
push ebx
push ecx
push str._012I64X
push 0x200
push esi
call fcn.004ca850
add esp, 0x14
test eax, eax
jne 0x4ccb51
push esi
mov dword [ebp - 0xc], 0xffffffff
call fcn.004fe8f1
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
push str.MAC:
call fcn.004cc5b0
add esp, 0x10
mov dword [ebp - 0xc], eax
push esi
call fcn.004fe8f1
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cffd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4d0021
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x1c
push 1
push esi
call ecx
mov dword [esi + 0x190], eax
mov dword [eax], 0x4d3f00
mov dword [eax + 4], 0x4d4060
mov byte [eax + 8], 0
add esp, 0xc
mov eax, esi
call fcn.004d3d50
cmp byte [esi + 0x40], 0
je 0x4d001a
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4d009b
mov edx, dword [esi + 0x1a0]
cmp byte [edx + 0x10], 0
je 0x4d008b
mov eax, dword [esi + 8]
test eax, eax
je 0x4d0046
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov ecx, dword [esi + 0x1a0]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
test eax, eax
je 0x4d0087
cmp eax, 2
je 0x4d008b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d0037
cmp eax, 3
je 0x4d006e
cmp eax, 1
jne 0x4d0037
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x4d0037
mov ecx, dword [esi + 0x120]
add dword [eax + 8], ecx
jmp 0x4d0037
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.004d00d0
pop esi
ret
cmp eax, 0xcc
je 0x4d00bd
mov eax, dword [esi]
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
call fcn.004d00d0
pop esi
ret
Function at 0x4d61d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 1
push esi
mov esi, dword [ebx + 0x1b8]
push edi
mov dword [ebp - 0x14], esi
jne 0x4d61f8
mov dword [ebp - 4], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x4d6203
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push ebx
call eax
xor edi, edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebx + 0x64], edi
jle 0x4d630f
jmp 0x4d623e
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
je 0x4d625e
mov edx, dword [esi + 0x18]
add dword [edx + edi*4], 0xff
lea eax, [edx + edi*4]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
lea eax, [ecx + 0xfe]
lea esi, [ecx + ecx - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov esi, eax
lea ebx, [ebx]
cmp ecx, esi
jle 0x4d62bc
mov eax, dword [ebp - 0xc]
mov edx, ebx
imul edx, edx, 0x1fe
lea edi, [edx + eax + 0xfe]
jmp 0x4d62a0
mov esi, dword [ebp - 0xc]
add edi, 0x1fe
mov eax, edi
cdq
lea esi, [esi + esi - 2]
idiv esi
inc ebx
mov esi, eax
cmp ecx, esi
jg 0x4d62a0
mov edi, dword [ebp - 0x18]
mov al, byte [ebp - 0x10]
imul bl
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xff
jle 0x4d6280
cmp dword [ebp - 4], 0
je 0x4d62fc
mov eax, 1
lea ecx, [edi - 1]
jmp 0x4d62e0
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x4d62e0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0x64]
jl 0x4d6235
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eae60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x4eb020
mov edx, dword [ecx]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x4eaec1
movzx eax, byte [ecx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x4eaed3
movzx edi, byte [esi + 3]
movzx ebx, byte [ecx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [ecx + 8], 4
je 0x4eaee8
movzx esi, byte [esi + 4]
movzx ebx, byte [ecx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x4eaf31.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x4eaf03
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x4eaf0a
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x4eaef2
cmp word [ebp - 0x1c], 0
je case.0x4eaf31.3
movzx esi, byte [ecx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x4eaf31.3
movzx esi, byte [esi + 0x4eb044]
jmp dword [esi*4 + 0x4eb030]
mov ecx, dword [ecx + 4]
test ecx, ecx
je case.0x4eaf31.3
mov dl, byte [eax]
shr dl, 1
and dl, 0x55
mov byte [eax], dl
inc eax
dec ecx
jne 0x4eaf43
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
mov edi, dword [ecx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x4eaf31.3
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x4eaf86
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x4eaf31.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x4eafb4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe191
mov esp, ebp
pop ebp
ret
imul edx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], edx
test edx, edx
je case.0x4eaf31.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x4eafe7
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe191
mov esp, ebp
pop ebp
ret
Function at 0x4f46a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [edx + 0x38]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ebx
push esi
mov eax, 0x1505
cmp edi, 0x102
jae 0x4f4797
test edi, edi
je 0x4f4797
and dword [ebp + 8], 0
test edi, edi
je 0x4f46e4
mov esi, dword [ebp + 8]
imul eax, eax, 0x21
movzx esi, byte [esi + ecx]
add eax, esi
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jb 0x4f46d0
and eax, 0xff
lea ecx, [edx + eax*4 + 0x60]
mov esi, dword [ecx]
mov dword [ecx], ebx
and dword [edx + 0x474], 0
test esi, esi
je 0x4f4797
mov eax, ebx
sub eax, esi
cmp eax, edi
jbe 0x4f4797
mov ecx, dword [edx + 0x2c]
sub ecx, 0x106
cmp eax, ecx
jae 0x4f4797
cmp edi, dword [edx + 0x478]
ja 0x4f4797
and dword [ebp + 8], 0
test edi, edi
je 0x4f4769
mov eax, dword [edx + 0x38]
mov ecx, esi
add eax, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov bl, byte [eax]
mov eax, dword [edx + 0x38]
cmp bl, byte [eax + ecx]
jne 0x4f4797
mov ebx, dword [edx + 0x5c]
mov eax, ecx
shr eax, 3
mov al, byte [eax + ebx]
and cl, 7
shr al, cl
test al, 1
je 0x4f4797
inc dword [ebp + 8]
mov ecx, dword [ebp - 8]
inc dword [ebp - 4]
inc ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], edi
jb 0x4f4736
mov ecx, dword [edx + 0x38]
lea eax, [esi + edi]
cmp byte [eax + ecx - 1], 0x3b
je 0x4f478d
mov ebx, dword [edx + 0x5c]
lea ecx, [esi + edi]
mov eax, ecx
shr eax, 3
mov al, byte [eax + ebx]
and cl, 7
shr al, cl
test al, 1
jne 0x4f4797
mov dword [edx + 0x474], esi
mov eax, edi
jmp 0x4f4799
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4fa530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x4fa543
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4fa5bd
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00504670
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4fa591
sub eax, edi
jmp 0x4fa593
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4fa582
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4fa5b0
sub eax, edi
jmp 0x4fa5b2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4fa5a1
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x4fa6ea
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x4fa5e3
mov ebx, ecx
test ebx, ebx
je 0x4fa637
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4fa604
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
call fcn.004fb070
jmp 0x4fa61c
cmp eax, 2
jne 0x4fa625
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x4fa616
xor eax, eax
jmp 0x4fa622
push ebx
call fcn.004fa0c0
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00504670
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x4fa65f
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x4fa673
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4fa540
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x4fa6ea
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x4fa6b9
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x4fa69a
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.00506540
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x4fa6ea
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x4fa6d3
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.00506540
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x70307e3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x7bd2c08
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40b200
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a85b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x40]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4af478
call fcn.00421c40
xor ebx, ebx
lea edi, [esi + 0x6c]
push ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004259a0
mov eax, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0x258
mov dword [esi + 0x14], 0xff
mov dword [esi + 0x18], 0xdc
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], 0x64
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x24], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov byte [esi + 8], bl
call fcn.004259f0
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x428870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0x1834
mov ebx, ecx
call fcn.0047e72d
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x4288b6
mov ecx, dword [ebx + 4]
push ecx
mov ecx, eax
call fcn.00428100
jmp 0x4288b8
xor eax, eax
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x20], edx
mov ecx, dword [ebx + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [ebx + 0x28]
mov dword [eax + 0x28], edx
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 0x2c], ecx
lea esi, [ebx + 0x30]
lea edi, [eax + 0x30]
mov ecx, 0x2f8
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xc10]
lea edi, [eax + 0xc10]
mov ecx, 0x2f8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x17f0]
mov dword [eax + 0x17f0], edx
mov cl, byte [ebx + 0x180c]
pop edi
mov byte [eax + 0x180c], cl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret