joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401937
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x2657
mov esi, 0x2ceb13
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401947
pop esi
ret

Function at 0x401aa3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401aea
push 7
push str..custom
push edi
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401af1
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ac7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00401e30
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401960
mov dword [ebp - 0x14], 0x40196b
call fcn.0040379c
add esp, 0x28
test eax, eax
je 0x401b51
push dword [ebp - 4]
call fcn.00401e47
pop ecx
jmp 0x401aea
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401aec

Function at 0x401d84
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x401dc3
push edi
mov edi, dword [esp + 0x14]
sub edi, 0xf75b20
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0xf75b20]
inc esi
mov byte [esi + 0xf75b1f], al
cmp esi, ebx
jb 0x401d9f
pop edi
pop esi
mov byte [ebx + 0xf75b20], 0
mov eax, 0xf75b20
pop ebx
ret

Function at 0x401dd2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x401e10
mov eax, dword [esp + 0x10]
sub eax, 0xf75b20
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0xf75b20]
inc esi
mov byte [esi + 0xf75b1f], bl
cmp esi, edi
jb 0x401dec
pop ebx
mov byte [edi + 0xf75b20], 0
mov byte [edi + 0xf75b21], 0
pop edi
mov eax, 0xf75b20
pop esi
ret
Function at 0x401eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401f05
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x401f28
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401f2d
inc edi
cmp edi, dword [ebp - 4]
jb 0x401f1f
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x402025
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x401f84
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x401f58
cmp cl, 0xff
jne 0x401faf
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x401fbd
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x401fc4
dec ecx
shl edx, cl
and edx, 7
je 0x401f49
movzx ecx, byte [edx + 0xca628c]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0xca6284], 0
mov cl, byte [ebx + 4]
je 0x401fac
test cl, cl
je 0x401fac
cmp cl, 0xff
jne 0x401f49
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401f1a
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x401ff8
movzx esi, byte [edx + 0xca628c]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x401fe3
cmp al, 0xff
jne 0x401ff5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x401f76
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401f1a
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x416080
Capabilities:
Encode data using xor

Disassembly:
inc ebp
or dword [esi + esi], esi
aad 4
bound ebx, qword [eax]
mov byte [0x86865136], al
push eax
push edx
adc al, 0xcd
add byte [esp + ecx*2 + 0x2b], ch
test bl, bl
adc al, 0xf
add ebp, dword [ebx + 0x35]
lea esp, [ebp - 0x75]
and eax, 0xdf78538
clc
xor dl, byte [ecx + 0x4a]
test byte [ecx - 0x78674954], al
adc dword [eax], 0x9e849840
adc dword [ebx + 0x1b], ecx
dec ebx
sbb ebp, dword [ecx]
inc esp
sub al, 0xa1
dec ebx
sbb ebp, dword [ecx]
inc esp
sub al, 0xa1
xor dword [esi], ebp
xchg edx, eax
sbb ebp, dword [esp + eax*4 + 0x21]
and dword [ecx - 0x7af7de32], edx
salc
xor al, 0x35
pop ss
mov ebp, 0x9622a669
fistp word [ecx + ecx - 0x4a]
sub bh, byte [esi + 0x26ea29d0]
jbe 0x416049
add dword [0xea18e9], esp
push eax
pop es
push ss
cmp al, 0x8b
xchg ebp, eax
salc
popfd
pop ebp
sal dword [edx + 0x10], 1
xchg ecx, eax
ljmp 0x7457
Function at 0x59040f6e
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x59040f9a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x59040fa5
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x59047054
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59047067
mov eax, 0x80004003
jmp 0x590470ee
push 5
push 0x6c
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59047093
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x5904709a
mov eax, 0x8000ffff
jmp 0x590470ee
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x590472a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x590472bc
mov eax, 0x80004003
jmp 0x59047343
push 5
push 0x6d
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x590472e8
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x590472ef
mov eax, 0x8000ffff
jmp 0x59047343
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8
Function at 0x590474b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x590474c9
mov eax, 0x80004003
jmp 0x59047550
push 5
push 0x6b
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x590474f5
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x590474fc
mov eax, 0x8000ffff
jmp 0x59047550
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x590476c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x590476d6
mov eax, 0x80004003
jmp 0x5904775d
push 5
push 0x6e
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59047702
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59047709
mov eax, 0x8000ffff
jmp 0x5904775d
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8
Function at 0x590478d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x590478e3
mov eax, 0x80004003
jmp 0x5904796a
push 5
push 0x6f
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x5904790f
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59047916
mov eax, 0x8000ffff
jmp 0x5904796a
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x59047add
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59047af0
mov eax, 0x80004003
jmp 0x59047b77
push 5
push 0x69
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59047b1c
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59047b23
mov eax, 0x8000ffff
jmp 0x59047b77
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8
Function at 0x59047cea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59047cfd
mov eax, 0x80004003
jmp 0x59047d84
push 5
push 0x70
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59047d29
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59047d30
mov eax, 0x8000ffff
jmp 0x59047d84
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x59047ef7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59047f0a
mov eax, 0x80004003
jmp 0x59047f91
push 5
push 0x71
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59047f36
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59047f3d
mov eax, 0x8000ffff
jmp 0x59047f91
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8
Function at 0x59048104
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59048117
mov eax, 0x80004003
jmp 0x5904819e
push 5
push 0x72
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59048143
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x5904814a
mov eax, 0x8000ffff
jmp 0x5904819e
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x59048311
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x59048324
mov eax, 0x80004003
jmp 0x590483ab
push 5
push 0x6a
push dword [0x590b24f0]
call dword [sym.imp.vsansi.dll_FindResourceW]
test eax, eax
je 0x59048350
push eax
push dword [0x590b24f0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x59048357
mov eax, 0x8000ffff
jmp 0x590483ab
push ebx
push edi
mov edi, dword [esp + 0x10]
push 1
lea ebx, [edi + 0x10]
push ebx
push eax
call fcn.59078d15
mov dword [esi], 0x1c
push dword [edi + 0x18]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
push dword [edi + 0x1c]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x14], eax
push dword [edi + 0x20]
mov ecx, edi
call fcn.59045fcb
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x24]
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
pop ebx
pop esi
ret 8

Function at 0x5905b0de
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
push ebx
push dword [esp + 0x10]
call dword [sym.imp.vsansi.dll_GetWindowTextW]
test eax, eax
jle 0x5905b141
mov ax, word [ebx]
test ax, ax
je 0x5905b137
cmp ax, 0x22
jne 0x5905b137
push esi
push edi
lea esi, [ebx + 2]
push esi
call dword [sym.imp.MSVCR70.dll_wcslen]
cmp word [esi + eax*2 - 2], 0x22
pop ecx
jne 0x5905b120
and word [esi + eax*2 - 2], 0
dec eax
lea edi, [eax + eax]
push edi
push esi
push ebx
call dword [sym.imp.MSVCR70.dll_memmove]
add esp, 0xc
and word [edi + esi - 2], 0
pop edi
pop esi
mov ecx, dword [esp + 0x14]
push ebx
call fcn.5901940d
pop ebx
ret 0x10
Function at 0x5905b145
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa4
push esi
push edi
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_IsWindowUnicode]
push dword [ebp + 0x78]
mov dword [ebp + 0x68], eax
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.vsansi.dll_SendMessageW]
push 0
push 0
mov edi, eax
push 0x147
push edi
call esi
cmp eax, 0xffffffff
je 0x5905b1ce
lea ecx, [ebp - 0x38]
push ecx
push eax
push 0x148
push edi
call esi
cmp eax, 0xffffffff
je 0x5905b1f2
cmp word [ebp - 0x38], 0x28
je 0x5905b1f2
cmp dword [ebp + 0x68], 0
lea eax, [ebp - 0x38]
push eax
jne 0x5905b1ea
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.590aa0d0
mov eax, esp
push 0
push esi
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.59031a43
jmp 0x5905b1e9
push edi
call dword [sym.imp.vsansi.dll_GetWindowTextLengthW]
test eax, eax
jle 0x5905b1f2
push 0x50
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.vsansi.dll_GetWindowTextW]
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x7c]
call fcn.5901940d
lea esp, [ebp - 0x40]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc

Function at 0x5905b4c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x402
push dword [esi + 0x2c]
mov edi, eax
push edi
call dword [sym.imp.vsansi.dll_GetWindowTextW]
push 0x5900a014
push dword [esi + 0x2c]
mov ebp, eax
call dword [sym.imp.MSVCR70.dll_wcscspn]
push dword [esi + 0x2c]
mov ebx, eax
call dword [sym.imp.MSVCR70.dll_wcslen]
add esp, 0xc
cmp ebx, eax
jne 0x5905b52f
test ebp, ebp
jle 0x5905b51e
push dword [esi + 0x2c]
lea ecx, [esi + 0x28]
call fcn.5901940d
movzx eax, word [esp + 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x5905b54a
push 0x406
push 0x4d4
push 0x30
push dword [esi + 4]
call fcn.59078d15
push edi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x590aa293
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.590aa27c
and byte [esi + 0xc], 0
mov eax, 0x59000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x590aa2ed
cmp dword [ebp - 0x18], 5
jb 0x590aa305
jmp 0x590aa301
cmp dword [ebp - 0xc], 1
jne 0x590aa305
cmp dword [ebp - 0x18], 4
ja 0x590aa301
jne 0x590aa305
cmp dword [ebp - 0x14], 0
jbe 0x590aa305
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x590ad0d0
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x10014100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1001410f
pop dword [ebp - 0x18]
mov eax, 0x1001410f
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x2696ab9d
sub dword [ebp - 0x28], 0xd8446652
mov dword [ebp - 0x24], 0x6d16876
sub dword [ebp - 0x24], 0xd49e1c31
mov dword [ebp - 0x20], 0x1b5ffc79
add dword [ebp - 0x20], 0x30ec47b5
mov dword [ebp - 0x1c], 0xe6795fd2
add dword [ebp - 0x1c], 0x1986a02e
lea eax, [ebp - 0x28]
push eax
mov eax, 0xcc0ac525
sub eax, 0xbc0934e9
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x7b2fad3
add dword [ebp - 0x28], 0x6cbf6e83
mov dword [ebp - 0x24], 0x1f36f23e
sub dword [ebp - 0x24], 0xddca90c9
mov dword [ebp - 0x20], 0xdacc732a
add dword [ebp - 0x20], 0x88a2f942
mov dword [ebp - 0x1c], 0x39ce1557
sub dword [ebp - 0x1c], 0x39ce1557
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3711e
push 0
call eax
mov ecx, 0x5dde2756
add ecx, 0xa2222295
mov edi, eax
mov esi, 0xe036253d
sub esi, 0xd033fd3d
add esi, dword [ebp - 0x18]
mov ebx, 0xa1e8c208
xor dword [ebp - 8], 0xcf157945
mov edx, dword [esi]
sub dword [ebp - 0x10], 0x1d7c26e1
sub edx, ebx
sub dword [ebp - 4], edx
mov dword [edi], edx
add dword [ebp - 8], 0xbdb09
add edi, 4
add esi, 0xda2229d0
add esi, 0x25ddd634
loop 0x10014221
add eax, 0x100e3019
add eax, 0xeff2ea66
xor ebx, ebx
add ebx, eax
add eax, 0x1f53343c
sub eax, 0x1f533437
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret