joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b230
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1005b25c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x100ab1dc]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100ab1e4
lea eax, [edi + edi]
push eax
call fcn.1000dfd0
mov eax, dword [0x100ab1dc]
lea ebx, [edi - 1]
mov dword [0x100ab1f0], ebx
mov dword [0x100ab1f4], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1005b396
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x100ab1e4]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x1005b2f4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1005b361
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1005b32e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1005b326
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x1005b361
cmp ebx, edx
je 0x1005b33e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1005b372
cmp ebx, edx
jne 0x1005b332
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1005b396
mov ebx, dword [0x100ab1f0]
jmp 0x1005b2a2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1005b361
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10060740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10060766
push 0
push 0
push dword [ebp + 8]
push 0x10060490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10061270
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100aa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100613ec
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10061387
mov ebx, 1
cmp dword [ebp - 0x20], 0x10
jb 0x1006134a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1006134a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1006134a
mov edx, dword [esi]
test edx, edx
jne 0x10061316
push 0x200
push edx
push dword [0x100ab050]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1006136f
jmp 0x1006133e
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1006133e
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100ab050]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1006136f
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100612d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10061387
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10061387
push eax
push ebx
push dword [0x100ab050]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100613ec
cmp dword [esi], 0
je 0x100613d9
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100613d9
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100613d3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10061100
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100613a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10075fbd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075fbd
mov esp, ebp
pop ebp
ret
Function at 0x10061410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100aa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x100ab840]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10061471
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10075fbd
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10061492
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100614b3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100614b3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100614ad
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100614b3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.10075fbd
mov esp, ebp
pop ebp
ret
Function at 0x10061510
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x100ab848]
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
test edx, edx
je 0x10061544
mov eax, dword [0x100ab840]
add eax, 0x14
nop
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x1006154c
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10061530
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 0xffffffff
je 0x10061602
test ebx, ebx
lea ecx, [ebp - 0x10]
setne al
or edx, 0xffffffff
push eax
call fcn.10061270
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x10061602
mov ecx, dword [0x100ab848]
push edi
cmp esi, ecx
jae 0x100615ba
imul edi, esi, 0x2c
mov eax, dword [0x100ab840]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x100615af
mov edx, ebx
mov ecx, esi
call fcn.10061410
mov dword [ebp - 4], eax
test eax, eax
jne 0x100615ba
mov ecx, dword [0x100ab848]
jmp 0x100615b2
mov eax, dword [ebp - 4]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10061584
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10061601
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100615ef
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100615e9
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100615c8
push ebx
push 0
push dword [0x100ab050]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10067a00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10067a2c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x100ab200]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100ab208
lea eax, [edi + edi]
push eax
call fcn.1000dfd0
mov eax, dword [0x100ab200]
lea ebx, [edi - 1]
mov dword [0x100ab214], ebx
mov dword [0x100ab218], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10067b66
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x100ab208]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10067ac4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10067b31
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10067afe
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10067af6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x10067b31
cmp ebx, edx
je 0x10067b0e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10067b42
cmp ebx, edx
jne 0x10067b02
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10067b66
mov ebx, dword [0x100ab214]
jmp 0x10067a72
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10067b31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10067e10
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x10067e19
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.10067e10
Function at 0x1006bfc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1006bfec
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x100aa4a8]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100aa4b0
lea eax, [edi + edi]
push eax
call fcn.1000dfd0
mov eax, dword [0x100aa4a8]
lea ebx, [edi - 1]
mov dword [0x100aa4bc], ebx
mov dword [0x100aa4c0], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1006c126
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x100aa4b0]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x1006c084
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1006c0f1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1006c0be
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1006c0b6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x1006c0f1
cmp ebx, edx
je 0x1006c0ce
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1006c102
cmp ebx, edx
jne 0x1006c0c2
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1006c126
mov ebx, dword [0x100aa4bc]
jmp 0x1006c032
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1006c0f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1007534e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10075375
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10075378
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1007532a
pop esi
leave
ret 8
Function at 0x10287d57
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102e0170]
jne 0x10287d61
repz ret
jmp fcn.10289a2c

Function at 0x1028aff3
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.10286ba4
and dword [ebp - 4], 0
cmp dword [0x102e194c], 0
mov ebx, eax
jne 0x1028b0a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1028b155
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1028b155
push eax
call fcn.10286b32
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102e194c], eax
call esi
push eax
call fcn.10286b32
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102e1950], eax
call esi
push eax
call fcn.10286b32
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102e1954], eax
call esi
push eax
call fcn.10286b32
pop ecx
mov dword [0x102e195c], eax
test eax, eax
je 0x1028b0a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10286b32
pop ecx
mov dword [0x102e1958], eax
mov eax, dword [0x102e1958]
cmp eax, ebx
je 0x1028b0fc
cmp dword [0x102e195c], ebx
je 0x1028b0fc
push eax
call fcn.10286bad
push dword [0x102e195c]
mov esi, eax
call fcn.10286bad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1028b0fc
test edi, edi
je 0x1028b0fc
call esi
test eax, eax
je 0x1028b0f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1028b0f3
test byte [ebp - 0xc], 1
jne 0x1028b0fc
or dword [ebp + 0x10], 0x200000
jmp 0x1028b135
mov eax, dword [0x102e1950]
cmp eax, ebx
je 0x1028b135
push eax
call fcn.10286bad
pop ecx
test eax, eax
je 0x1028b135
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1028b135
mov eax, dword [0x102e1954]
cmp eax, ebx
je 0x1028b135
push eax
call fcn.10286bad
pop ecx
test eax, eax
je 0x1028b135
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102e194c]
call fcn.10286bad
pop ecx
test eax, eax
je 0x1028b155
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1028b157
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1028bf04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
and dl, dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1028bf41
jmp 0x1028bf7f
mov eax, dword [ebp - 0x1c]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x102df6fc], 0x667
mov eax, dword [ebp - 0x20]
add eax, 1
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
mov dword [ebp - 0x28], eax
jb 0x1028c060
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
jne 0x1028c0c3
jmp 0x1028bfd0
mov dword [0x102df700], 0x25ed
mov dword [0x102df6fc], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x102df6fc], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x102df700], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], dl
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
cmp eax, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
je 0x1028bf41
mov dword [0x102df6fc], 0xe77
mov eax, dword [ebp - 0x30]
add eax, 0x24
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x39]
and bh, bl
test bh, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jne 0x1028c020
jmp 0x1028c030
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1028bf41
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx]
mov dword [0x102df6fc], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x1028bfd0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x20], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x1028c094
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x29], bl
jne 0x1028bf6c
jmp 0x1028bf4c
mov dword [0x102df700], 0xffffc994
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x1028bf41
Function at 0x1028c4f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102df708], 0
mov byte [0x102df70c], 0
mov dword [0x102df6fc], 0x1f87
mov dword [0x102df704], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1028c625
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102df710], 0
mov dword [0x102df6fc], 0x17de
mov edx, dword [0x102df708]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x102df710], edi
mov dword [0x102df700], 0x51e
mov dword [0x102df6fc], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x102df708], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102df70c], cl
mov dword [0x102df6fc], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x102df6fc]
add ecx, 0x1ff7
mov dword [0x102df700], ecx
mov cl, byte [0x102df70c]
mov edx, dword [0x102df708]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x102df6fc], 0x5e6
mov edx, dword [0x102df700]
add edx, 0xfffffd1a
mov dword [0x102df700], edx
mov edx, dword [0x102df704]
add edx, 1
mov dword [0x102df704], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1028c53a
jmp 0x1028c669
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102df704]
add eax, 1
mov dword [0x102df704], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028c625
mov dword [0x102df6fc], 0xd51
mov dword [0x102df704], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1028c53a
mov dword [0x102df6fc], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028caac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102df700], 0x26de
mov dword [ebp - 0x10], eax
call fcn.1028c0d8
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x102df700], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1028cafc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102df6fc], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1028cc19
jmp 0x1028cbb0
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jb 0x1028cbc2
jmp 0x1028cc19
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x48]
add edx, 1
mov ah, byte [ebp - 0x49]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x50], edx
jne 0x1028cbdc
jmp 0x1028cc09
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102df6fc], 0x22a3
mov dword [ebp - 0x30], edi
jmp 0x1028cc19
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x48], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x49], cl
jne 0x1028cb60
mov al, byte [ebp - 0x49]
test al, 1
jne 0x1028cb8b
jmp 0x1028cb37
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret