joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6addc2ba
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x6addc2d1
test edi, edi
jne 0x6addc2d9
or eax, 0xffffffff
jmp 0x6addc404
mov eax, dword [esi + 4]
dec eax
cmp eax, 0x11
ja case.0x6addc2e6.6
jmp dword [eax*4 + 0x6ae2cb40]
mov eax, dword [esi + 0x28]
jmp 0x6addc3ed
mov ebx, esi
mov eax, dword [ebx + 4]
cmp eax, 4
ja 0x6addc306
cmp eax, 2
jbe 0x6addc32c
jmp 0x6addc319
cmp eax, 5
jne 0x6addc32c
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.6addc2ba
jmp 0x6addc32c
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x6addc32c
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.6adec48f
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6addc33d
cmp dword [eax + 4], 0x11
jne 0x6addc3fd
cmp esi, ebx
je case.0x6addc2e6.6
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x6addc3fd
mov ebx, dword [ebx + 0x14]
cmp esi, ebx
je case.0x6addc2e6.6
test ebx, ebx
jmp 0x6addc33f
mov ebx, dword [esi + 0xc]
test ebx, ebx
je case.0x6addc2e6.6
cmp dword [ebx + 4], 3
jne 0x6addc381
mov eax, dword [ebx + 0x28]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.6adec48f
jmp 0x6addc38d
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.6addc2ba
mov ebx, dword [ebx + 0x18]
jmp 0x6addc362
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call fcn.6adf3843
test eax, eax
je 0x6addc2d1
mov ebx, dword [eax + 0xc]
test ebx, ebx
je case.0x6addc2e6.6
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.6addc2ba
mov ebx, dword [ebx + 0x18]
jmp 0x6addc3af
mov ebx, dword [esi + 0xc]
test ebx, ebx
je case.0x6addc2e6.6
mov eax, dword [ebx + 4]
lea edx, [eax - 3]
cmp edx, 1
jbe 0x6addc3d9
dec eax
jne 0x6addc3e5
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.6addc2ba
mov ebx, dword [ebx + 0x18]
jmp 0x6addc3c7
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.6adec48f
xor eax, eax
jmp 0x6addc404
mov ebx, eax
jmp 0x6addc2f7
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6ade7042
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
test esi, esi
je 0x6ade71a5
cmp byte [esi], 0
jne 0x6ade706d
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6adeac49
mov dword [esp], esi
xor ebx, ebx
call fcn.6adeaf0a
test eax, eax
jle 0x6ade71a3
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [0x6ae1309c]
mov ebx, eax
test eax, eax
je 0x6ade709e
lea edi, [esi + 1]
xor esi, esi
jmp 0x6ade713f
mov eax, str.escaping_URI_value_n
call fcn.6ade57df
jmp 0x6ade71a3
mov eax, dword [ebp - 0x1c]
sub eax, esi
cmp eax, 3
jle 0x6ade714b
mov dl, byte [edi - 1]
lea eax, [edx - 0x40]
cmp al, 0x1a
jbe 0x6ade7196
lea ecx, [edx - 0x5f]
cmp cl, 0x1f
jbe 0x6ade7177
lea ecx, [edx - 0x21]
cmp cl, 0x18
jbe 0x6ade7187
movzx eax, dl
mov byte [ebp - 0x2c], dl
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.6adeae9e
mov dl, byte [ebp - 0x2c]
test eax, eax
jne 0x6ade7196
mov ecx, edx
lea eax, [esi + 2]
mov byte [ebx + esi], 0x25
shr cl, 4
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 0x37]
cmp cl, 0xa
mov byte [ebp - 0x31], al
lea eax, [ecx + 0x30]
mov cl, byte [ebp - 0x31]
cmovae eax, ecx
and edx, 0xf
lea ecx, [edx + 0x37]
mov byte [ebx + esi + 1], al
lea eax, [edx + 0x30]
add esi, 3
cmp dl, 0xa
cmovae eax, ecx
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], al
inc edi
cmp byte [edi - 1], 0
jne 0x6ade70ad
jmp 0x6ade719f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.6ade586b
test eax, eax
jne 0x6ade7170
mov eax, str.escaping_URI_value_n
call fcn.6ade57df
mov dword [esp], ebx
xor ebx, ebx
call dword [0x6ae130a4]
jmp 0x6ade71a3
mov ebx, eax
jmp 0x6ade70bb
mov eax, 0x8ffffffd
shr eax, cl
test al, 1
jne 0x6ade7196
jmp 0x6ade70d5
mov eax, 0x1ffb3c1
shr eax, cl
test al, 1
je 0x6ade70e1
mov al, byte [edi - 1]
mov byte [ebx + esi], al
inc esi
jmp 0x6ade713e
mov byte [ebx + esi], 0
mov esi, ebx
add esp, 0x3c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6ade7bb6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
test esi, esi
jne 0x6ade7bcd
xor ebx, ebx
jmp 0x6ade7d47
mov al, byte [esi]
cmp al, 0x5c
jne 0x6ade7be7
cmp byte [esi + 1], 0x5c
jne 0x6ade7bf8
cmp byte [esi + 2], 0x3f
jne 0x6ade7bf8
cmp byte [esi + 3], 0x5c
jne 0x6ade7bf8
jmp 0x6ade7c0c
cmp al, 0x2f
jne 0x6ade7bf8
cmp byte [esi + 1], 0x2f
jne 0x6ade7bf8
cmp byte [esi + 2], 0x2f
je 0x6ade7bf8
inc esi
mov dword [esp], esi
call fcn.6ade6fb3
test eax, eax
je 0x6ade7c1b
mov dword [esp], eax
call fcn.6ade618e
mov dword [ebp + 8], esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6adeac49
mov dword [esp + 4], 0x6ae2d8c9
mov dword [esp], esi
call fcn.6adeaf21
test eax, eax
je 0x6ade7c81
sub eax, esi
lea edx, [eax - 1]
cmp edx, 0x13
ja 0x6ade7c81
xor ecx, ecx
mov dl, byte [esi + ecx]
and edx, 0xffffffdf
sub edx, 0x41
cmp dl, 0x19
ja 0x6ade7c81
inc ecx
cmp eax, ecx
jne 0x6ade7c3b
mov dword [esp + 4], str.:___._
mov dword [esp], esi
call fcn.6ade7042
mov ebx, eax
test eax, eax
je 0x6ade7c81
mov dword [esp], eax
call fcn.6ade6fb3
test eax, eax
je 0x6ade7c78
mov dword [esp], eax
jmp 0x6ade7d42
mov dword [esp], ebx
call dword [0x6ae130a4]
call fcn.6ade58e1
mov edi, eax
test eax, eax
je 0x6ade7bc6
mov dword [esp], esi
call fcn.6adeaf0a
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x6ade7d02
mov al, byte [esi]
and eax, 0xffffffdf
sub eax, 0x41
cmp al, 0x19
ja 0x6ade7d02
cmp byte [esi + 1], 0x3a
jne 0x6ade7d02
mov al, byte [esi + 2]
cmp al, 0x2f
je 0x6ade7cbd
cmp al, 0x5c
jne 0x6ade7d02
mov dword [esp], str.file
call fcn.6adeac49
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [esp], eax
call dword [0x6ae1309c]
mov dword [edi + 0x18], eax
mov ebx, eax
test eax, eax
je 0x6ade7d3f
mov byte [eax], 0x2f
mov eax, dword [edi + 0x18]
mov dword [esp + 4], esi
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
inc eax
mov dword [esp + 8], eax
call sub.msvcrt.dll_strncpy
jmp 0x6ade7d1d
mov dword [esp], esi
call fcn.6adeac49
mov dword [edi + 0x18], eax
mov ebx, eax
test eax, eax
jne 0x6ade7d1d
jmp 0x6ade7d3f
cmp al, 0x5c
jne 0x6ade7d1c
mov byte [ebx], 0x2f
inc ebx
mov al, byte [ebx]
test al, al
jne 0x6ade7d15
cmp dword [edi], 0
jne 0x6ade7d35
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.6adeac49
jmp 0x6ade7d3d
mov dword [esp], edi
call fcn.6ade591c
mov ebx, eax
mov dword [esp], edi
call fcn.6ade618e
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6ade7d51
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x6ade7d68
xor ebx, ebx
jmp 0x6ade7de8
mov dword [esp], ebx
call fcn.6ade6fb3
test eax, eax
je 0x6ade7d8b
mov dword [esp], eax
call fcn.6ade618e
mov dword [ebp + 8], ebx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6adeac49
mov dword [esp], ebx
call fcn.6ade7bb6
mov ebx, eax
test eax, eax
je 0x6ade7d61
mov dword [esp], eax
call fcn.6ade6fb3
mov edx, eax
mov eax, ebx
test edx, edx
je 0x6ade7dbc
mov dword [esp], edx
call fcn.6ade618e
jmp 0x6ade7de8
cmp dl, 0x5c
jne 0x6ade7dbb
mov byte [eax], 0x2f
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x6ade7db3
lea edx, [ebp - 0x44]
xor eax, eax
mov ecx, 0xb
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp], edx
mov dword [ebp - 0x2c], ebx
call fcn.6ade591c
mov dword [esp], ebx
mov esi, eax
call dword [0x6ae130a4]
mov ebx, esi
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6adeac49
Capabilities:
Enumerate pe sections

Disassembly:
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x6adeac7e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x6adeac65
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x6adeac76
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x6adeac80
inc edi
add eax, 0x28
cmp edi, esi
jb 0x6adeac5b
xor eax, eax
pop edi
pop esi
ret

Function at 0x6adeadfe
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx - 0x7fcc388], cl
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.6adeac03
test eax, 0xfddcec6
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.6adeac03
and eax, 0x66b35583
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x6adeae5d
lea ecx, [esi + 0xc]
movzx edx, ax

Function at 0x6adeafd3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cdq
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
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.6adeac13
push eax
push esi
push dword [ebp + 8]
call fcn.6adeabc8
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
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
invalid
stosb byte es:[edi], al
sti
Function at 0x6adeb8b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x6adeb8f7
cmp dword [ebp - 0x398], 0
je 0x6adebac1
cmp dword [ebp + 0xc], 1
je 0x6adebac1
cmp dword [ebp + 0xc], 8
jne 0x6adeba89
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
stc
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.6adeac13
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6adeabc8
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
call fcn.6adeac03
pop edx
cmpsb byte [esi], byte es:[edi]
dec esp
cmp eax, dword [eax - 0x5435b]
inc dword [eax]
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.6adeac03
nop
and al, 0x8a
sbb al, byte [eax - 0x22f5b]
and byte [ebp - 0x230], 0

Function at 0x6adec7a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
invalid
or ah, ah

Function at 0x6adecc45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x680]
jmp 0x6adecc52
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x6adecc99
lea eax, [ebp - 0x714]
push eax
call fcn.6adeac13
pop ecx
push eax
push dword [ebp - 0x3a4]
mov ch, 0x5c
cld
invalid
invalid
push dword [ebp + 0x14]
call fcn.6adeabc8
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x6adecca4
jmp 0x6adecca9
jmp 0x6adec5a5
Function at 0x6adfa7c0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6adfa230
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6adfa230
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6adfa820
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6ae6b450]
test esi, esi
jle 0x6adfa940
mov eax, dword [0x6ae6b454]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6adfa854
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6adfa8d7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6adfa840
mov dword [esp], ebx
call fcn.6adfaf80
mov edi, eax
test eax, eax
je 0x6adfa967
mov eax, dword [0x6ae6b454]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6adfb0c0
mov edx, dword [0x6ae6b454]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6adfa947
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6adfa8d0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6adfa8e0
add dword [0x6ae6b450], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6ae6b454]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6adfa8d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6adfa7c0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6adfa85e
mov eax, dword [0x6ae6b454]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6adfa7c0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6adfa7c0
lea esi, [esi]
nop
Function at 0x6adfaf80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6ad80000], 0x5a4d
jne 0x6adfafa5
mov ecx, dword [0x6ad8003c]
cmp dword [ecx + 0x6ad80000], 0x4550
lea edx, [ecx + 0x6ad80000]
je 0x6adfafb0
ret
cmp word [ecx + 0x6ad80018], 0x10b
jne 0x6adfafa5
push esi
movzx eax, word [ecx + 0x6ad80014]
push ebx
movzx esi, word [ecx + 0x6ad80006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6ad80000
test esi, esi
je 0x6adfaff8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6adfafee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6adfaffa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6adfafe0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x6ae1098c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, edx
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x6ae109fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.__ls_:_Cant_open_file_for_writing
call fcn.6ae11dc3
mov eax, 0x2f
jmp 0x6ae10a96
mov esi, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x14
test eax, eax
je 0x6ae10a42
cmp dword [esp + 0x2c], edi
je 0x6ae10a69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__ls_:_Cant_write_file
mov dword [esp], eax
call fcn.6ae11dc3
mov dword [esp], esi
call ebp
mov eax, 0x48
push ecx
jmp 0x6ae10a96
mov dword [esp], esi
call ebp
push edx
mov edx, eax
xor eax, eax
test edx, edx
jne 0x6ae10a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.__ls_:_Cant_close_handle
call fcn.6ae11dc3
mov eax, 0x48
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x7ab214
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ab21e
pushal
call 0x7ab224
pop ebp
sub ebp, 0x10
sub ebp, 0x3ab214
jmp 0x7ab23a
mov eax, 0x3ab214
add eax, ebp
add eax, 0x4c
mov ecx, 0x600
mov edx, 0x27c70048
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ab251
jmp 0x7ab264
ret

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac
Function at 0x10008744
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10008753
pop dword [ebp - 0x34]
mov eax, 0xbfcb1c81
add eax, 0x50356ad2
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xc1135f5a
sub dword [ebp - 0x44], 0x72c11a0f
mov dword [ebp - 0x40], 0x4bd20ab7
sub dword [ebp - 0x40], 0x199ebe72
mov dword [ebp - 0x3c], 0xfb200dff
add dword [ebp - 0x3c], 0x512c362f
mov dword [ebp - 0x38], 0x8c593197
add dword [ebp - 0x38], 0x73a6ce69
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7923d9b8
sub eax, 0x6923097c
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1ed0aae3
add dword [ebp - 0x44], 0x55a1be73
mov dword [ebp - 0x40], 0x861eadc4
sub dword [ebp - 0x40], 0x44b24c4f
mov dword [ebp - 0x3c], 0xc7605a99
add dword [ebp - 0x3c], 0x9c0f11d3
mov dword [ebp - 0x38], 0xc135cdfb
sub dword [ebp - 0x38], 0xc135cdfb
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x385f4
push 0
call eax
mov ecx, 0xb8ddb0a0
add ecx, 0x47229b63
mov esi, eax
mov edx, 0xe59f8af0
add edx, 0x2a61c710
add edx, dword [ebp - 0x34]
mov ebx, 0x934587e
add ebx, 0xf47d2750
mov edi, dword [edx]
xor dword [ebp - 0x14], eax
xor edi, ebx
sub dword [ebp - 0xc], 0xf6162cff
mov dword [esi], edi
xor dword [ebp - 4], 0xfe04cdb8
add esi, 0x72405a1f
sub esi, 0x72405a1b
add edx, 4
loop 0x10008870
add eax, 0x122df
mov ebx, eax
add eax, 0xa647f6ac
add eax, 0x59b80959
mov ecx, 0xb751ed5c
sub ecx, 0xa751ed5c
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10008ba1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x2c], 0xffffffff
and dword [ebp - 0x28], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
call sym.net.dll__ipv6_available_0
push edi
mov ebx, eax
call fcn.100065bc
pop ecx
mov dword [ebp - 0x24], eax
test ebx, ebx
je 0x10008be0
push edi
call fcn.100065e8
pop ecx
jmp 0x10008be3
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], 0
jge 0x10008c01
test eax, eax
jns 0x10008c01
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
xor eax, eax
jmp 0x10008c63
cmp dword [ebp + 0x10], 2
mov dword [ebp - 0x28], 0x10
je 0x10008c1a
cmp dword [ebp + 0x10], 0xffffffff
jne 0x10008c24
cmp dword [ebp - 0x24], 0xffffffff
jne 0x10008c2a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0x1c
cmp dword [ebp - 0x24], 0xffffffff
je 0x10008bed
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10008c55
push str.Error_getting_socket_name
push str.java_net_SocketException
push esi
call fcn.1000affe
add esp, 0xc
jmp 0x10008bfd
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.10008744
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
leave
ret 0xc