joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5122
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4e5186
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4e516f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4e515e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4e514f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4f4591
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
call fcn.0046d7eb
push eax
call fcn.0046d872
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f45c6
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 8], esp
je 0x4f45f6
push 0x6b
push 0x425a6fb
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10
jne 0x4f4620
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0046d9ce
jmp 0x4f46c2
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 1
push 1
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x6aa712
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0048708c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4f4667
push ebx
call fcn.005b82ec
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4f4684
mov eax, 0x66d8c6
push eax
push 2
mov ebx, 0x134
call fcn.005b93d0
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0046d9ce
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4f46c2
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f46d2
push ebx
call fcn.005b82ec
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f4951
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 0x10]
call fcn.0046d7eb
push eax
call fcn.0046d872
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f4994
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x66d8c7]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0046cf90
push eax
call fcn.0046d7eb
push eax
call fcn.0046d872
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f49d5
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 8], eax
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4f49ec
mov eax, 0x66d8c6
push eax
push 1
mov ebx, 0x24c
call fcn.005b9fb0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4f4a11
jmp 0x4f4ab9
lea eax, [ebp - 8]
push eax
call fcn.004f4adf
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004f4bf5
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4f4a36
push ebx
call fcn.005b82ec
add esp, 4
fild dword [ebp + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x66d8cf]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0046cf90
push eax
call fcn.0046d9b2
and eax, 1
xor eax, 1
push reloc.oleaut32.dll_SysReAllocString
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.005b97f0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.kernel32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4aab
push 0x19f
push 0x425e75b
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004708db
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f4ac9
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f4ad9
push ebx
call fcn.005b82ec
add esp, 4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f4ba4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x4f4bdb
push 0x24
push 0x425e7b3
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
mov eax, 0
sete al
jmp 0x4f4bef
mov esp, ebp
pop ebp
ret 4
Function at 0x5188c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x2c
call fcn.005b82e0
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx], 0x66e002
push dword [ebp + 0x10]
call fcn.00473b9e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000006
jne 0x51896d
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call fcn.00475235
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9dc
call fcn.005b97f0
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x51899c
cmp dword [ebp - 4], 0x80000301
jne 0x51898a
push dword [ebp + 0x10]
call fcn.0046d7eb
mov dword [ebp - 0xc], eax
jmp 0x51899c
push 0
push dword [ebp + 8]
call fcn.004708db
jmp 0x518a8b
fild dword [ebp + 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x66d8c7]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0046cf90
push eax
call fcn.0046d7eb
mov dword [ebp - 0x10], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x66d8da]
fstp qword [ebp - 0x30]
push 1
push dword [ebp - 0xc]
fld qword [ebp - 0x30]
call fcn.0046cf90
push eax
push 3
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call fcn.0047b105
mov dword [ebp - 0x14], eax
push reloc.oleaut32.dll_SysStringLen
push 0
push 0x51a1e6
push 1
mov ebx, 0x9dc
call fcn.005b97f0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push 0
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x518a54
push 0x26f
push 0x42a7983
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x518a80
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00471a67
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005b82ec
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55882d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x558859
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5588aa
push 0x4d
push 0x433054f
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x5588bf
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5588e9
push 0x83
push 0x433054f
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x5588f1
mov esp, ebp
pop ebp
ret 4

Function at 0x5663e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.005ba580
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x566425
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x104
xor eax, eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
cmp dword [ebp - 8], esp
je 0x56645a
push 0x5a
push 0x432f45a
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x566525
push 0x80000301
push 0
push 1
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x566486
mov eax, 0x66d8c6
push eax
push 2
mov ebx, 0x138
call fcn.005ba5c0
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x6aa712
push dword [ebp - 8]
call fcn.0046cfb7
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5664ca
push ebx
call fcn.005b82ec
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x566504
push 0x6aa712
push dword [ebp - 4]
mov ecx, 2
call fcn.0046e171
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x566500
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x566520
push eax
mov ebx, eax
call fcn.0046d807
inc eax
push eax
call fcn.005b82e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x56652f
mov eax, 0x66d8c6
jmp 0x56652f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x566540
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x567b6e
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x6db1ce], 0
jne 0x567c19
mov eax, str.__threadStrMap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00567c9b
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x567baf
push ebx
call fcn.005b82ec
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x6db1ce], eax
cmp dword [0x6db1ce], 0
jne 0x567c19
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
nop
nop
cmp dword [ebp - 8], esp
je 0x567bed
push 0xc6
push 0x432f4ae
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [0x6db1ce], eax
push dword [0x6db1ce]
mov eax, str.__threadStrMap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.005680e1
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x567c19
push ebx
call fcn.005b82ec
add esp, 4
mov dword [ebp - 8], esp
push dword [0x6db1ce]
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x567c48
push 0x138
push 0x432f4ae
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x567c8f
call fcn.00567f20
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push dword [0x6db1ce]
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x567c8f
push 0x1b6
push 0x432f4ae
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x567c97
mov esp, ebp
pop ebp
ret
Function at 0x567cc9
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
cmp dword [0x6db1d2], 0
jne 0x567f00
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x184
call fcn.005ba580
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x567d1b
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 8], esp
je 0x567d48
push 0xb8
push 0x432f4b2
push 6
call fcn.005b82f8
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.005b9500
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.__processStrMap_
mov ecx, 2
call fcn.0046e171
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x567d8d
push ebx
call fcn.005b82ec
add esp, 4
mov dword [ebp - 0x18], esp
push 0x40
push dword [ebp - 4]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x567dc1
push 0xb8
push 0x432f4b2
push 6
call fcn.005b82f8
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x567dd1
push ebx
call fcn.005b82ec
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x567de4
mov eax, 0x66d8c6
push eax
push 1
mov ebx, 0x164
call fcn.005bd820
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
fld qword [ebp - 0x14]
call fcn.0046cf90
mov dword [0x6db1d2], eax
cmp dword [0x6db1d2], 0
jne 0x567f00
call fcn.00567f20
mov dword [0x6db1d2], eax
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 8], esp
je 0x567e4a
push 0x1c1
push 0x432f4b2
push 6
call fcn.005b82f8
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.005b9500
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.__processStrMap_
mov ecx, 2
call fcn.0046e171
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x567e8f
push ebx
call fcn.005b82ec
add esp, 4
push 0x80000301
push 0
push dword [0x6db1d2]
push 1
mov ebx, 0x168
call fcn.005b9500
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x567ee0
push 0x1d6
push 0x432f4b2
push 6
call fcn.005b82f8
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x567ef0
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x567f00
push ebx
call fcn.005b82ec
add esp, 4
mov eax, dword [0x6db1d2]
jmp 0x567f0a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x567f1b
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x56a06c
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x56a08d
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x56a084
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x56a07c
mov eax, ebx
leave
ret

Function at 0x56a0b3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x56a112
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x56a13f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x56a12e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x56a11f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x56a165
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x56a106
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x56a9a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0056a032
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x56ab84
push dword [ebp - 4]
call fcn.0056a016
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x56aa75
jmp 0x56ab84
push dword [ebp - 4]
call fcn.0056a016
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x56aac9
lea eax, [ebp - 4]
push eax
call fcn.0056a98b
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0056a23d
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x56aac9
mov eax, 1
jmp 0x56aacb
xor eax, eax
test eax, eax
je 0x56ab79
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x56ab71
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0056a7a8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x56ab60
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0056a964
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x56ab13
add esp, 0xc
jmp 0x56ab84
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x56aa4e
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x56aba5
mov esp, ebp
pop ebp
ret 8

Function at 0x56b4ca
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x56b509
push 0x12
push 0x432f461
push 6
call fcn.005b82f8
add esp, 0xc
jmp 0x56b50e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x56b7df
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x56b7e7
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x56b82c
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x56b82c
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x56b82c
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x56b82c
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x56b830
xor eax, eax
jmp 0x56b85b
nop
push 0
push 0
push 0
call eax
call fcn.0056b860
push 0x700ed6df
push eax
push 0
call fcn.0056b8b3
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x56b860
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x56b88e
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x56b885
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x56b87d
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x56b8af
mov esp, ebp
pop ebp
ret

Function at 0x56b8b3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x56b91f
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x56b94c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x56b93b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x56b92c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x56b972
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x56b913
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x56b99e
mov esp, ebp
pop ebp
ret 0xc