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

Disassembly:
mov eax, 0xd8
call fcn.100a1060
push ebx
push ebp
lea eax, [esp + 0x28]
push esi
push eax
mov ebx, 1
call sym.LIBEAY32.dll_HMAC_CTX_init
mov esi, dword [esp + 0xec]
mov ecx, dword [esp + 0x104]
mov ebp, dword [esp + 0x100]
add esp, 4
test esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
jne 0x10059069
mov dword [esp + 0xec], esi
jmp 0x10059088
cmp dword [esp + 0xec], 0xffffffff
jne 0x10059088
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10059078
sub eax, edx
mov dword [esp + 0xec], eax
test ebp, ebp
je 0x100591ba
push edi
jmp 0x100590a0
mov esi, dword [esp + 0xec]
mov ebp, dword [esp + 0x18]
mov edi, edi
cmp ebp, 0x14
jle 0x100590aa
mov ebp, 0x14
mov edx, ebx
mov eax, ebx
mov ecx, ebx
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
push 0
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], al
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], bl
call sym.LIBEAY32.dll_EVP_sha1
mov edx, dword [esp + 0xf4]
push eax
push edx
lea eax, [esp + 0x3c]
push esi
push eax
call sym.LIBEAY32.dll_HMAC_Init_ex
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
call sym.LIBEAY32.dll_HMAC_Update
push 4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
call sym.LIBEAY32.dll_HMAC_Update
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x64]
push ecx
call sym.LIBEAY32.dll_HMAC_Final
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x134]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 0x38
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jle 0x1005919c
lea edi, [eax - 1]
lea ebx, [ebx]
mov edx, dword [esp + 0xf0]
push 0
lea eax, [esp + 0x20]
push eax
push 0x14
mov ecx, eax
mov eax, dword [esp + 0xf8]
push ecx
push edx
push eax
call sym.LIBEAY32.dll_EVP_sha1
push eax
call sym.LIBEAY32.dll_HMAC
add esp, 0x1c
test ebp, ebp
jle 0x10059199
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
sub ecx, eax
mov esi, ebp
lea ebx, [ebx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x10059190
dec edi
jne 0x10059150
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ebp
add edx, ebp
inc ebx
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jne 0x10059093
pop edi
lea eax, [esp + 0x2c]
push eax
call sym.LIBEAY32.dll_HMAC_CTX_cleanup
add esp, 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd8
ret
Function at 0x100712d0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.100a1060
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
push ebx
mov ebx, dword [esi + 0x20]
push ebp
shr eax, 6
push edi
and eax, 1
xor ebp, ebp
push str.OPENSSL_ALLOW_PROXY_CERTS
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.MSVCR71.dll_getenv]
add esp, 4
test eax, eax
je 0x10071318
mov dword [esp + 0x14], 1
cmp dword [esi + 0x48], ebp
jle 0x100714c0
mov ecx, dword [esi + 0x4c]
push ebp
push ecx
call sym.LIBEAY32.dll_sk_value
mov edx, dword [esi + 0x14]
mov edi, eax
mov al, byte [edx + 0xc]
add esp, 8
test al, 0x10
jne 0x1007135f
mov eax, dword [edi + 0x28]
test ah, 2
je 0x1007135f
push esi
push 0
mov dword [esi + 0x5c], 0x22
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1007138c
mov eax, dword [edi + 0x28]
test ah, 4
je 0x1007138c
push esi
push 0
mov dword [esi + 0x5c], 0x28
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
push edi
call sym.LIBEAY32.dll_X509_check_ca
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x100713c1
test ecx, ecx
je 0x100713b4
test eax, eax
je 0x100713d3
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x100713f4
cmp eax, 1
jmp 0x100713d1
test eax, eax
je 0x100713f4
mov dword [esi + 0x5c], 0x25
jmp 0x100713da
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x100713f4
cmp eax, 1
je 0x100713f4
test eax, eax
je 0x100713f4
mov dword [esi + 0x5c], 0x18
push esi
push 0
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x10]
test eax, eax
jle 0x1007143f
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call sym.LIBEAY32.dll_X509_check_purpose
add esp, 0xc
test eax, eax
je 0x10071422
mov ecx, dword [esi + 0x14]
test byte [ecx + 0xc], 0x20
je 0x1007143f
cmp eax, 1
je 0x1007143f
push esi
push 0
mov dword [esi + 0x5c], 0x1a
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
cmp ebp, 1
jle 0x10071471
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x10071471
mov edx, dword [esp + 0x10]
lea eax, [eax + edx + 1]
cmp ebp, eax
jle 0x10071471
push esi
push 0
mov dword [esi + 0x5c], 0x19
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
mov eax, dword [edi + 0x28]
test ah, 4
je 0x100714ac
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x1007149e
cmp ebp, eax
jle 0x1007149e
push esi
push 0
mov dword [esi + 0x5c], 0x26
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100714c5
inc dword [esp + 0x10]
mov dword [esp + 0xc], 0
jmp 0x100714b4
mov dword [esp + 0xc], 1
mov eax, dword [esi + 0x48]
inc ebp
cmp ebp, eax
jl 0x10071321
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10080d80
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.100a1060
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x10080d9a
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x10080e1b
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10080df3
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
call sym.LIBEAY32.dll_lh_retrieve
add esp, 8
test eax, eax
je 0x10080dd3
mov eax, dword [eax + 8]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push edi
mov edi, 0x100c1334
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
jne 0x10080df3
push ebx
call dword [sym.imp.MSVCR71.dll_getenv]
add esp, 4
test eax, eax
jne 0x10080dcc
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], str.default
mov dword [esp + 0x18], ebx
call sym.LIBEAY32.dll_lh_retrieve
add esp, 8
test eax, eax
jne 0x10080dc9
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push ebx
call dword [sym.imp.MSVCR71.dll_getenv]
add esp, 4
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x10082070
Capabilities:
Query environment variable

Disassembly:
push str.OPENSSL_CONF
call dword [sym.imp.MSVCR71.dll_getenv]
add esp, 4
test eax, eax
je 0x1008208c
push eax
call sym.LIBEAY32.dll_BUF_strdup
add esp, 4
ret
call sym.LIBEAY32.dll_X509_get_default_cert_area
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10082094
push esi
push edi
sub eax, edx
push 0x231
lea edi, [eax + 0xd]
push str..cryptoconfconf_mod.c
push edi
call sym.LIBEAY32.dll_CRYPTO_malloc
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100820be
pop edi
pop esi
ret
push edi
call sym.LIBEAY32.dll_X509_get_default_cert_area
push eax
push esi
call sym.LIBEAY32.dll_BUF_strlcpy
push edi
push 0x100aabe8
push esi
call sym.LIBEAY32.dll_BUF_strlcat
push edi
push str.openssl.cnf
push esi
call sym.LIBEAY32.dll_BUF_strlcat
add esp, 0x24
pop edi
mov eax, esi
pop esi
ret

Function at 0x10082610
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x100eee28]
test eax, eax
jne 0x10082680
call sym.LIBEAY32.dll_OPENSSL_load_builtin_modules
call sym.LIBEAY32.dll_ENGINE_load_builtin_engines
call sym.LIBEAY32.dll_ERR_clear_error
mov eax, dword [esp + 4]
push 0x30
push eax
push 0
call sym.LIBEAY32.dll_CONF_modules_load_file
add esp, 0xc
test eax, eax
jg 0x10082680
push esi
call sym.LIBEAY32.dll_ERR_load_crypto_strings
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x40
push 0
push ecx
call sym.LIBEAY32.dll_BIO_new_fp
mov esi, eax
add esp, 8
test esi, esi
je 0x10082677
push str.Auto_configuration_failed_n
push esi
call sym.LIBEAY32.dll_BIO_printf
push esi
call sym.LIBEAY32.dll_ERR_print_errors
push esi
call sym.LIBEAY32.dll_BIO_free
add esp, 0x10
push 1
call dword [sym.imp.MSVCR71.dll_exit]
pop esi
ret
Function at 0x1008ad00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
jne 0x1008ad25
push 0x164
push str..cryptoengineeng_list.c
push 0x43
push 0x6a
push 0x26
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop ebp
ret
push esi
push edi
push 0x167
push str..cryptoengineeng_list.c
push 0x1e
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
mov eax, dword [0x100eee44]
add esp, 0x10
test eax, eax
mov edi, eax
je 0x1008adb4
push ebx
lea esp, [esp]
mov esi, dword [edi]
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1008ad7c
test cl, cl
je 0x1008ad78
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1008ad7c
add eax, 2
add esi, 2
test cl, cl
jne 0x1008ad54
xor eax, eax
jmp 0x1008ad81
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1008ad8e
mov edi, dword [edi + 0x60]
test edi, edi
jne 0x1008ad50
jmp 0x1008adb3
test byte [edi + 0x48], 4
je 0x1008adb0
call sym.LIBEAY32.dll_ENGINE_new
mov ecx, eax
test ecx, ecx
jne 0x1008ada3
xor edi, edi
jmp 0x1008adb3
push edi
call fcn.1008ac80
add esp, 4
mov edi, ecx
jmp 0x1008adb3
inc dword [edi + 0x4c]
pop ebx
push 0x181
push str..cryptoengineeng_list.c
push 0x1e
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
test edi, edi
je 0x1008add4
mov eax, edi
pop edi
pop esi
pop ebp
ret
mov edi, str.dynamic
mov esi, ebp
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1008ae75
push str.OPENSSL_ENGINES
call dword [sym.imp.MSVCR71.dll_getenv]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1008ae03
mov edi, str._usr_local_ssl_lib_engines
push str.dynamic
call sym.LIBEAY32.dll_ENGINE_by_id
mov esi, eax
add esp, 4
test esi, esi
je 0x1008ae75
push 0
push ebp
push 0x100c35dc
push esi
call sym.LIBEAY32.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1008ae75
push 0
push 0x100b0228
push str.DIR_LOAD
push esi
call sym.LIBEAY32.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1008ae75
push 0
push edi
push str.DIR_ADD
push esi
call sym.LIBEAY32.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1008ae75
push 0
push 0
push str.LOAD
push esi
call sym.LIBEAY32.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1008ae75
pop edi
mov eax, esi
pop esi
pop ebp
ret
push 0x19f
push str..cryptoengineeng_list.c
push 0x74
push 0x6a
push 0x26
call sym.LIBEAY32.dll_ERR_put_error
push ebp
push 0x100c35bc
push 2
call sym.LIBEAY32.dll_ERR_add_error_data
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x101e3715
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10224618]
jne 0x101e371f
repz ret
jmp fcn.101e579d

Function at 0x101e6b0f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101e381c
and dword [ebp - 4], 0
cmp dword [0x102261f8], 0
mov ebx, eax
jne 0x101e6bc0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101e6c71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101e6c71
push eax
call fcn.101e37aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102261f8], eax
call esi
push eax
call fcn.101e37aa
mov dword [esp], 0x101ead34
push edi
mov dword [0x102261fc], eax
call esi
push eax
call fcn.101e37aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10226200], eax
call esi
push eax
call fcn.101e37aa
pop ecx
mov dword [0x10226208], eax
test eax, eax
je 0x101e6bc0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101e37aa
pop ecx
mov dword [0x10226204], eax
mov eax, dword [0x10226204]
cmp eax, ebx
je 0x101e6c18
cmp dword [0x10226208], ebx
je 0x101e6c18
push eax
call fcn.101e3825
push dword [0x10226208]
mov esi, eax
call fcn.101e3825
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101e6c18
test edi, edi
je 0x101e6c18
call esi
test eax, eax
je 0x101e6c0f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101e6c0f
test byte [ebp - 0xc], 1
jne 0x101e6c18
or dword [ebp + 0x10], 0x200000
jmp 0x101e6c51
mov eax, dword [0x102261fc]
cmp eax, ebx
je 0x101e6c51
push eax
call fcn.101e3825
pop ecx
test eax, eax
je 0x101e6c51
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101e6c51
mov eax, dword [0x10226200]
cmp eax, ebx
je 0x101e6c51
push eax
call fcn.101e3825
pop ecx
test eax, eax
je 0x101e6c51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102261f8]
call fcn.101e3825
pop ecx
test eax, eax
je 0x101e6c71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101e6c73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101e88be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10223f98], 0x2590
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x10223f9c], 0x20f1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x101ea574]
mov dl, byte [eax + 0x101ea545]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x101e88e9
lea eax, [ebp - 0x20]
mov dword [0x10223f98], 0x17d7
mov dword [ebp - 0x30], eax
call fcn.101e9cdf
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101e8de7
cmp eax, 0
sete cl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], cl
mov al, byte [ebp - 0x35]
test al, 1
jne 0x101e8a1b
jmp 0x101e894e
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x10223f98]
add ecx, 0xffffff13
mov dword [0x10223f98], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x21cc
mov dword [0x10223f9c], 0x540
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [ebp - 0x40], eax
call fcn.101e9114
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10223f98], 0x148f
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x30], ecx
mov ecx, dword [0x10223f98]
add ecx, 0xffffe6c4
mov dword [0x10223f9c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
mov dword [0x10223f98], 0x1eb3
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x101e8a13
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop ebp
ret
xor eax, eax
add esp, 0x54
pop ebp
ret
Function at 0x101e8a84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0xfffff6eb
mov dword [0x10223fa0], 0
mov dword [0x10223fa4], 0
mov dword [0x10223fb0], 0
mov dword [0x10223f9c], 0x1814
mov dword [0x10223f98], 0xccf
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x101e8c24
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov dword [0x10223f9c], 0x23ff
mov dword [0x10223f98], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10223fa0], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10223fa4], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10223fa8], cl
mov dword [0x10223f98], 0x1881
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10223f98]
add edx, 0xffffe5a3
mov dword [0x10223f98], edx
mov cl, byte [0x10223fa8]
mov edx, dword [0x10223fa4]
mov byte [edi + edx], cl
mov edx, dword [0x10223fa0]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10223fa4]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10223f9c]
mov ecx, edx
add ecx, 0xffffe0ab
mov dword [0x10223f9c], ecx
and ebx, 0xff
mov dword [0x10223fb0], ebx
add edx, 0xffffef40
mov dword [0x10223f98], edx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x10223f9c], 0x24e4
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
mov dword [0x10223f98], 0x3f1
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101e8c24
mov eax, 0xffffee0d
mov ecx, dword [0x10223fa0]
mov edx, dword [0x10223fa4]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x101e8af9
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101e92d7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10223f98], 0x1e9
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101e85e6
lea ecx, [0x101e90ae]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], 0x16a600
mov edx, dword [0x10223f84]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10223f88]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10223f8c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10223f90]
mov dword [esp + 0x50], edx
mov edx, dword [0x10223f94]
mov dword [esp + 0x60], edx
mov dword [0x10223f98], 0x155e
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x101e9381
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x101e939f
mov dword [0x10223f9c], 0x3430
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101e935e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [0x10223f98], 0x281
mov dword [0x10223f9c], 0xfffff2c0
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
call fcn.101e9b47
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101e940b
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101e88be
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x101e9413
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10223fa4], 0
mov byte [0x10223fa8], 0
mov dword [0x10223f98], 0xa7
mov dword [0x10223fa0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10223f98]
add eax, 0xfffffa1a
mov dword [0x10223f9c], eax
mov eax, dword [0x10223fa0]
add eax, 1
mov dword [0x10223fa0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101e9458
mov dword [0x10223f98], 0x9af
mov dword [0x10223fa0], 0
mov eax, 0x9af
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101e94b0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x10223fac], 0
mov dword [0x10223f9c], 0x12e5
mov esi, dword [0x10223fa4]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10223fac], ebx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x2c]
idiv ebx
mov dword [0x10223fa4], edx
add ecx, 0xfffffdd7
mov dword [0x10223f9c], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x10223fa8], cl
mov dword [0x10223f98], 0xb6f
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x10223fa8]
mov edx, dword [0x10223fa4]
mov byte [edi + edx], cl
mov edx, dword [0x10223fa0]
add edx, 1
mov dword [0x10223fa0], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x101e9574
mov eax, dword [0x10223f98]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101e94b0
mov dword [0x10223f9c], 0x2049
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101e9849
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10223f98], 0x1a9c
mov dword [ebp - 0x10], eax
call fcn.101e8c96
xor ecx, ecx
mov edx, eax
mov dword [0x10223f98], 0x281
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x10223f9c], 0xfffff3f2
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101e99bf
jmp 0x101e9942
mov eax, dword [ebp - 0x28]
add eax, 1
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], eax
jb 0x101e9914
jmp 0x101e99bf
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x101e998a
jmp 0x101e995e
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0xfffffd5b
mov dword [0x10223f98], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x48], esi
jmp 0x101e98e9
mov eax, 0x281
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
jmp 0x101e9914
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x101e98e9
mov al, byte [ebp - 0x52]
test al, 1
jne 0x101e9996
jmp 0x101e98af
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
add edx, dword [eax + esi*4]
mov dword [0x10223f98], 0x94
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret