joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10151b07
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10193afc], 0
mov dword [0x10193b00], 0
mov dword [0x10193b0c], 0
mov dword [0x10193af4], 0x18c4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10151b85
jmp 0x10151b8d
mov eax, dword [0x10193b00]
mov ecx, dword [0x10193afc]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x10151b8d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10193afc], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10193b00], edx
mov dword [0x10193af8], 0xa8e
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10193b04], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10193b04]
mov edx, dword [0x10193b00]
mov byte [edi + edx], cl
mov dword [0x10193af4], 0x16e8
mov edx, dword [0x10193afc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10193b00]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10193b0c], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x10193af8], 0x1e0e
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x10193af8]
add edx, 0xfffff1cc
mov dword [0x10193af4], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x10151b85
jmp 0x10151b6c
Function at 0x1015201f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10193af4], 0x14d0
mov dword [ebp - 0x10], eax
call fcn.1015111b
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10152065
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10193af8], 0x23c3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10193af4], 0x2361
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101521a0
jmp 0x10152113
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10152149
jmp 0x1015210a
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + ecx*4]
mov dword [0x10193af4], 0x14fc
mov esi, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x30], esi
jmp 0x101521a0
mov al, byte [ebp - 0x36]
test al, 1
jne 0x101520d4
jmp 0x10152177
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10193af4], 0x14d0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x58]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x1015210a
jmp 0x101520aa
mov eax, dword [ebp - 0x40]
add eax, 2
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], eax
jb 0x10152125
mov eax, dword [ebp - 0x30]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101521ab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x10193af4], 0x37a
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10151657
lea ecx, [0x101524e9]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], 0x13bc00
mov edx, dword [0x10193ae0]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10193ae4]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10193ae8]
mov dword [esp + 0x68], edx
mov edx, dword [0x10193aec]
mov dword [esp + 0x50], edx
mov edx, dword [0x10193af0]
mov dword [esp + 0x74], edx
mov dword [0x10193af4], 0x1fc2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101522aa
lea eax, [esp + 0x28]
mov dword [0x10193af4], 0x9c2
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10151923
mov dword [esp + 0x18], eax
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x14], eax
jmp 0x101522e9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x34], edx
mov dword [0x10193af8], 0x8ac
call fcn.10152375
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x10152237
jmp 0x101522e9
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101522cd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10152278
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101522aa
mov eax, dword [esp + 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x10152375
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword [0x10193af4]
add eax, 0xffffd981
mov dword [0x10193af4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10193af4], 0x20ef
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10152454
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x101524d3
mov dword [0x10193af8], 0x7f0
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x10152431
jmp 0x101524d3
mov eax, 1
mov ecx, 0x28d3
mov dword [0x10193af4], 0x47ad
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
je 0x101524e0
jmp 0x101524d3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff6
mov dword [ebp - 0x24], eax
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x64
mov dword [ebp - 0x1c], eax
je 0x101524a1
jmp 0x101524d3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x10152481
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jl 0x10152454
mov eax, dword [ebp - 0x2c]
mov ecx, 0x215
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x101523be
jmp 0x101524d3
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x101524d3
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101523ff
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x10193af4], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x4033d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov ecx, 8
push ebx
push esi
push edi
mov esi, 0x40d464
mov edi, dword [ebp + 0xc]
push edi
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
pop edi
xor ebx, ebx
mov esi, dword [ebp + ebx*8 - 0x20]
push esi
call sub.KERNEL32.DLL_lstrlenA
push eax
push edi
push esi
call fcn.004065e4
add esp, 0xc
test eax, eax
je 0x40340e
inc ebx
cmp ebx, 4
jl 0x4033ef
cmp ebx, 4
jne 0x403429
push 0x30
push dword [ebp + 0x18]
push 0x40dc27
push dword [ebp + 0x14]
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x403475
lea edx, [ebp - 0x24]
push edx
push 0xf003f
push 0
push dword [ebp + ebx*8 - 0x20]
call sub.KERNEL32.DLL_lstrlenA
add edi, eax
inc edi
push edi
push dword [ebp + ebx*8 - 0x1c]
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x403473
mov dword [ebp - 0x28], 0x104
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 8]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call sub.ADVAPI32.DLL_RegQueryValueExA
push dword [ebp - 0x24]
call sub.ADVAPI32.DLL_RegCloseKey
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4049a4
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp word [eax], 0x5a4d
je 0x4049c0
mov eax, 0xfffffffe
jmp 0x404a93
mov edx, dword [eax + 0x3c]
add edx, esi
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x4049dd
mov eax, 0xfffffffe
jmp 0x404a93
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
mov edx, dword [ebp - 4]
add eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [edx + 0x80]
test edx, edx
jne 0x404a01
mov eax, 0xfffffffe
jmp 0x404a93
xor ecx, ecx
jmp 0x404a18
cmp edx, dword [eax + 0xc]
jb 0x404a14
mov ebx, dword [eax + 0xc]
add ebx, dword [eax + 8]
cmp edx, ebx
jb 0x404a23
inc ecx
add eax, 0x28
mov ebx, dword [ebp - 4]
movzx ebx, word [ebx + 6]
cmp ecx, ebx
jl 0x404a05
mov ebx, dword [ebp - 4]
movzx ebx, word [ebx + 6]
cmp ecx, ebx
jne 0x404a35
mov eax, 0xfffffffe
jmp 0x404a93
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x14]
sub esi, ecx
lea ebx, [esi + edx]
jmp 0x404a82
push str.WINMM.DLL
mov eax, dword [ebx + 0xc]
add eax, esi
push eax
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
jne 0x404a7f
mov eax, dword [ebx + 0x10]
add eax, esi
jmp 0x404a70
mov edx, dword [eax]
test edx, 0x80000000
jne 0x404a6d
add edx, esi
mov byte [edx + 2], 0x5f
add eax, 4
cmp dword [eax], 0
jne 0x404a5d
add esi, dword [ebx + 0xc]
xor eax, eax
mov byte [esi], 0x5f
jmp 0x404a93
add ebx, 0x14
cmp dword [ebx + 4], 0
jne 0x404a42
cmp dword [ebx + 0xc], 0
jne 0x404a42
mov eax, 0xfffffffc
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x404b48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
push ebx
push esi
push edi
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call sub.SHELL32.DLL_SHGetMalloc
test eax, eax
jge 0x404b6f
xor eax, eax
jmp 0x404c22
push 0x104
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
mov ebx, eax
test eax, eax
jne 0x404b8a
xor eax, eax
jmp 0x404c22
lea edx, [ebp - 4]
push edx
push 0
push esi
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
test eax, eax
jge 0x404ba8
push ebx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor eax, eax
jmp 0x404c22
xor edx, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], ecx
push eax
call sub.SHELL32.DLL_SHBrowseForFolderA
mov esi, eax
test esi, esi
je 0x404c01
push ebx
push esi
call sub.SHELL32.DLL_SHGetPathFromIDListA
test eax, eax
je 0x404bf7
push ebx
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_lstrcpyA
mov edi, 1
push esi
mov eax, dword [ebp - 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
push ebx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405fcc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x4089ee
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x408a29
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x408a10
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x408a21
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x408a2b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x408a06
xor eax, eax
pop edi
pop esi
ret
Function at 0x409844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.004089ae
pushfd
dec esp
rol dword es:[eax - 0x22f5b], 1
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040898c
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004089be
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408973
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004089ae
add byte [eax], bl
or dword [edx + 0x10468], 0
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.004089ae
inc edx
add eax, 0x65800abc
loopne 0x4099cc
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10035f30
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1007f713
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.10035f30
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007e9a8
test eax, eax
jne 0x1007f8aa
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10035f30
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10