joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40441e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
lea ecx, [ebp - 0x1c]
push ecx
or eax, 0x20019
push eax
push edi
push edi
push 0x80000003
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x404528
push ebx
push 8
pop esi
mov ebx, 0x104
push ebx
call fcn.0040112e
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x40451e
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push edi
push edi
push edi
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0xea
jne 0x4044d0
cmp dword [ebp - 8], ebx
jbe 0x4044a8
inc dword [ebp - 4]
xor esi, esi
jmp 0x4044f2
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jbe 0x404516
push dword [ebp - 0x14]
call fcn.00401143
mov eax, dword [ebp - 0xc]
push eax
mov dword [ebp - 0x10], eax
call fcn.0040112e
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4044a4
push 8
pop esi
jmp 0x404516
cmp esi, edi
jne 0x40450c
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040327f
mov esi, eax
cmp esi, edi
jne 0x40450c
push edi
push dword [0x409864]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x404472
jmp 0x404516
cmp esi, 0x103
jne 0x404516
xor esi, esi
push dword [ebp - 0x18]
call fcn.00401143
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x40491a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x404999
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x40495b
mov esi, 0xe8
jmp 0x4049a1
lea eax, [esi + 1]
push eax
call fcn.0040112e
mov edi, eax
cmp edi, ebx
je 0x404999
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404999
cmp esi, dword [ebp - 4]
je 0x404988
push 0x1e
pop esi
jmp 0x4049a1
mov eax, dword [ebp + 0xc]
mov byte [esi + edi], bl
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor esi, esi
jmp 0x4049a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp + 8], 0xffffffff
je 0x4049b0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x4049be
cmp esi, ebx
je 0x4049be
push edi
call fcn.00401143
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4049c7
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push 0x80
push 4
push esi
push esi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4049f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x404a25
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404a16
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x404a1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x404a2d
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push edi
xor esi, esi
push esi
push esi
call ebx
mov edi, eax
test edi, edi
je 0x404a8f
lea eax, [edi + 0x1d]
push eax
call fcn.0040112e
mov esi, eax
test esi, esi
je 0x404a8f
push esi
push edi
call ebx
test eax, eax
je 0x404a87
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [esp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x404a87
push 0x40a323
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x404a8f
push esi
call fcn.00401143
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x404a97
Capabilities:
Create directory
Get common file path

Disassembly:
push esi
push dword [esp + 8]
call fcn.00404a2d
mov esi, eax
test esi, esi
je 0x404b1a
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
je 0x404ad0
lea ecx, [esi + 4]
cmp eax, ecx
jbe 0x404ad0
cmp dword [eax - 5], 0x776f4c5c
jne 0x404ad0
push eax
add eax, 0xfffffffc
push eax
call ebx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push esi
call edi
push 0
push esi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x404b10
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, dword [esp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x404b10
push 0x40a323
push esi
call edi
push eax
call ebx
jmp 0x404b18
push esi
call fcn.00401143
xor esi, esi
pop edi
pop ebx
mov eax, esi
pop esi
ret 4
Function at 0x404b4a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [edi + 0x3c]
and dword [ebp - 0x14], 0
add eax, edi
mov ecx, 0x14c
cmp word [eax + 4], cx
jne 0x404b69
add eax, 0x78
jmp 0x404b6e
add eax, 0x88
mov ecx, dword [eax]
push ebx
lea ebx, [ecx + edi]
test ecx, ecx
je 0x404c4e
cmp dword [eax + 4], 0
je 0x404c4e
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x404c4e
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x404c4e
mov edx, dword [ebp + 8]
push esi
lea esi, [eax + edi]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], edx
test edx, edx
je 0x404bba
cmp edx, 0xffff
ja 0x404bba
mov dword [ebp - 0xc], ecx
jmp 0x404bc4
mov eax, dword [ebx + 0x18]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x404c3f
mov esi, dword [ebx + 0x20]
and dword [ebp - 8], 0
add eax, edi
add esi, edi
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
jbe 0x404c4d
cmp dword [ebp - 4], 0
je 0x404bf0
movzx eax, word [eax]
add eax, dword [ebx + 0x10]
cmp dword [ebp - 4], eax
jmp 0x404c17
mov eax, dword [esi]
add eax, edi
test edx, edx
je 0x404c04
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jmp 0x404c17
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esi]
add edx, edi
call fcn.00404cfa
cmp dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
je 0x404c34
add esi, 4
inc eax
inc eax
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebp - 0xc]
jae 0x404c4d
mov edx, dword [ebp + 8]
jmp 0x404bdf
movzx eax, word [eax]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
jmp 0x404c4a
mov eax, dword [ebp - 4]
test eax, eax
je 0x404c4d
lea eax, [esi + eax*4 - 4]
mov dword [ebp - 0x14], eax
pop esi
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 8

Function at 0x404c56
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [eax + ecx + 0x18]
movzx eax, word [ecx + 6]
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push edi
mov edi, dword [edx + 0xc]
cmp dword [ebp + 8], edi
jb 0x404c91
mov esi, dword [ecx + 0x3c]
mov ebx, dword [edx + 0x10]
lea ebx, [ebx + esi - 1]
dec esi
not esi
and ebx, esi
add ebx, edi
cmp dword [ebp + 8], ebx
jb 0x404ca3
add dword [ebp - 4], 0xffff
add edx, 0x28
cmp word [ebp - 4], ax
jne 0x404c73
jmp 0x404cab
mov eax, dword [edx + 0x14]
sub eax, edi
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x404cfa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
test edx, edx
je 0x404d3e
or eax, 0xffffffff
test esi, esi
je 0x404d3a
push edi
mov cl, byte [edx]
movzx ecx, cl
mov edi, ecx
xor edi, eax
and edi, 0xf
shr eax, 4
xor eax, dword [edi*4 + 0x4073d0]
shr ecx, 4
mov edi, eax
and edi, 0xf
xor ecx, edi
shr eax, 4
xor eax, dword [ecx*4 + 0x4073d0]
dec esi
inc edx
test esi, esi
jne 0x404d09
pop edi
not eax
jmp 0x404d40
xor eax, eax
not eax
pop esi
ret
Function at 0x404d8d
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov cl, byte [eax]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
mov byte [esi], cl
inc esi
inc eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
call fcn.00404d44
test eax, eax
je 0x404ec0
call fcn.00404d44
test eax, eax
je 0x404e38
call fcn.00404d44
xor edi, edi
test eax, eax
je 0x404e01
push 4
pop esi
lea ecx, [ebp - 0x18]
call fcn.00404d44
dec esi
lea edi, [eax + edi*2]
jne 0x404dd6
mov eax, dword [ebp - 0x14]
test edi, edi
je 0x404df6
mov ecx, dword [ebp - 0x14]
sub eax, edi
mov al, byte [eax]
mov byte [ecx], al
jmp 0x404df9
mov byte [eax], 0
inc dword [ebp - 0x14]
jmp 0x404ed0
mov eax, dword [ebp - 0x18]
movzx esi, byte [eax]
inc dword [ebp - 0x18]
inc edi
mov eax, esi
and eax, edi
inc eax
inc eax
shr esi, 1
je 0x404e2e
test eax, eax
je 0x404e31
mov ecx, dword [ebp - 0x14]
sub ecx, esi
mov ebx, dword [ebp - 0x14]
mov dl, byte [ecx]
inc dword [ebp - 0x14]
inc ecx
dec eax
mov byte [ebx], dl
jne 0x404e1e
jmp 0x404e31
mov dword [ebp - 8], edi
mov ebx, esi
jmp 0x404ed2
call fcn.00404d74
test edi, edi
jne 0x404e6c
cmp eax, 2
jne 0x404e67
lea ecx, [ebp - 0x18]
call fcn.00404d74
test eax, eax
je 0x404ebb
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
mov esi, dword [ebp - 0x14]
mov dl, byte [ecx]
inc dword [ebp - 0x14]
inc ecx
dec eax
mov byte [esi], dl
jne 0x404e57
jmp 0x404ebb
sub eax, 3
jmp 0x404e6e
dec eax
dec eax
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx]
shl eax, 8
add eax, ecx
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00404d74
cmp esi, 0x7d00
jb 0x404e8f
inc eax
cmp esi, 0x500
jb 0x404e98
inc eax
cmp esi, 0x80
jae 0x404ea2
inc eax
inc eax
test eax, eax
je 0x404eb9
mov ecx, dword [ebp - 0x14]
sub ecx, esi
mov edi, dword [ebp - 0x14]
mov dl, byte [ecx]
inc dword [ebp - 0x14]
inc ecx
dec eax
mov byte [edi], dl
jne 0x404eab
mov ebx, esi
xor edi, edi
inc edi
jmp 0x404ed2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov al, byte [eax]
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov byte [ecx], al
xor edi, edi
cmp dword [ebp - 8], 0
je 0x404daf
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x405109
Capabilities:
Execute syscall

Disassembly:
mov eax, dword [esp + 4]
lea edx, [esp + 8]
int 0x2e
ret 0xc

Function at 0x405490
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword fs:[0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov esp, ebp
pop ebp
ret 4
Function at 0x406811
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x406842
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x406849
cmp ebx, dword [ebp + 8]
jae 0x406849
xor eax, eax
jmp 0x406a2f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40685a
xor eax, eax
inc eax
jmp 0x406a2e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40686c
cmp ecx, edx
jae 0x4068d0
cmp dword [eax + 4], 0
je 0x406875
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x406861
cmp dword [ebp + 8], 0
je 0x40688f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4068d0
cmp eax, esi
jae 0x4068d0
mov ecx, dword [0x4098b0]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x4068b1
cmp dword [eax*4 + 0x4098b8], esi
je 0x4068d7
inc eax
cmp eax, ecx
jl 0x4068a3
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x406947
mov eax, dword [ebp + 8]
jmp 0x406949
xor eax, eax
jmp 0x406a2e
test eax, eax
jle 0x406852
xor edx, edx
mov ebx, 0x4098f8
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x406852
cmp dword [eax*4 + 0x4098b8], esi
je 0x406926
lea eax, [ecx - 1]
test eax, eax
jl 0x406913
cmp dword [eax*4 + 0x4098b8], esi
je 0x40690f
dec eax
jns 0x406903
test eax, eax
jge 0x406924
cmp ecx, 0x10
jge 0x40691f
inc ecx
mov dword [0x4098b0], ecx
lea eax, [ecx - 1]
jmp 0x406926
je 0x40693e
xor edx, edx
test eax, eax
jl 0x40693e
lea ecx, [edx*4 + 0x4098b8]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x40692c
xor eax, eax
xchg dword [ebx], eax
jmp 0x406852
xor eax, eax
test eax, eax
je 0x406a2c
cmp dword [ebp - 8], 0x1000000
jne 0x406a2c
test byte [ebp - 0xc], 0xcc
je 0x4069be
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x406a2c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406a2c
cmp word [eax + 0x18], 0x10b
jne 0x406a2c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x406a2c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4069be
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4069be
test byte [ecx + 0x27], 0x80
jne 0x4068d0
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x4098f8
xchg dword [edx], ecx
test ecx, ecx
jne 0x406a2e
mov ecx, dword [0x4098b0]
test ecx, ecx
mov edx, ecx
jle 0x4069ed
lea eax, [ecx*4 + 0x4098b4]
cmp dword [eax], esi
je 0x4069ed
dec edx
sub eax, 4
test edx, edx
jg 0x4069e1
test edx, edx
jne 0x406a1e
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4069fa
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x406a12
lea eax, [edx*4 + 0x4098b8]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x406a00
cmp ecx, 0x10
jge 0x406a1e
inc ecx
mov dword [0x4098b0], ecx
xor eax, eax
mov ecx, 0x4098f8
xchg dword [ecx], eax
jmp 0x406852
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000474f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
call fcn.100120b9
and dword [ebp - 0xc], 0
add esp, 0x10
and dword [ebp - 8], 0
mov dword [ebp - 0x14], 0xc4fc4
mov dword [ebp - 0x10], 0x806f6a
mov dword [ebp - 4], 0x586fee
or dword [ebp - 4], 0x9960a6f5
imul eax, dword [ebp - 4], 0x5e
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x5a681ea9
cmp dword [edx + 4], 0x40
jae 0x100047a1
xor eax, eax
jmp 0x100047ca
mov ecx, dword [edx]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1000479d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000479d
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007b8b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, ecx
push dword [esp + 0x20]
push ebp
push edx
push ebx
call fcn.100120b9
mov dword [esp + 0x2c], 0xe9e64a
add esp, 0x14
imul eax, dword [esp + 0x18], 0x46
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0x3ff4f839
mov ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x18]
add ecx, ebx
sub ebp, dword [ecx + 0x34]
mov edx, dword [ecx + eax*8 + 0x78]
mov dword [esp + 0x18], ebp
add edx, ebx
mov ebp, dword [ecx + eax*8 + 0x7c]
add ebp, edx
mov dword [esp + 0x10], ebp
cmp edx, ebp
jae 0x10007c31
push esi
push edi
mov edi, dword [edx + 4]
lea esi, [edx + 8]
add edi, edx
cmp esi, edi
jae 0x10007c28
mov ebp, dword [esp + 0x20]
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x14], 0x3000
and ecx, 0xfff
and eax, 0xf000
add ecx, dword [edx]
add ecx, ebx
cmp ax, word [esp + 0x14]
jne 0x10007c1d
add dword [ecx], ebp
add esi, 2
cmp esi, edi
jb 0x10007bf8
mov ebp, dword [esp + 0x18]
add edx, dword [edx + 4]
cmp edx, ebp
jb 0x10007be8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10007c37
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
push ebp
push dword [esp + 0x38]
push dword [esp + 0x38]
push edx
push ecx
call fcn.100120b9
mov dword [esp + 0x2c], 0x3628ac
add esp, 0x14
add dword [esp + 0x18], 0xfffff240
xor edx, edx
imul eax, dword [esp + 0x18], 0x5d
push 0x47
pop ecx
push 0x13
mov dword [esp + 0x1c], eax
xor dword [esp + 0x1c], 0x13a7c7bd
mov dword [esp + 0x28], 0x411077
mov eax, dword [esp + 0x28]
div ecx
xor edx, edx
mov dword [esp + 0x28], eax
xor dword [esp + 0x28], 0x1576b
mov dword [esp + 0x14], 0x6ab109
or dword [esp + 0x14], 0x4522ba60
add dword [esp + 0x14], 0x6e2e
or dword [esp + 0x14], 0x405c50e2
xor dword [esp + 0x14], 0x45775e58
mov dword [esp + 0x3c], 0x583f0
mov eax, dword [esp + 0x3c]
pop ecx
div ecx
mov dword [esp + 0x38], eax
xor dword [esp + 0x38], 0xb139aa03
imul eax, dword [esp + 0x38], 0x57
mov dword [esp + 0x38], eax
xor dword [esp + 0x38], 0x3aa1b70d
mov dword [esp + 0x28], 0xeb6063
shr dword [esp + 0x28], 9
xor dword [esp + 0x28], 0xc5736
mov dword [esp + 0x20], 0x8f08a1
xor dword [esp + 0x20], 0x1f969638
shr dword [esp + 0x20], 2
xor dword [esp + 0x20], 0x7c9f7a9
mov dword [esp + 0x1c], 0x46d0e7
shr dword [esp + 0x1c], 6
imul eax, dword [esp + 0x1c], 0x16
mov dword [esp + 0x1c], eax
xor dword [esp + 0x1c], 0x141072
mov dword [esp + 0x14], 0x9e0f5b
imul eax, dword [esp + 0x14], 0x61
mov dword [esp + 0x14], eax
or dword [esp + 0x14], 0x4163d75f
shl dword [esp + 0x14], 6
xor dword [esp + 0x14], 0xf8f2ab9c
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x18]
add eax, ebp
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0x10007df1
cmp dword [eax + ecx*8 + 0x7c], 0
je 0x10007df1
lea esi, [edx + ebp]
jmp 0x10007dea
push dword [esp + 0x38]
lea edx, [eax + ebp]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
call fcn.1001cadf
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x10007dfc
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
add edi, ebp
add ebx, ebp
jmp 0x10007de1
jns 0x10007db2
movzx eax, ax
jmp 0x10007db7
add eax, 2
add eax, ebp
push ecx
push dword [esp + 0x18]
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
call fcn.10006ca0
add esp, 0x10
test eax, eax
je 0x10007dfc
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [ebx], eax
add ebx, 4
mov eax, dword [edi]
test eax, eax
jne 0x10007dab
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x10007d80
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
xor eax, eax
jmp 0x10007df4
Function at 0x10017ba6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov ebp, ecx
push edi
push esi
push dword [esp + 0x34]
push edx
push ebp
call fcn.100120b9
mov dword [esp + 0x30], 0x7b3704
xor edi, edi
mov dword [esp + 0x34], 0x80915f
xor edx, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], 0xa71362
shl dword [esp + 0x24], 0xb
add dword [esp + 0x24], 0x3e5
xor dword [esp + 0x24], 0x3895df4e
mov dword [esp + 0x20], 0xc4b4e
imul eax, dword [esp + 0x20], 0x14
push 0x2f
pop ecx
push 0x6c
mov dword [esp + 0x24], eax
or dword [esp + 0x24], 0x55175d82
xor dword [esp + 0x24], 0x65144985
xor dword [esp + 0x24], 0x30e15ded
mov dword [esp + 0x48], 0x3b45b7
mov eax, dword [esp + 0x48]
div ecx
xor edx, edx
mov dword [esp + 0x48], eax
shl dword [esp + 0x48], 4
mov eax, dword [esp + 0x48]
pop ecx
div ecx
mov dword [esp + 0x44], eax
xor dword [esp + 0x44], 0xcc8ea
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
xor edx, eax
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x2c], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov ebx, edx
and cl, 3
cmovne ebx, eax
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x1c]
mov edx, ebx
call fcn.10007ff2
mov dword [esp + 0x3c], eax
pop ecx
pop ecx
test eax, eax
je 0x10017cd3
shr ebx, 2
lea ecx, [esi + ebx*4]
xor ebx, ebx
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, ebx
test edx, edx
je 0x10017cc8
mov ebx, dword [esp + 0x18]
mov ecx, eax
sub ecx, esi
mov eax, dword [esi]
xor eax, ebx
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0x10017cb5
mov eax, dword [esp + 0x34]
test ebp, ebp
je 0x10017cd3
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10018606
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edx
push ecx
call fcn.100120b9
mov dword [esp + 0x20], 0xe2d3c4
lea edi, [edx + 4]
add dword [esp + 0x20], 0xa17d
shl dword [esp + 0x20], 0x10
xor dword [esp + 0x20], 0xc7a816b6
xor dword [esp + 0x20], 0xb2e477eb
mov dword [esp + 0x28], 0xf8496b
shr dword [esp + 0x28], 0xa
imul eax, dword [esp + 0x28], 0x37
mov dword [esp + 0x28], eax
xor dword [esp + 0x28], 0x6b61c
mov dword [esp + 0x24], 0x2326e4
or dword [esp + 0x24], 0xbc2d168
shl dword [esp + 0x24], 4
xor dword [esp + 0x24], 0xbe3c76f1
mov ecx, dword [edx]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, esi
call fcn.10007ff2
mov ebx, eax
mov dword [esp + 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x1001871e
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x10018715
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x100186ec
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0x1001dbea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push dword [ebp + 0x10]
mov ebx, edx
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push ecx
call fcn.100120b9
and dword [ebp - 0x10], 0
add esp, 0x14
and dword [ebp - 0xc], 0
xor edx, edx
mov dword [ebp - 0x18], 0x71ca23
mov dword [ebp - 0x14], 0x57f692
mov dword [ebp - 8], 0xd3252c
add dword [ebp - 8], 0x4351
add dword [ebp - 8], 0xffff5b79
xor dword [ebp - 8], 0xd2c3f6
mov dword [ebp - 4], 0xbb067e
mov eax, dword [ebp - 4]
push 0x11
pop ecx
div ecx
mov dword [ebp - 4], eax
shr dword [ebp - 4], 8
xor dword [ebp - 4], 0xac5d3832
xor dword [ebp - 4], 0xac5d3334
mov dword [ebp - 4], 0xab60c2
shl dword [ebp - 4], 0x10
xor dword [ebp - 4], 0x910d5570
shr dword [ebp - 4], 4
xor dword [ebp - 4], 0xf1cf547
cmp byte [ebx], 0
je 0x1001dcef
push esi
push edi
mov edi, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 4], 0xbb067e
mov eax, dword [ebp - 4]
div ecx
push 0x11
mov dword [ebp - 4], eax
shr dword [ebp - 4], 8
xor dword [ebp - 4], 0xac5d3832
xor dword [ebp - 4], 0xac5d3334
mov cl, byte [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0xab60c2
shl dword [ebp - 4], 0x10
xor dword [ebp - 4], 0x910d5570
shr dword [ebp - 4], 4
xor dword [ebp - 4], 0xf1cf547
shl esi, cl
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
movsx eax, byte [ebx]
mov dword [ebp - 8], eax
add dword [ebp - 8], esi
shl edx, cl
add dword [ebp - 8], edx
sub dword [ebp - 8], edi
inc ebx
pop ecx
cmp byte [ebx], 0
jne 0x1001dc82
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret