joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb070
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x534008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4b3537
cmp byte [eax + 0x54], 0
je 0x4b3537
add eax, 0x1c
lea ecx, [ebp - 0x34]
push eax
call fcn.0040f1b0
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00478b80
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x4b34d2
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b351c
push 2
push 0
push 0
push esi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040a1a0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5edc
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb8ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004c22d0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004b5eed
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.00484850
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c6720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eb920
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x4c6785
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x4c6775
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x4c67b5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x24]
call fcn.0040a260
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.004c5960
push 0x5309a8
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.0040a260
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.004c5960
push 0x5309a8
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x4070cd
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407112
push esi
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x407111
push 0xc00
mov ecx, esi
call dword [0x41b2b0]
call esi
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004095f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
dec eax
cmp eax, 0x102
ja 0x40714f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x421398
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407989
leave
ret

Function at 0x4071e7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x41c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.004095f0
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.004095f0
add esp, 0x18
mov dword [ebp - 0x420], ebx
mov ecx, 0x105
mov dword [ebp - 0x428], ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], ebx
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x42280c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, 0x104
test eax, eax
je 0x407287
push 0xa
push edi
push esi
push dword [ebp - 0x420]
call fcn.0040cf82
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4072a1
push str.thsnYaViMRAeBoda
mov edx, edi
mov ecx, esi
call fcn.00403aa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0x40b418
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.0040b024
push eax
push esi
push dword [ebp + 8]
call fcn.0040afd9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040b024
push eax
push esi
push dword [ebp + 8]
call fcn.0040afd9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040b014
test dword [edx + edi*2], 0x7c9d8820
invalid
Function at 0x40b756
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b6eb
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b709
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
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b767
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b74e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b757
or byte [eax + ecx], 2
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
cmp dword [ebp + 0x10], ebx
je 0x40b761
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b743
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b6cd
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40b7b4
dec eax
je 0x40b7ab
sub eax, 3
je 0x40b7a2
mov dword [ebp - 4], 0x40
jmp 0x40b7d1
mov dword [ebp - 4], 4
jmp 0x40b7b7
mov dword [ebp - 4], 0x20
jmp 0x40b7b7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40b803
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40b783
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040b014
inc eax
cmp al, 1
in eax, 0xff
jne 0x40b80e
push 1
push esi
call edi
mov eax, esi
jmp 0x40b80f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cfb5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40cff7
lea eax, [ebp - 0x714]
push eax
call fcn.0040b024
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040afd9
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40cff7
jmp fcn.0040c9b6
cmp dword [ebp - 0x37c], 0
je 0x40d005
jmp 0x40d0ba
push 0
push 0
push 2
push 0
push 2
push 0x40000000
invalid
mov ch, 0x60
cld
invalid
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x58c3590b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3ad06132
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4458a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2d90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5519c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004ae8a7
mov edi, eax
add esp, 4
test edi, edi
je 0x44594d
push 1
mov dword [ebp - 4], 0
call fcn.004ad0fa
add esp, 4
mov dword [edi + 4], eax
jmp 0x44594f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00447a20
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x554f6c]
mov ecx, dword [0x554f70]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
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 0x448d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d304d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5519c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004ae8a7
mov edi, eax
add esp, 4
test edi, edi
je 0x448e0d
push 1
mov dword [ebp - 4], 0
call fcn.004ad0fa
add esp, 4
mov dword [edi + 4], eax
jmp 0x448e0f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00445710
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x448e6a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x448e6a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x448e86
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x448ea9
cmp byte [ebp + 0xc], 0
je 0x448e95
push esi
call fcn.004ae131
add esp, 4
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
test cl, 4
je 0x448eb5
mov esi, str.ios_base::badbit_set
jmp 0x448ec5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004419a0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0043d780
push 0x53ec3c
lea eax, [ebp - 0x28]
push eax
call fcn.004affa3
int3
Function at 0x451be0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x555180], 0
push esi
mov esi, ecx
jne 0x451c22
xor eax, eax
nop
mov edx, eax
mov cl, al
and dl, 0x80
neg dl
sbb dl, dl
add cl, cl
and dl, 0x1d
xor dl, cl
movzx ecx, dl
xor ecx, eax
mov byte [eax + 0x554f80], dl
mov byte [ecx + 0x555080], al
inc eax
cmp eax, 0x100
jb 0x451bf0
mov byte [0x555180], 1
mov eax, esi
pop esi
ret

Function at 0x451c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov eax, edi
mov dword [ebp - 4], esi
imul eax, edx
mov dword [ebp - 8], eax
test edi, edi
je 0x451ccb
push ebx
mov eax, esi
mov ecx, esi
shr eax, 1
and ecx, 1
imul eax, dword [ebp + 0x18]
xor bh, bh
xor bl, bl
add eax, ecx
test edx, edx
je 0x451ca1
mov esi, dword [ebp - 8]
mov edi, edx
nop dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
add edx, eax
xor bl, byte [eax + ecx]
movzx ecx, byte [eax + ecx]
movzx eax, bh
xor ecx, eax
mov eax, edx
sub eax, esi
cmp edx, esi
cmovb eax, edx
mov bh, byte [ecx + 0x554f80]
sub edi, 1
jne 0x451c70
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
movzx eax, bh
movzx ecx, byte [eax + 0x554f80]
movzx eax, bl
xor ecx, eax
mov eax, dword [ebp + 8]
add eax, esi
inc esi
mov dword [ebp - 4], esi
mov cl, byte [ecx + 0x555080]
mov byte [eax], cl
xor cl, bl
mov byte [eax + edi], cl
cmp esi, edi
jb 0x451c50
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4551f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push esi
cmp dword [ebp + 0x14], eax
je 0x455228
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ecx + 0x4eed28]
mov dword [ebp - 4], ecx
sub edi, ebx
mov esi, dword [ebp - 4]
lea edx, [eax + ebx]
mov cl, byte [edi + edx]
xor cl, byte [esi + eax]
inc eax
mov byte [edx], cl
cmp eax, dword [ebp + 0x14]
jb 0x455212
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4604d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
push esi
mov esi, ecx
movlpd qword [ebp - 8], xmm0
jb 0x460533
ja 0x4604ef
cmp dword [ebp + 0xc], 0
jbe 0x460533
push ebx
mov ebx, dword [ebp - 4]
push edi
mov edi, dword [ebp - 8]
nop word [eax + eax]
mov eax, dword [ebp + 8]
movzx edx, word [esi]
movzx ecx, byte [edi + eax]
mov eax, edx
shr eax, 8
xor ecx, eax
shl edx, 8
xor dx, word [ecx*2 + 0x4f00e8]
add edi, 1
mov word [esi], dx
adc ebx, 0
cmp ebx, dword [ebp + 0x10]
jb 0x460500
ja 0x460531
cmp edi, dword [ebp + 0xc]
jb 0x460500
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5835
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5519c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ecx, dword [esi]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 4]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], ecx
cmp byte [eax + 0xd], 0
jne 0x46d561
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
cmp dword [ebx + 0x14], 0xf
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, ebx
jbe 0x46d520
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x46d52b
mov eax, dword [eax]
push dword [ebp - 0x1c]
push ecx
push edx
push eax
call fcn.00455cc0
add esp, 0x10
test eax, eax
je 0x46d54b
jns 0x46d54b
mov esi, dword [esi + 8]
mov dword [ebp - 0x10], 0
jmp 0x46d556
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x46d510
mov esi, dword [ebp - 0x18]
jmp 0x46d564
mov dword [ebp + 0xc], ecx
cmp byte [edi + 0xd], 0
jne 0x46d5b5
cmp dword [edi + 0x24], 0xf
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x46d578
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x46d582
mov ecx, dword [ebx]
push edx
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push ecx
call fcn.00455cc0
add esp, 0x10
test eax, eax
je 0x46d598
js 0x46d5b5
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
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
cmp dword [esi + 4], 0x4ec4ec4
je 0x46d646
mov dword [ebp - 0x20], esi
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004ae8a7
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.00445b50
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
mov dword [edi + 0x28], 0
push dword [ebp - 0x14]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.00458110
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 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
call fcn.00458570
int3
Function at 0x472380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
test esi, esi
je 0x4723b2
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
sub eax, ecx
mov al, byte [eax + edi + 4]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jb 0x472395
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x477d90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5519c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x67452301
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 0xefcdab89
push edi
mov edi, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], 0x98badcfe
mov dword [ebp - 8], 0x10325476
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test eax, eax
je 0x477e16
push esi
push eax
mov ecx, edi
call fcn.00477cf0
mov esi, dword [edi]
lea ecx, [ebp - 0x14]
lea eax, [ebp - 4]
sub eax, ecx
push eax
mov dword [ebp - 0x18], eax
mov eax, ecx
push eax
push esi
call fcn.004b03c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
sar eax, 2
lea ecx, [esi + eax*4]
mov dword [edi + 4], ecx
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004ae8e5
mov esp, ebp
pop ebp
ret 4

Function at 0x4780e0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5519c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x67452301
lea eax, [ebp - 4]
mov dword [ebp - 0x14], 0xefcdab89
push edi
mov edi, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
mov dword [ebp - 8], 0xc3d2e1f0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test eax, eax
je 0x47816d
push esi
push eax
mov ecx, edi
call fcn.00477cf0
mov esi, dword [edi]
lea ecx, [ebp - 0x18]
lea eax, [ebp - 4]
sub eax, ecx
push eax
mov dword [ebp - 0x1c], eax
mov eax, ecx
push eax
push esi
call fcn.004b03c0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
sar eax, 2
lea ecx, [esi + eax*4]
mov dword [edi + 4], ecx
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004ae8e5
mov esp, ebp
pop ebp
ret 4