joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d0980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
xor edi, edi
cmp dword [ecx + 0x14], edi
jle 0x100d0a1a
nop dword [eax + eax]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x100d0a66
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 4]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x101728f8]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x101728f8]
sub esi, ecx
jne 0x100d0a0b
sub edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
test bl, bl
je 0x100d0a5c
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x101728f8]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x101728f8]
sub esi, edx
mov edx, dword [ebp - 0xc]
je 0x100d09e7
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc edi
mov esi, dword [ebp + 8]
cmp edi, dword [ecx + 0x14]
jl 0x100d09a0
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x101728f8]
sub eax, 0x73
jne 0x100d0a53
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x100d0a93
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x101728f8]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x101728f8]
sub eax, ecx
je 0x100d0a32
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100d0a0b
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x10]
add ecx, ecx
push eax
mov eax, dword [ebp - 4]
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.10097500
add esp, 4
test eax, eax
je 0x100d0a0e
mov eax, dword [eax + 8]
test eax, eax
jne 0x100d0a55
jmp 0x100d0a0e
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
test esi, esi
jne 0x100d0aa9
neg eax
sbb eax, eax
jmp 0x100d0ab9
test eax, eax
je 0x100d0a53
mov edx, eax
mov ecx, esi
call fcn.10095e70
mov ecx, dword [ebp - 4]
test eax, eax
jne 0x100d0a53
mov ebx, str.sqlite_temp_master
mov dword [ebp - 8], ebx
jmp 0x100d0994
Function at 0x100d0c80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0x14]
push edi
mov dword [ebp - 0xc], edx
xor edi, edi
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
test eax, eax
jle 0x100d0d4c
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov ecx, edi
mov eax, edi
xor ecx, 1
cmp edi, 2
cmovl eax, ecx
shl eax, 4
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100d0d19
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x101728f8]
movzx ecx, al
movzx ecx, byte [ecx + 0x101728f8]
sub ecx, edx
jne 0x100d0d07
sub ebx, esi
test al, al
je 0x100d0d15
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x101728f8]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x101728f8]
sub ecx, edx
je 0x100d0ce6
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x100d0d3c
mov edx, dword [ebp - 0x14]
jmp 0x100d0ca7
test ecx, ecx
jne 0x100d0d07
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.10097500
add esp, 4
test eax, eax
je 0x100d0d45
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
je 0x100d0d0a
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x100d0d0a
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1010ad60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e766
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010add0
mov ecx, 0xe
mov esi, str.TheWorld6User_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x21c]
movsw word es:[edi], word [esi]
call fcn.10076eb0
lea ecx, [ebp - 0x21c]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1010ae00
mov eax, dword [str.Bookmarks]
sub esp, 0x18
mov dword [ecx], eax
mov edx, esp
mov eax, dword [0x1016dc34]
mov dword [ecx + 4], eax
mov eax, dword [0x1016dc38]
mov dword [ecx + 8], eax
mov eax, dword [0x1016dc3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1016dc40]
mov dword [ecx + 0x10], eax
mov ax, word [0x1016dc44]
mov word [ecx + 0x14], ax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1010ae5a
mov eax, dword [edx]
jmp 0x1010ae5c
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1010ae68
xor ecx, ecx
jmp 0x1010ae79
mov ecx, ebx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010ae70
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f560
lea ecx, [ebp - 0x234]
call fcn.10076270
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1010ae9f
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10076600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1010aece
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x250]
cmovae edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.1006e7d0
mov ecx, dword [ebp - 0x238]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp ecx, 0x10
jb 0x1010af3a
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.1006d540
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1010af60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010afc0
push esi
mov ecx, 0xe
mov esi, str.TheWorld6User_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20c]
movsw word es:[edi], word [esi]
call fcn.10076eb0
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010aff0
mov ecx, 6
mov esi, str.Preferences
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop esi
cmp word [ebp - 0x20c], ax
jne 0x1010b02b
xor ecx, ecx
jmp 0x1010b043
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010b034
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x10111760
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0xc], ecx
mov esi, dword [edi]
test esi, esi
jne 0x1011177b
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x400000
mov dword [edi], 0
nop dword [eax]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call ebp
mov ecx, dword [esp + 0x18]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x101117d7
test ecx, ecx
je 0x101117cf
mov ecx, dword [esp + 0x10]
mov edx, 0x400000
test esi, esi
jne 0x10111790
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x10111a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x24
xor eax, eax
push esi
push edi
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x10188ee0], ecx
inc eax
cmp eax, 0x100
jb 0x10111a07
cmp eax, 0x800
jae 0x10111ad6
mov edx, dword [eax*4 + 0x10188ae0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x10188ee0]
mov dword [eax*4 + 0x10188ee0], edx
inc eax
cmp eax, 0x800
jb 0x10111ab3
lea ecx, [esp + 8]
mov dword [0x1018b1cc], 0x101127c0
call fcn.101128d0
test eax, eax
je 0x10111b63
mov edi, dword [esp + 0x18]
lea ecx, [esp + 8]
mov esi, edi
shr edi, 4
shr esi, 8
and edi, 0xf00f
and esi, 0xff00f
call fcn.10112960
sub eax, 0
je 0x10111b4a
sub eax, 1
je 0x10111b39
sub eax, 1
jne 0x10111b63
cmp esi, 6
jb 0x10111b63
jne 0x10111b59
cmp edi, 0xf
jb 0x10111b63
mov dword [0x1018b1cc], 0x10112860
pop edi
pop esi
add esp, 0x24
ret
cmp esi, 5
jb 0x10111b63
jne 0x10111b59
cmp edi, 6
jb 0x10111b63
cmp edi, 0xa
jmp 0x10111b57
cmp esi, 6
jb 0x10111b63
jne 0x10111b59
cmp edi, 0x100c
je 0x10111b63
mov dword [0x1018b1cc], 0x10112860
pop edi
pop esi
add esp, 0x24
ret
Function at 0x10111b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa8]
push edi
push eax
push dword [ecx + 0x14]
mov edi, edx
mov dword [esp + 0x2c], eax
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
call fcn.10113e90
add esp, 8
test eax, eax
jne 0x10111d06
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], 1
nop
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x40000
test ebp, ebp
ja 0x10111c42
jb 0x10111c3e
cmp ebx, 0x40000
jae 0x10111c42
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push edi
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10111cf3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call fcn.10113bb0
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x18]
sub dword [esp + 0x10], eax
sub ebx, eax
sbb ebp, 0
test esi, esi
jne 0x10111cf3
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
cmp ecx, edx
je 0x10111cd0
test eax, eax
jne 0x10111cba
cmp dword [esp + 0x1c], ecx
je 0x10111cd0
push eax
mov eax, dword [edi + 4]
push edi
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x10111c20
jmp 0x10111cf3
cmp edx, dword [esp + 0xb0]
jne 0x10111cee
cmp dword [esp + 0x10], 0
jne 0x10111cee
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x10111cf3
cmp eax, 4
je 0x10111cf3
mov esi, 1
mov eax, dword [esp + 0x24]
push dword [esp + 0x38]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101149a0
add esp, 0x90
ret
Function at 0x10114360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push edi
mov ebp, ecx
xor edi, edi
mov eax, dword [eax]
and eax, 7
mov dword [esp + 0x10], ebp
cmp edx, 5
jae 0x10114383
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ebp
push esi
mov dword [esp + 0x10], edx
lea esi, [edi + ebp]
cmp esi, edx
jae 0x101143a7
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x101143a7
inc esi
cmp esi, edx
jb 0x10114398
mov edi, esi
sub edi, ebp
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x101144b4
cmp ecx, 3
jbe 0x101143e5
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [esp + 0x14], ebx
test cl, cl
je 0x10114421
cmp cl, 0xff
je 0x10114421
mov edx, dword [esp + 0x10]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
jmp 0x10114391
dec ecx
shl eax, cl
and eax, 7
je 0x101143be
movzx ecx, byte [eax + 0x10174df8]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x10174df0], 0
mov cl, byte [edx + 4]
je 0x1011440d
test cl, cl
je 0x1011440d
cmp cl, 0xff
jne 0x101143be
mov edx, dword [esp + 0x10]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x10114391
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
nop
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x1011447a
movzx ebp, byte [eax + 0x10174df8]
mov ecx, 0x18
shl ebp, 3
mov edx, ebx
sub ecx, ebp
shr edx, cl
test dl, dl
je 0x10114467
cmp dl, 0xff
jne 0x1011447a
mov ecx, 0x20
mov edx, 1
sub ecx, ebp
shl edx, cl
dec edx
xor edx, ebx
jmp 0x10114440
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x10]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [esp + 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
jmp 0x10114391
pop esi
pop ebx
cmp ecx, 3
jbe 0x101144cb
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x1c]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret

Function at 0x1012fb6c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1012f9eb

Function at 0x101345a3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10134263
Function at 0x4079f2
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x407a04
and eax, 0xffff
push eax
jmp 0x407a08
add ecx, 2
push ecx
push dword [ebp + 0xc]

Function at 0x407a6d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x407aa7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x407aa2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add al, dh
add byte [eax], al
add al, dh
add byte [eax], al
cmp edx, 0x3000
jne 0x407a8c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x407a94
cmp edx, ebx
jne 0x407be2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x407a63
add eax, dword [eax + 4]
jmp 0x407a50
mov dword [ebp + 0xc], ebx
jmp 0x407ab2
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x407aca
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x407ae8
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 0x407b46
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 0x407b2d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x407b36
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x407b40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x407b22
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x407aac
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 0x407b93
dec eax
je 0x407b8a
sub eax, 3
je 0x407b81
mov dword [ebp - 4], 0x40
jmp 0x407bb0
mov dword [ebp - 4], 4
jmp 0x407b96
mov dword [ebp - 4], 0x20
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 0x407be2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x407b62
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004073f3
scasd eax, dword es:[edi]
sbb eax, 0x75ffcd74
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x407bee
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x407f8b
push dword [ebp + 0x14]
call fcn.004073b8
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
fdiv st(2), st(0)
invalid
call dword [eax - 0x18]
sbb ah, dh
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004073b8
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004073f3
scasd eax, dword es:[edi]
std
and byte [ebx - 0x5135a80], 0xff
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
test esi, esi
cli
invalid
invalid
jns 0x40801e
test edi, esi
cli
invalid
dec dword [edi - 0x3a]
test eax, edi
cli
invalid
push dword [ebp - 0x3a]
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x40803a
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
call dword [eax - 0x18]
jge 0x408077
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004073b8
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004073f3
jo 0x408028
Function at 0x4092ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.00407364
add esp, 0xc
jmp 0x40936b

Function at 0x40a99e
Capabilities:
Check mutex on windows

Disassembly:
push 0xa0
mov eax, 0x44f178
call fcn.00428fd0
push str.Global_MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x40aa5e
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x40aa56
push 1
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40aa56
push 1
lea ecx, [ebp - 0xac]
call fcn.00402d17
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push str.finish_waiting_for_mutex:
push eax
call fcn.00401fb6
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xac]
call fcn.004037f4
lea eax, [ebp - 0xac]
push eax
push str.msi::waitForInstallationCompletion
push 0x180
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.004109c7
mov ecx, eax
call fcn.00406995
lea ecx, [ebp - 0xac]
call fcn.00403ad0
cmp edi, 0x102
je 0x40aa60
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.004173a0
pop ecx
mov al, bl
call fcn.00428f9e
ret
Function at 0x40d572
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x44f65b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x472224]
xor eax, ebp
mov dword [ebp + 0x144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x150]
lea eax, [ebp + 0x40]
mov edi, dword [ebp + 0x154]
mov ebx, dword [ebp + 0x158]
push 0x104
push 0
push eax
mov dword [ebp - 0x10], esi
call fcn.0042bc70
add esp, 0xc
lea eax, [ebp + 0x40]
xor edx, edx
mov ecx, 0x8000
push eax
xor eax, eax
cmp ebx, 1
push edx
cmove eax, ecx
push edx
or eax, edi
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40d648
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x28]
call fcn.00402e5e
lea eax, [ebp + 0x28]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040c2cb
pop ecx
pop ecx
lea ecx, [ebp + 0x28]
call fcn.00404bf5
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.00428f90
add ebp, 0x148
leave
ret
lea ecx, [ebp - 0xc8]
call fcn.004032a1
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, eax
push 0x455b8c
push ebx
push str.__mode
push edi
push 0x40fbbd
push str.SHGetFolderPath_0x
call fcn.00401fa1
mov ecx, eax
call fcn.0040d269
mov ecx, eax
call fcn.00409497
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
call fcn.00409497
mov ecx, eax
call fcn.00401fa1
push eax
lea ecx, [ebp - 0x30]
call fcn.00417fb4
mov esi, eax
push 0x1f5
push str.SysInfo::SHGetFolderPathAdapter
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00403167
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0040ceb2
add esp, 0xc
lea eax, [ebp]
push 0x46c49c
push eax
call fcn.0042be4c
int3

Function at 0x410006
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0042bc70
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
sete al
leave
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x52de5283
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x75805c64
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219