joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015e880
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1015e991
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
jl 0x1015e991
jmp 0x1015e96d
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x1015ea18
mov eax, dword [0x10170988]
mov dword [ebp - 0x2c], eax
mov eax, 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xef6
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1015ea18
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1015e9ce
jmp 0x1015ea18
mov dword [0x10170984], 0x11f2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x2d], dl
mov eax, 0x106d
xor ecx, ecx
mov dl, byte [ebp - 0x2d]
test dl, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x1015e9ac
jmp 0x1015ea18
mov eax, dword [ebp - 0x1c]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
je 0x1015e936
jmp 0x1015ea18
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1015e96d
jmp 0x1015e8b0
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x1015e911
jmp 0x1015ea18
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x1015ea18
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x2e], dl
mov eax, 0x106d
xor ecx, ecx
mov dl, byte [ebp - 0x2e]
test dl, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x1015e8d0
jmp 0x1015ea18
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x10170988], ecx
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x1015ea30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov edx, dword [0x10170984]
mov esi, edx
add esi, 0xffffff71
mov dword [0x10170984], esi
add edx, 0xfffff428
mov dword [0x10170988], edx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.1015e300
mov ecx, 0xa69
lea edx, [0x1015ee20]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [0x10170988], 0x12c8
mov dword [esp + 0x60], 0x13d200
mov esi, dword [0x10170970]
mov dword [esp + 0x90], esi
mov esi, dword [0x10170974]
mov dword [esp + 0x70], esi
mov esi, dword [0x10170978]
mov dword [esp + 0x74], esi
mov esi, dword [0x1017097c]
mov dword [esp + 0x88], esi
mov dword [0x10170984], 0x1bd1
mov esi, dword [0x10170980]
mov dword [esp + 0x78], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
jmp 0x1015eb03
mov eax, 0x890
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jne 0x1015eae6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jne 0x1015eae6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x10170988], eax
mov dword [esp + 0x84], ecx
mov dword [0x10170984], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x8c], eax
call fcn.1015e880
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1015ebb5
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1015f360
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10170988]
add ecx, 0xffffd92f
mov dword [0x10170984], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1015ec60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1017098c], 0
mov dword [0x10170990], 0
mov dword [0x1017099c], 0
mov edi, dword [0x10170988]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x10170984], ebx
add edi, 0xffffd49d
mov dword [0x10170988], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jne 0x1015ecd8
mov dword [0x10170984], 0x584
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1015ece9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1017098c], edx
mov dword [0x10170984], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10170990], edx
mov dword [0x10170988], 0x7fe
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10170994], cl
mov dword [0x10170984], 0xfae
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10170988]
add edx, 0xffffe149
mov dword [0x10170984], edx
mov cl, byte [0x10170994]
mov edx, dword [0x10170990]
mov byte [edi + edx], cl
mov edx, dword [0x10170984]
add edx, 0xffffddc4
mov dword [0x10170984], edx
mov edx, dword [0x1017098c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10170990]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10170988]
mov ecx, edx
add ecx, 0xffffe149
and ebx, 0xff
mov dword [0x1017099c], ebx
mov dword [0x10170984], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
xor cl, byte [ebx + esi]
add edx, 0xffffa56d
mov dword [0x10170984], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x10170988], 0x87a
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x38], esi
je 0x1015ee18
mov eax, dword [0x10170990]
mov ecx, dword [0x1017098c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x1015ece9
jmp 0x1015ecc6
Function at 0x401b70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x401bab
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401b92
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401ba3
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x401bad
inc edi
add eax, 0x28
cmp edi, esi
jb 0x401b88
xor eax, eax
pop edi
pop esi
ret
Function at 0x401dc9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.00401b30
stosd dword es:[edi], eax
xchg esi, eax
add al, 0x84
lea eax, [ebp - 0x58]
push eax
call fcn.00401b40
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x401e1e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401b30
jno 0x401ec2
mov ch, 0x44
lea eax, [ebp - 0x40]
push eax
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00401b30
mov ecx, 0x8d5569e0
inc ebp
call 0x51287c26
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
inc ebp
loopne 0x401fcb
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
Function at 0x401e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.00401b30
stosd dword es:[edi], eax
xchg esi, eax
add al, 0x84
lea eax, [ebp - 0x58]
push eax
call fcn.00401b40
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x401e1e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401b30
jno 0x401ec2
mov ch, 0x44
lea eax, [ebp - 0x40]
push eax
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00401b30
mov ecx, 0x8d5569e0
inc ebp
call 0x51287c26
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
call fcn.00401af5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
inc ebp
loopne 0x401fcb
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401b40
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
Function at 0x4021b0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4021e4
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4021df
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
add byte [eax], dh
add byte [eax], al
jne 0x4021c9
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4021d1
cmp edx, ebx
jne 0x40231f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4021a0
add eax, dword [eax + 4]
jmp 0x40218d
mov dword [ebp + 0xc], ebx
jmp 0x4021ef
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x402207
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x402225
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x402283
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40226a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x402273
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40227d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40225f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4021e9
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4022d0
dec eax
je 0x4022c7
sub eax, 3
je 0x4022be
mov dword [ebp - 4], 0x40
jmp 0x4022ed
mov dword [ebp - 4], 4
jmp 0x4022d3
mov dword [ebp - 4], 0x20
jmp 0x4022d3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40231f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40229f
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00401b30
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100022de
pop dword [ebp - 0x30]
mov eax, 0x100022de
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xa9a8620d
add dword [ebp - 0x40], 0xa4a9e33e
mov dword [ebp - 0x3c], 0xba5ecd6b
sub dword [ebp - 0x3c], 0x882b8126
mov dword [ebp - 0x38], 0xdf4dfa8a
add dword [ebp - 0x38], 0x6cfe49a4
mov dword [ebp - 0x34], 0x941b0c43
sub dword [ebp - 0x34], 0x941b0c43
lea eax, [ebp - 0x40]
push eax
mov eax, 0x84905cda
sub eax, 0x74902cd6
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xa11a9578
add dword [ebp - 0x40], 0xd357d3de
mov dword [ebp - 0x3c], 0xc487355c
sub dword [ebp - 0x3c], 0x831ad3e7
mov dword [ebp - 0x38], 0x619a2f71
sub dword [ebp - 0x38], 0xfe2ac305
mov dword [ebp - 0x34], 0xc8c5e6ee
add dword [ebp - 0x34], 0x373a1912
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x86f84724
sub eax, 0x76f8171c
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x33386
push 0
call eax
mov ecx, 0x72ebf5e1
sub ecx, 0x72ebbaf2
xor ebx, ebx
add ebx, eax
mov esi, 0x10006200
add esi, dword [ebp - 0x30]
mov edi, 0xb837b05e
add edi, 0x54a3a246
xor dword [ebp - 0x20], 0x6384ed02
mov edx, dword [esi]
sub dword [ebp - 0xc], eax
xor edx, edi
xor dword [ebp - 8], 0x90babdac
mov dword [ebx], edx
xor dword [ebp - 0x20], 0xfc06931c
add ebx, 4
add esi, 0x395f8869
add esi, 0xc6a0779b
loop 0x100023f7
add eax, 0xde8f
mov ebx, eax
add eax, 0x39f7272e
add eax, 0xc608d8d7
mov ecx, 0x8f3e5844
add ecx, 0x80c1a7bc
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x43a530
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ccc2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c12f9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43a5b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf107
mov eax, dword [eax]
push 0x553d10
push eax
call fcn.004b0ce4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c1584
test bl, bl
je 0x43a5b2
push 0x553d10
lea ecx, [esp + 0xc]
call fcn.004c1914
push 0x553d1c
lea ecx, [esp + 0xc]
call fcn.004c1914
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43a5ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c1584
jmp 0x43a6b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43a672
lea edx, [esp + 0x7c]
push 0x553d18
push edx
call fcn.004b0ce4
add esp, 8
test eax, eax
je 0x43a672
lea eax, [esp + 0x7c]
push 0x553d14
push eax
call fcn.004b0ce4
add esp, 8
test eax, eax
je 0x43a672
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43a602
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c1584
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43aeb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43af12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc