joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468890
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x9d6400]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46703b
je 0x46708e
cmp ebx, 0x20
jbe 0x467094
cmp ebx, 0x40
jbe 0x4670da
jmp 0x46717b
test ebx, ebx
je 0x467084
add eax, 0x10
test ax, 0xff0
je 0x467070
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x83b5e0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x83b6e0]
jmp 0x467058
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x467058
pxor xmm1, xmmword [0x9d6410]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x9d6410]
pxor xmm2, xmmword [0x9d6420]
pxor xmm3, xmmword [0x9d6430]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x9d6410]
pxor xmm2, xmmword [0x9d6420]
pxor xmm3, xmmword [0x9d6430]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x4671da
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x9d5dc7], 0
je 0x4688aa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x467000
jmp fcn.00408df0
Function at 0x6bae20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x6bae45
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x6bae50
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x6bae45
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x6bae98
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6bae8e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6bae9a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6bae80
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10001000
Capabilities:
Query environment variable

Disassembly:
push esi
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_getenv]
cmp dword [0x10011014], 0
mov esi, eax
pop ecx
jne 0x1000101b
xor al, al
jmp 0x10001048
cmp byte [0x100110aa], 0
jne 0x10001017
test esi, esi
je 0x10001017
push esi
push dword [esp + 0x10]
push str.NOTE:_Picked_up__s:__s
call sym.jli.dll_JLI_ReportMessage
push dword [esp + 0x18]
push esi
push dword [esp + 0x1c]
call fcn.100011ea
add esp, 0x18
pop esi
ret 8

Function at 0x1000139e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10011090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push edi
push eax
push esi
call dword [sym.imp.MSVCR120.dll__stat64i32]
pop ecx
pop ecx
test eax, eax
je 0x100013da
push esi
push str.Error:_could_not_open___s
call sym.jli.dll_JLI_ReportMessage
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR120.dll_exit]
mov eax, 0x7fffffff
cmp dword [ebp - 0x20], eax
jle 0x100013ec
push eax
push str.Error:_Argument_file_size_should_not_be_larger_than__lu.
jmp 0x100013cb
push 0x1000b2ac
push esi
call dword [sym.imp.MSVCR120.dll_fopen]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100013c5
push edi
call fcn.10001766
push edi
mov ebx, eax
call dword [sym.imp.MSVCR120.dll_fclose]
pop ecx
pop ecx
test ebx, ebx
jne 0x1000141d
push esi
push str.Error:_loading:__s
jmp 0x100013cb
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100099e4
mov esp, ebp
pop ebp
ret

Function at 0x10001766
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.10009a00
mov eax, dword [0x10011090]
xor eax, ebp
mov dword [ebp + 0xf94], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0xfa0]
push esi
push edi
push 4
call sym.jli.dll__JLI_List_new_4
mov esi, eax
mov byte [ebp - 0x74], 0x22
push 8
mov dword [ebp - 0x70], esi
call sym.jli.dll__JLI_List_new_4
push ebx
mov edi, eax
call dword [sym.imp.MSVCR120.dll_feof]
pop ecx
test eax, eax
jne 0x10001823
push ebx
push 0x1000
lea eax, [ebp - 0x6c]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.MSVCR120.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x1000185d
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
add eax, esi
mov dword [ebp - 0x78], eax
jmp 0x100017f8
push esi
call fcn.10001142
pop ecx
push esi
push edi
call sym.jli.dll__JLI_List_add_8
lea eax, [ebp - 0x80]
push eax
call fcn.10001544
mov esi, eax
pop ecx
test esi, esi
jne 0x100017ea
push ebx
call dword [sym.imp.MSVCR120.dll_feof]
pop ecx
test eax, eax
je 0x100017b7
cmp dword [ebp - 0x80], 5
je 0x10001844
cmp dword [ebp - 0x80], 2
je 0x10001844
mov esi, dword [ebp - 0x70]
push esi
call fcn.10007ebc
mov eax, edi
pop ecx
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100099e4
lea esp, [ebp + 0xf98]
pop ebp
ret
mov esi, dword [ebp - 0x70]
cmp dword [esi + 4], 0
je 0x10001823
push esi
call fcn.10007e2b
pop ecx
push eax
push edi
call sym.jli.dll__JLI_List_add_8
jmp 0x10001823
push edi
call fcn.10007ebc
xor eax, eax
jmp 0x1000182b
Function at 0x10001867
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 1
mov byte [esp + 0x17], 0
call sym.jli.dll__JLI_List_new_4
mov ebp, eax
push str.JDK_JAVA_OPTIONS
push ebp
call sym.jli.dll__JLI_AddArgsFromEnvVar_8
test al, al
je 0x100018b8
mov esi, dword [sym.imp.MSVCR120.dll_getenv]
push str._JAVA_LAUNCHER_DEBUG
call esi
pop ecx
test eax, eax
je 0x100018b8
mov edi, str._JAVA_OPTIONS
push edi
call esi
pop ecx
test eax, eax
je 0x100018b8
push eax
push edi
push str.NOTE:_Picked_up__s:__s
call sym.jli.dll_JLI_ReportMessage
add esp, 0xc
mov eax, dword [ebp + 4]
inc eax
mov dword [esp + 0x14], eax
shl eax, 3
push eax
call sym.jli.dll__JLI_MemAlloc_4
push dword [esp + 0x1c]
mov edi, eax
call sym.jli.dll__JLI_StringDup_4
mov ebx, eax
lea eax, [esp + 0x13]
push eax
push ebx
push dword [esp + 0x24]
call fcn.10001a03
add esp, 0xc
mov dword [esp + 0x1c], eax
push ebx
call sym.jli.dll__JLI_StringDup_4
mov cl, byte [esp + 0x13]
xor esi, esi
mov edx, dword [esp + 0x14]
inc esi
mov byte [edi + 4], cl
xor ecx, ecx
inc ecx
mov dword [edi], eax
cmp edx, ecx
jbe 0x10001978
mov esi, edx
mov eax, dword [ebp]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + ecx*8], eax
mov byte [edi + ecx*8 + 4], 0
inc ecx
cmp ecx, edx
jb 0x1000190b
jmp 0x10001978
lea ecx, [esp + 0x13]
push ecx
push ebx
push eax
call fcn.10001a03
add esp, 0xc
mov dword [esp + 0x1c], eax
push 1
push ebx
call sym.jli.dll__JLI_PreprocessArg_8
mov ebp, eax
test ebp, ebp
je 0x10001988
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
lea ecx, [eax + esi]
shl ecx, 3
push ecx
push edi
call fcn.10008049
mov edx, dword [esp + 0x1c]
mov edi, eax
pop ecx
pop ecx
xor ecx, ecx
test edx, edx
je 0x10001978
mov eax, dword [ebp]
mov eax, dword [eax + ecx*4]
mov dword [edi + esi*8], eax
mov byte [edi + esi*8 + 4], 0
inc esi
inc ecx
cmp ecx, edx
jb 0x10001964
push dword [ebp]
call sym.jli.dll__JLI_MemFree_4
push ebp
call sym.jli.dll__JLI_MemFree_4
jmp 0x100019af
lea eax, [esi*8 + 8]
push eax
push edi
call fcn.10008049
pop ecx
pop ecx
push ebx
mov edi, eax
call sym.jli.dll__JLI_StringDup_4
mov dword [edi + esi*8], eax
mov al, byte [esp + 0x13]
mov byte [edi + esi*8 + 4], al
inc esi
mov byte [ebx], 0
mov eax, dword [esp + 0x1c]
mov byte [ebx], 0
test eax, eax
jne 0x10001921
push ebx
call sym.jli.dll__JLI_MemFree_4
mov dword [0x100110ac], edi
pop edi
mov dword [0x100110b0], esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x10006b0c
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 4], 4
jne 0x10006b2b
push dword [esp + 0xc]
push str.Error:_Option__s_is_not_allowed_with___source
call sym.jli.dll_JLI_ReportErrorMessage
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR120.dll_exit]
mov eax, dword [esp + 8]
ret

Function at 0x10007dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.100079d8
push cs
cld
invalid
dec dword [ecx + 0x458df845]
xchg esp, eax
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
inc ebp
wait
xor eax, 0x349c45c6
invalid
invalid

Function at 0x10007deb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
wait
xor eax, 0x349c45c6
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.10007a23
push eax
push esi
push dword [ebp + 8]
call fcn.100079d8
invalid
invalid

Function at 0x10008072
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100080c7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100080c2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100080ac
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100080b4
cmp edx, ebx
jne 0x10008202
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10008083
add eax, dword [eax + 4]
jmp 0x10008070
mov dword [ebp + 0xc], ebx
jmp 0x100080d2

Function at 0x100080b6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100080c7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100080c2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100080ac
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100080b4
cmp edx, ebx
jne 0x10008202
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10008083
add eax, dword [eax + 4]
jmp 0x10008070
mov dword [ebp + 0xc], ebx
jmp 0x100080d2

Function at 0x10008108
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100080ea
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp fcn.10008108
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
invalid
Function at 0x10008240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10007a23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100079d8
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10007a23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100079d8
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10007a23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100079d8
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10007a13
ret 0x47f
Function at 0x10009a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ch, 0
add byte [eax], al
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x10009a5d
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x10009a62
jmp 0x100093b5
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10009aa9
lea eax, [ebp - 0x714]
push eax
call fcn.10007a23
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.100079d8
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10009ab4
jmp 0x10009ab9
jmp 0x100093b5
cmp dword [ebp - 0x37c], 0
jne fcn.10009b63
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10007bef
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x10009b4f
lea eax, [ebp - 0x714]
push eax
call fcn.10007a23
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.10007ab8
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
Function at 0x403a40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x403a72
jl 0x403a65
test ecx, ecx
jne 0x403a72
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x403b32
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00405300
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x403ade
jg 0x403a9d
test esi, esi
je 0x403ade
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x403ab5
mov eax, dword [esp + 0x10]
jl 0x403aaf
cmp eax, esi
jae 0x403ab5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00471110
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x403aff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x403b1b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x403a84
jl 0x403b1b
test ecx, ecx
jne 0x403a84
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x403b76
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x403b76
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00471110
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x403be7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x403b9c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x403bd2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0047b298
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x403be7
cmp edi, eax
ja 0x403bb0
test edi, edi
je 0x403be7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0047b298
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a2f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bc480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0046f59a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0046e54e
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00405890
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ddb0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41de5f
push esi
call fcn.00434090
add esp, 4
test al, al
jne 0x41de5f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41ddd7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0043d470
add esp, 0xc
test eax, eax
je 0x41de0b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0043d470
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41de0d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x41de3e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.00430ef0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x41de20
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x424800
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x14
mov eax, dword [0x4bc480]
xor eax, esp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 4]
and eax, 0xa
cmp al, 0xa
mov eax, dword [ecx + 0xc]
jne 0x424837
mov esi, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov ebp, dword [eax + 0x80]
jmp 0x424843
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov ebp, dword [eax + 0x4c0]
test esi, esi
je 0x424924
mov eax, dword [edi]
test eax, eax
je 0x424880
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x424873
test dl, dl
je 0x42486f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x424873
add ecx, 2
add eax, 2
test dl, dl
jne 0x424853
xor eax, eax
jmp 0x424878
sbb eax, eax
or eax, 1
test eax, eax
je 0x424924
push edi
call fcn.004247b0
push esi
call dword [0x4bc00c]
mov edx, eax
add esp, 8
mov dword [edi], edx
test edx, edx
je 0x4248da
test ebx, ebx
je 0x4248fb
mov ecx, ebx
nop
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x4248c0
test al, al
je 0x4248bc
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x4248c0
add esi, 2
add ecx, 2
test al, al
jne 0x4248a0
xor eax, eax
jmp 0x4248c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4248fb
push ebx
call dword [0x4bc00c]
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x4248fe
push edi
call fcn.004247b0
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0046f587
add esp, 0x14
ret
mov dword [edi + 4], edx
mov esi, dword [edi]
test esi, esi
je 0x42495a
cmp byte [esi], 0
je 0x42495a
mov ebx, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x10]
push eax
push esi
push 2
call ebx
test eax, eax
je 0x424943
mov dword [edi + 0xc], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f587
add esp, 0x14
ret
lea eax, [esp + 0x10]
push eax
push esi
push 0x17
call ebx
test eax, eax
je 0x42495a
mov dword [edi + 0xc], 2
jmp 0x424924
mov ecx, dword [edi]
mov dword [edi + 0xc], 0
cmp byte [ecx], 0
je 0x424924
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x424970
sub esi, edx
je 0x424983
cmp byte [ecx + esi - 1], 0x2e
jne 0x424983
dec esi
cmp esi, 0xffff
jae 0x424924
lea eax, [esi + 1]
push eax
push 1
call dword [0x4bc010]
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x4248da
push esi
push dword [edi]
push eax
call fcn.00430f50
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x424924