joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fa60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_getenv]
push edi
push str.LIBMYSQL_PLUGINS
call esi
push str.LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN
mov edi, eax
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x41faa3
movsx eax, byte [eax]
push eax
push 0x4bd268
call ebx
add esp, 8
test eax, eax
je 0x41faa3
mov byte [0x812b00], 1
test edi, edi
je 0x41faec
push 0x10
push edi
call fcn.00413e40
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
push 0x3b
push edi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x41fac8
mov byte [esi], 0
mov ecx, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push edi
push ecx
call fcn.0041f990
add esp, 0x10
lea edi, [esi + 1]
test esi, esi
jne 0x41fab7
mov edx, dword [ebp - 4]
push edx
call fcn.00413e00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x78834c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push edi
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x8c], ecx
cmp ecx, esi
je 0x420443
mov esi, dword [sym.imp.MSVCR100.dll__errno]
push ebx
mov bl, byte [ebp + 0x14]
test bl, 0x1a
je 0x4203fe
push edi
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x4203b0
call esi
mov ebx, eax
call esi
mov dword [ebp - 0x88], eax
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x84]
push 0x80
push ecx
call fcn.00419690
mov edx, dword [ebp - 0x88]
add esp, 0xc
push eax
mov eax, dword [edx]
push eax
push edi
call fcn.00420300
push eax
call fcn.00429ba0
add esp, 8
push eax
push 0x24
push 2
jmp 0x4203f6
test bl, 6
je 0x4203fe
call esi
mov ebx, eax
call esi
mov ecx, dword [ebx]
push ecx
lea edx, [ebp - 0x84]
push 0x80
push edx
mov dword [ebp - 0x88], eax
call fcn.00419690
add esp, 0xc
push eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
push ecx
push edi
call fcn.00420300
push eax
call fcn.00429ba0
add esp, 8
push eax
push 0x24
push 9
call fcn.00419740
add esp, 0x14
call esi
cmp dword [eax], 0
pop ebx
je 0x42040c
call esi
mov esi, dword [eax]
jmp 0x42040f
or esi, 0xffffffff
call fcn.00421fc0
push edi
mov dword [eax], esi
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
jne 0x42042a
test byte [ebp + 0x14], 6
je 0x42043d
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472ef6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x8c]
mov dl, byte [ebp + 0x14]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
and eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00472ef6
mov esp, ebp
pop ebp
ret
Function at 0x422560
Capabilities:
Allocate thread local storage

Disassembly:
cmp byte [0x815445], 0
je 0x42256c
xor al, al
ret
mov byte [0x815445], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x81599c], eax
mov eax, ecx
test eax, eax
je 0x4225a8
push eax
push str.Cant_initialize_threads:_error__d_n
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
mov al, 1
ret
mov edx, dword [0x86c0cc]
mov eax, dword [0x4d8ec4]
push esi
mov byte [0x815444], 1
mov ecx, dword [eax + 0x20]
push 0x8158e0
push edx
call ecx
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 8
push 0x8158e0
mov dword [0x8158f8], eax
call esi
mov edx, dword [0x86c0a0]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815940
push edx
call ecx
add esp, 8
push 0x815940
mov dword [0x815958], eax
call esi
mov edx, dword [0x86c0d0]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815960
push edx
call ecx
add esp, 8
push 0x815960
mov dword [0x815978], eax
call esi
mov edx, dword [0x86c0dc]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815820
push edx
call ecx
add esp, 8
push 0x815820
mov dword [0x815838], eax
call esi
call fcn.00422370
test al, al
je 0x422657
mov al, 1
pop esi
ret
mov edx, dword [0x86c0a4]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815980
push edx
call ecx
add esp, 8
push 0x815980
mov dword [0x815998], eax
call esi
mov edx, dword [0x86c0e0]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815900
push edx
call ecx
add esp, 8
push 0x815900
mov dword [0x815918], eax
call esi
mov edx, dword [0x86c0c8]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815880
push edx
call ecx
add esp, 8
push 0x815880
mov dword [0x815898], eax
call esi
mov edx, dword [0x86c080]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x815920
push edx
call ecx
add esp, 8
push 0x815920
mov dword [0x815938], eax
call esi
mov edx, dword [0x86c0e8]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x20]
push 0x8159a0
push edx
call ecx
add esp, 8
push 0x8159a0
mov dword [0x8159b8], eax
call esi
mov edx, dword [0x86c0f8]
mov eax, dword [0x4d8ec4]
mov ecx, dword [eax + 0x30]
push 0x8158a0
push edx
call ecx
push 0
push 0x8158a0
mov dword [0x8158cc], eax
call fcn.00459750
add esp, 0x10
call fcn.00422040
xor al, al
pop esi
ret

Function at 0x42a130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x42a13e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
call fcn.00429d80
add esp, 4
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42a17e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x42a13a
cmp eax, 0x6d
je 0x42a13a
push eax
call fcn.0045b0d0
add esp, 4
or eax, 0xffffffff
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x42a250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
test edi, edi
jne 0x42a267
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.00429da0
test al, 8
je 0x42a298
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
lea edx, [ebp - 0x14]
push esi
call fcn.00429d80
add esp, 4
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
jne 0x42a2ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045b0d0
add esp, 4
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x42a510
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call fcn.00429d80
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 4
push 2
push 0
push 0
lea ecx, [ebp - 4]
push ecx
mov esi, eax
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42a55d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045b0d0
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push 0
push edx
call dword [sym.imp.MSVCR100.dll__open_osfhandle]
mov edi, eax
add esp, 8
test edi, edi
js 0x42a554
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call dword [sym.imp.MSVCR100.dll__fstat64]
mov esi, eax
add esp, 8
test esi, esi
jne 0x42a595
mov eax, dword [ebp - 4]
add ebx, 0x18
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.MSVCR100.dll__close]
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433990
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
movsx eax, byte [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_toupper]
lea ecx, [eax - 0x41]
add esp, 4
cmp cl, 0x19
ja 0x4339cb
movsx ecx, al
sub ecx, 0x41
mov edx, 1
shl edx, cl
test esi, edx
je 0x4339cb
mov eax, 1
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x434be0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00434bc0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp edi, 0x40
ja 0x434c06
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.0047322e
add esp, 0xc
jmp 0x434c28
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 4]
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
call edx
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
push ecx
lea ecx, [esi + 0x10]
call edx
mov edi, 0x10
pop ebx
mov ecx, dword [esi]
mov eax, 0x40
sub eax, edi
push eax
add ecx, edi
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [eax + edx], cl
mov ecx, dword [esi]
xor byte [ecx + eax], 0x36
mov edx, dword [esi]
movzx ecx, byte [edx + eax + 1]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 1], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 1], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 1]
movzx ecx, byte [edx + eax + 2]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 2], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 2], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 2]
movzx ecx, byte [edx + eax + 3]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 3], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 3], 0x36
lea ecx, [ecx + eax + 3]
add eax, 4
cmp eax, 0x40
jb 0x434c41
pop edi
pop esi
pop ebp
ret 8

Function at 0x434ce0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00434cc0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp edi, 0x40
ja 0x434d06
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.0047322e
add esp, 0xc
jmp 0x434d28
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 4]
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
call edx
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
push ecx
lea ecx, [esi + 0x10]
call edx
mov edi, 0x14
pop ebx
mov ecx, dword [esi]
mov eax, 0x40
sub eax, edi
push eax
add ecx, edi
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [eax + edx], cl
mov ecx, dword [esi]
xor byte [ecx + eax], 0x36
mov edx, dword [esi]
movzx ecx, byte [edx + eax + 1]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 1], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 1], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 1]
movzx ecx, byte [edx + eax + 2]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 2], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 2], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 2]
movzx ecx, byte [edx + eax + 3]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 3], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 3], 0x36
lea ecx, [ecx + eax + 3]
add eax, 4
cmp eax, 0x40
jb 0x434d41
pop edi
pop esi
pop ebp
ret 8
Function at 0x434de0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00434dc0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp edi, 0x40
ja 0x434e06
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.0047322e
add esp, 0xc
jmp 0x434e28
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 4]
push ebx
push edi
push eax
lea ecx, [esi + 0x10]
call edx
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 8]
push ecx
lea ecx, [esi + 0x10]
call edx
mov edi, 0x14
pop ebx
mov ecx, dword [esi]
mov eax, 0x40
sub eax, edi
push eax
add ecx, edi
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edx, dword [esi]
movzx ecx, byte [edx + eax]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [eax + edx], cl
mov ecx, dword [esi]
xor byte [ecx + eax], 0x36
mov edx, dword [esi]
movzx ecx, byte [edx + eax + 1]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 1], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 1], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 1]
movzx ecx, byte [edx + eax + 2]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 2], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 2], 0x36
mov edx, dword [esi]
lea ecx, [ecx + eax + 2]
movzx ecx, byte [edx + eax + 3]
mov edx, dword [esi + 4]
xor cl, 0x5c
mov byte [edx + eax + 3], cl
mov ecx, dword [esi]
xor byte [ecx + eax + 3], 0x36
lea ecx, [ecx + eax + 3]
add eax, 4
cmp eax, 0x40
jb 0x434e41
pop edi
pop esi
pop ebp
ret 8
Function at 0x438760
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret

Function at 0x439630
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x440920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
test ebx, ebx
je 0x44095c
push edi
nop
mov ecx, dword [ebp + 0x10]
push 0xfeedbeef
call fcn.0045bcb0
mov ecx, dword [ebp + 0x14]
push 0xfeedbeef
mov edi, eax
call fcn.0045bcb0
mov cl, byte [edi]
xor cl, byte [eax]
mov edx, dword [ebp + 8]
mov byte [esi + edx], cl
inc esi
cmp esi, ebx
jb 0x440930
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x443b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493d2e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78834c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.0045b9e0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0045b9e0
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4444e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493e94
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x78834c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x48]
push eax
mov dword [ebp - 4], 4
call fcn.00432090
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.00432090
mov ecx, dword [esi + 0x58]
mov byte [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
xor eax, eax
push eax
push ecx
call fcn.004444a0
mov ecx, dword [esi + 0x24]
mov byte [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
xor eax, eax
push eax
push ecx
call fcn.004320d0
mov ecx, dword [esi]
mov byte [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
xor eax, eax
push eax
push ecx
call fcn.004320d0
add esp, 0x2c
lea ecx, [esi + 0x58]
call fcn.00443b40
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0045bd00
lea ecx, [esi + 0x24]
call fcn.004310c0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
call fcn.0045bd00
mov ecx, esi
call fcn.004310c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x78834c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebx + 0x64]
push edx
push eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x18]
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x30]
push eax
push ecx
push edx
push ebx
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
lea eax, [ebp - 0x24]
push eax
call ecx
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x24]
push edx
call eax
add esp, 0x24
test eax, eax
jle 0x452cff
nop
mov ecx, dword [edi]
mov edx, ecx
and edx, 0x3f
add edx, dword [esi]
mov ebx, eax
sar ebx, 8
imul edx, ebx
mov ebx, ecx
shl ebx, 8
add edx, ebx
xor edx, ecx
mov dword [edi], edx
add dword [esi], 3
mov ecx, dword [edi]
mov ebx, ecx
and ebx, 0x3f
add ebx, dword [esi]
movzx eax, al
imul ebx, eax
mov edx, ecx
shl edx, 8
add ebx, edx
xor ebx, ecx
mov ecx, dword [ebp - 0x28]
mov dword [edi], ebx
add dword [esi], 3
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x24]
push eax
call edx
add esp, 4
test eax, eax
jg 0x452cb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00472ef6
mov esp, ebp
pop ebp
ret

Function at 0x456060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 8
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
test eax, eax
je 0x4560a6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], edx
test ecx, ecx
je 0x456088
mov ecx, dword [ecx]
jmp 0x45608a
xor ecx, ecx
mov edx, dword [ebp + 8]
push edx
push 0
push eax
push 0x456030
push ecx
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x4560b0
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebp
ret

Function at 0x457470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, eax
or ecx, esi
or ecx, edx
test cl, 3
jne 0x4574a1
shr edx, 2
test edx, edx
je 0x4574b9
mov ecx, esi
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x457493
pop esi
pop ebp
ret
test edx, edx
je 0x4574b9
mov ecx, esi
sub ecx, eax
mov esi, edx
jmp 0x4574b0
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x4574b0
pop esi
pop ebp
ret
Function at 0x458c10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x30], 0
jne 0x458c1f
pop ebp
jmp fcn.004580b0
pop ebp
jmp fcn.00458660

Function at 0x45b230
Capabilities:
Get inbound credentials handle via credssp
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4954cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x78834c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esi], vtable.Handshake.0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov word [esi + 0x2c], bx
mov byte [esi + 0x2e], bl
call fcn.0045b1c0
xor edx, edx
cmp dword [ebp + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
push ecx
push ebx
push ebx
setne dl
push ebx
push ebx
mov dword [ebp - 4], ebx
inc edx
push edx
push eax
push ebx
call sub.Secur32.dll_AcquireCredentialsHandleA
mov edi, eax
cmp edi, ebx
je 0x45b2b2
push str.Could_not_obtain_local_credentials_required_for_authentication
call fcn.0042aa80
add esp, 4
mov dword [esi + 0x28], edi
mov eax, esi
mov byte [esi + 0x2d], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45c020
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret

Function at 0x45c050
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x6a09e667
mov dword [ecx + 0x14], 0xbb67ae85
mov dword [ecx + 0x18], 0x3c6ef372
mov dword [ecx + 0x1c], 0xa54ff53a
mov dword [ecx + 0x20], 0x510e527f
mov dword [ecx + 0x24], 0x9b05688c
mov dword [ecx + 0x28], 0x1f83d9ab
mov dword [ecx + 0x2c], 0x5be0cd19
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret

Function at 0x45c0f0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0xf3bcc908
mov dword [ecx + 0x14], 0x6a09e667
mov dword [ecx + 0x18], 0x84caa73b
mov dword [ecx + 0x1c], 0xbb67ae85
mov dword [ecx + 0x20], 0xfe94f82b
mov dword [ecx + 0x24], 0x3c6ef372
mov dword [ecx + 0x28], 0x5f1d36f1
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0xade682d1
mov dword [ecx + 0x34], 0x510e527f
mov dword [ecx + 0x38], 0x2b3e6c1f
mov dword [ecx + 0x3c], 0x9b05688c
mov dword [ecx + 0x40], 0xfb41bd6b
mov dword [ecx + 0x44], 0x1f83d9ab
mov dword [ecx + 0x48], 0x137e2179
mov dword [ecx + 0x4c], 0x5be0cd19
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x45c170
Capabilities:
Hash data using sha224

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0xc1059ed8
mov dword [ecx + 0x14], 0xcbbb9d5d
mov dword [ecx + 0x18], 0x367cd507
mov dword [ecx + 0x1c], 0x629a292a
mov dword [ecx + 0x20], 0x3070dd17
mov dword [ecx + 0x24], 0x9159015a
mov dword [ecx + 0x28], 0xf70e5939
mov dword [ecx + 0x2c], 0x152fecd8
mov dword [ecx + 0x30], 0xffc00b31
mov dword [ecx + 0x34], 0x67332667
mov dword [ecx + 0x38], 0x68581511
mov dword [ecx + 0x3c], 0x8eb44a87
mov dword [ecx + 0x40], 0x64f98fa7
mov dword [ecx + 0x44], 0xdb0c2e0d
mov dword [ecx + 0x48], 0xbefa4fa4
mov dword [ecx + 0x4c], 0x47b5481d
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x460270
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret