joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4274f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad3f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x4eb73c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eb73c
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x30], 1
call ebx
cmp eax, 1
jle 0x427617
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.00428ab0
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call ebx
cmp eax, 1
jle 0x4275de
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2 - 2], cx
mov edx, dword [esi]
test edx, edx
jne 0x4275b5
mov ebx, dword [esp + 0x2c]
xor eax, eax
push eax
push edx
mov ecx, ebx
call fcn.00405cab
jmp 0x4275e2
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4275c0
mov ebx, dword [esp + 0x2c]
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.00405cab
jmp 0x4275e2
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x24], 0
add dword [esi + 8], 0xffffffff
jne 0x427601
xor edi, edi
call fcn.00428b90
push esi
call fcn.004876dd
add esp, 4
mov dword [esp + 0x14], edi
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x428bf0
Capabilities:
Compare security identifiers

Disassembly:
push 0xffffffffffffffff
push 0x4aa608
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [0x4ec548]
xor esi, esi
cmp dword [edi], esi
je 0x428cc0
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x428c47
push eax
call ebx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
push 1
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x428cad
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x428cad
cmp dword [esp + 0x10], esi
je 0x428cad
mov ecx, dword [edi]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x428cad
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x428c96
push eax
call ebx
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x428cc0
push eax
call ebx
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x428cf0
Capabilities:
Get token privileges

Disassembly:
push 0xffffffffffffffff
push 0x4ab65b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428d33
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x428e3f
push 0xc
call fcn.00488856
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 1
cmp esi, ebx
je 0x428dac
push 0x1000
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.0048850f
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp ecx, 0x1000
jae 0x428da3
mov edx, 0x1000
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.00489de0
add esp, 0xc
mov dword [esi + 4], 0x1000
jmp 0x428dae
xor esi, esi
mov byte [esp + 0x24], bl
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 2
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push eax
push edi
push 3
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x428e12
xor eax, eax
cmp dword [edi], ebx
jbe 0x428dfe
lea ecx, [edi + 0xc]
jmp 0x428df0
mov dword [ecx], 2
inc eax
add ecx, 0xc
cmp eax, dword [edi]
jb 0x428df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x428e3f
cmp dword [esi + 4], ebx
je 0x428e32
mov eax, dword [esi]
push ebx
push eax
call fcn.0048850f
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push esi
call fcn.004876dd
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428e56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x428e70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ad3f9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x4eb73c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eb73c
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x14]
push eax
mov edi, 0x400
mov dword [esp + 0x1c], 1
call fcn.00428ab0
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push 1
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x428f19
mov edx, dword [esi]
cmp edx, ebx
jne 0x428efc
xor eax, eax
jmp 0x428f10
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428f01
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.00405cab
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x428f37
xor edi, edi
call fcn.00428b90
push esi
call fcn.004876dd
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4292b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aebd2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x4eb73c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eb73c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 1
mov eax, 0x4c2cb8
push 0
test eax, 0xffff0000
jne 0x4293f7
mov ecx, eax
movzx ebp, cx
push ebp
call fcn.00401186
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x429409
mov edx, ebp
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429409
push ebp
push eax
push ebx
call fcn.004010c9
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x429409
movzx ebx, word [ebp]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x429379
push ebx
lea ecx, [esp + 0x14]
call fcn.00407200
mov esi, dword [esp + 0x10]
movzx eax, word [ebp]
lea edx, [ebp + 2]
cmp eax, 0xffffffff
jne 0x4293a0
mov eax, edx
lea ebp, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429390
sub eax, ebp
sar eax, 1
inc eax
lea ecx, [eax + eax]
push ecx
push edx
lea ebp, [ebx + ebx]
push ebp
push esi
call fcn.0048841e
add esp, 0x10
cmp eax, 0x50
ja case.0x4293be.1
movzx edx, byte [eax + 0x4294ec]
jmp dword [edx*4 + 0x4294dc]
push 0x8007000e
call fcn.0040101f
push 0x80070057
call fcn.0040101f
test ebx, ebx
jl case.0x4293be.22
cmp ebx, dword [esi - 8]
jg case.0x4293be.22
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebp], ax
jmp 0x429409
push 0x80004005
call fcn.0040101f
push 0x4c2cb8
lea ecx, [esp + 0x18]
call fcn.00405cab
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], 2
lea ebp, [edi + 0xc]
lea eax, [esp + 0x10]
mov ecx, ebp
call fcn.00428fe0
mov dword [esp + 0x20], 0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp byte [edi + 8], 0
jne 0x42947c
mov eax, dword [edi]
push ebp
push eax
mov byte [edi + 8], 1
call ebx
mov esi, eax
mov eax, dword [edi + 0x260]
cmp esi, eax
je 0x429471
cmp eax, 0xffffffff
je 0x429471
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x260], esi
cmp esi, 0xffffffff
jmp 0x429491
mov eax, dword [edi + 0x260]
cmp eax, 0xffffffff
je 0x4294a9
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4294a9
lea esi, [edi + 0x38]
call fcn.004258b0
test al, al
jne 0x429449
lea eax, [edi + 4]
mov ecx, ebp
call fcn.00428fe0
mov esi, dword [esp + 0x28]
push ebp
push esi
call fcn.00429540
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x429690
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x4296a4
cmp dword [esi + 0x30], 0x40
jbe 0x4297a8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x4297ad
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4297ad
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x4297a8
ja 0x4296ef
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x4297a8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x4297ad
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x4297ad
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x429725
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x429741
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x429758
mov ecx, 0x20b
cmp ax, cx
jne 0x42975b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x4297ad
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x4297ad
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x4297a8
ja 0x429796
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x4297a8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x429970
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [eax + 0x24]
movzx edx, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
lea eax, [edx + ecx + 0x18]
xor edx, edx
test esi, esi
jbe 0x42999f
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x429997
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4299a1
inc edx
add eax, 0x28
cmp edx, esi
jb 0x429987
xor eax, eax
pop esi
pop ebx
ret

Function at 0x4299b0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ebx + 0x24]
movzx ecx, word [eax + 0x14]
push ebp
push esi
movzx esi, word [eax + 6]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x4299df
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x4299d7
mov ebp, dword [ecx + 8]
add ebp, eax
cmp edi, ebp
jb 0x4299e4
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x4299c7
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [ebx + 0x28]
pop ebp
add eax, edi
ret
Function at 0x429d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b05d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x4eb73c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eb73c
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 1
cmp eax, ebx
jbe 0x429e63
cmp eax, 1
jne 0x429e22
test esi, esi
jns 0x429e04
lea eax, [esp + 0x14]
push ebp
push eax
mov ecx, esi
call fcn.00429ad0
add esp, 8
mov dword [esp + 0x20], 2
call fcn.00403933
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x429e57
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00429c80
add esp, 4
mov dword [esp + 0x20], 4
call fcn.00403933
jmp 0x429e3f
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.00429ad0
add esp, 8
mov dword [esp + 0x20], 6
call fcn.00403933
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429e63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x429e80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b1058
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
cmp ecx, 0x64
ja 0x429fad
mov eax, dword [edx]
cmp eax, 0x4e20
jg 0x429fad
inc eax
mov dword [edx], eax
mov eax, dword [ebx + 4]
test eax, eax
jns 0x429f00
push edx
mov edx, dword [esp + 0x3c]
push ebp
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [ebx]
push edx
push ecx
mov ecx, dword [esp + 0x40]
and eax, 0x7fffffff
push edi
add eax, edi
push eax
call fcn.00429fd0
jmp 0x429faf
mov esi, dword [ebx]
push edi
push ecx
lea eax, [esp + 0x44]
push eax
call fcn.00429d60
add esp, 0xc
mov dword [esp + 0x20], 0
mov esi, dword [ebx + 4]
add esi, edi
je 0x429f9c
mov edi, dword [esi]
mov ebx, dword [esp + 0x28]
call fcn.004299b0
lea ecx, [esp + 0x34]
push 0x4c3efc
push ecx
mov ecx, dword [esp + 0x3c]
mov edi, eax
call fcn.00403bf4
mov byte [esp + 0x28], 1
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00403ba1
add esp, 0x10
mov byte [esp + 0x20], 2
mov edx, dword [esi + 4]
push ebp
push edx
push edi
push eax
call dword [esp + 0x48]
mov bl, al
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x28]
call fcn.00403910
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x34]
call fcn.00403910
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00403910
mov al, bl
jmp 0x429faf
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00403910
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x18

Function at 0x42a970
Capabilities:
Read file via mapping

Disassembly:
push edi
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x42a996
test eax, eax
je 0x42a996
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [esi + 4], edi
test eax, eax
je 0x42a9ce
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [esi + 8]
cmp edi, eax
je 0x42a9c2
test eax, eax
je 0x42a9c2
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
cmp edi, eax
mov dword [esi + 8], edi
setne al
pop edi
ret
xor al, al
pop edi
ret
Function at 0x42ab40
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ab364
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.00488856
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x42ab99
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x42ab9b
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x42abe6
mov eax, dword [edi]
push esi
push eax
call fcn.0048850f
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x42abe3
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00489de0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004801ae
mov esi, dword [ebp]
test eax, eax
jne 0x42ac66
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x42ac82
mov eax, dword [esi]
push edi
push eax
call fcn.0048850f
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x42ac4e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00489de0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x42ac82
mov eax, dword [esi]
push 0
push eax
call fcn.0048850f
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x4355c0
Capabilities:
Check for peb ntglobalflag flag
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4afd61
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4d9114]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push edi
mov eax, dword [0x4d9114]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.00435830
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004354f0
mov edi, 1
mov dword [esp + 0x84], edi
push eax
push esi
call fcn.00427f70
add esp, 8
mov dword [esp + 0x14], edi
mov byte [esp + 0x84], bl
mov eax, dword [esp + 0x10]
dec dword [eax + 8]
mov edi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x43569f
cmp dword [edi + 4], ebx
je 0x43568e
mov eax, dword [edi]
push ebx
push eax
call fcn.0048850f
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], ebx
mov edx, dword [esp + 0x10]
push edx
call fcn.004876dd
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004876e8
add esp, 0x7c
ret

Function at 0x435730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
cmp edx, 8
jb 0x435808
mov ecx, dword [edi]
mov esi, edx
shr esi, 3
push ebx
movzx ebx, byte [eax]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
inc eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
xor ebx, ecx
and ebx, 0xff
inc eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
xor ebx, ecx
inc eax
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
inc eax
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
movzx ebx, byte [eax + 1]
inc eax
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x4c6160]
inc eax
sub edx, 8
sub esi, 1
jne 0x435742
mov dword [edi], ecx
pop ebx
test edx, edx
je 0x43582d
mov ecx, dword [edi]
mov edi, edi
movzx esi, byte [eax]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x4c6160]
inc eax
sub edx, 1
jne 0x435810
mov dword [edi], ecx
pop esi
ret

Function at 0x43a6b7
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x43a6db
push esi
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b5978]
mov esi, eax
shl esi, 3
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x43a6c0
pop esi
ret
Function at 0x44663c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
test ebx, ebx
jne 0x44664b
xor eax, eax
leave
ret
push esi
mov esi, dword [ebp + 8]
push 0
push 8
call fcn.00441bda
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x446716
test byte [ebp + 0xc], 1
mov eax, dword [ebx]
mov dword [ecx], eax
jne 0x446680
mov ecx, dword [ebx]
xor eax, eax
inc eax
cmp ecx, eax
jle 0x446680
add eax, eax
cmp eax, ecx
jl 0x44667a
imul eax, eax, 0x18
push edi
push 0
push eax
call fcn.00441bda
mov edx, dword [ebp - 8]
mov edi, eax
pop ecx
pop ecx
mov dword [edx + 4], edi
test edi, edi
jne 0x4466a5
mov ecx, esi
call fcn.004397ce
xor eax, eax
jmp 0x446715
and dword [ebp - 4], 0
cmp dword [ebx], 0
mov esi, dword [ebx + 4]
jle 0x446712
mov eax, dword [esi]
push 0
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0044f7b9
mov dword [edi], eax
push dword [esi + 4]
push dword [ebp + 8]
call fcn.00441d39
mov dword [edi + 4], eax
push dword [esi + 8]
push dword [ebp + 8]
call fcn.00441d39
mov dword [edi + 8], eax
mov al, byte [esi + 0xc]
and dword [edi + 0x10], 0xfffffffe
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x14]
add esp, 0x20
inc dword [ebp - 4]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
add edi, 0x18
add esi, 0x18
cmp eax, dword [ebx]
jl 0x4466b1
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret