joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019cc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0
push 2
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x22c
mov edi, eax
call fcn.1001f7fe
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10019d43
push ebx
push dword [ebp - 8]
lea ebx, [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10019d3c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x10019d42
nop dword [eax]
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10019d3c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10019d20
jmp 0x10019d42
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x22c
push esi
call fcn.1001f82e
mov eax, dword [ebp - 4]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10019d70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1005a878
push 0x10021870
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1005e068]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
push str.user32.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call edi
mov dword [ebp - 0x120], eax
push str.GetThreadDesktop
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov ebx, eax
push str.GetUserObjectInformationA
push dword [ebp - 0x120]
call esi
mov dword [ebp - 0x12c], eax
push str.SetThreadDesktop
push dword [ebp - 0x120]
call esi
mov dword [ebp - 0x130], eax
push str.CloseDesktop
push dword [ebp - 0x120]
call esi
mov dword [ebp - 0x134], eax
push 0x10056474
call edi
mov dword [ebp - 0x138], eax
push 0x10057748
push eax
call esi
call eax
push eax
call ebx
mov ebx, eax
mov esi, 1
mov dword [ebp - 0x124], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push eax
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 2
mov edi, dword [ebp - 0x128]
push edi
call dword [ebp - 0x12c]
test eax, eax
jne 0x10019e66
xor esi, esi
mov dword [ebp - 0x124], esi
jmp 0x10019e78
push edi
call dword [ebp - 0x130]
test eax, eax
je 0x10019e5c
push ebx
call dword [ebp - 0x134]
mov dword [ebp - 4], 0xfffffffe
call fcn.10019ea8
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x10019fb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100575f0
mov dword [ebp - 0x20], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x10057780
push ebx
call edi
push 0x10057794
push ebx
mov esi, eax
call edi
push 0x100577ac
push ebx
mov dword [ebp - 0x18], eax
call edi
push 0x10056474
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push 0x100564a0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
push ecx
push 0x28
call eax
push eax
call esi
test eax, eax
jne 0x1001a032
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x14], 1
sbb eax, eax
and eax, 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x10057134
push 0
call dword [ebp - 0x24]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x18]
push 0x100577c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x100577e0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
call eax
push dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x1001a0a4
push ebx
call esi
test edi, edi
je 0x1001a0ab
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x1001bd10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x44
push esi
push edi
mov edi, edx
movlpd qword [ebp - 0x4c], xmm0
mov esi, ecx
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1001bda4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push esi
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x54]
test eax, eax
jne 0x1001bdb6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x1001bde0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
push eax
mov dword [ebp - 0x14], edx
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1001beb0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001bea2
push 0
push 0x100
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001bea2
lea eax, [ebp - 0x10]
push eax
push 0x280000
push dword [ebp - 0xc]
push 0x6801
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1001be94
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1001bed2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001bea2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001beb0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001bec0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001bee0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001beee
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001befe
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
Function at 0x1001e056
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x1001e07b
xor eax, eax
jmp 0x1001e0d7
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001e0a8
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x1001e0a8
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x1001e15c
cmp dword [edi + 0x4c], 0
je 0x1001e0d1
mov ecx, edi
call fcn.1001dc5a
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1001e0e7
push dword [edi + 0x4c]
push ebx
call fcn.1001d63c
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x1001e0d6
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001f7ed
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x100483a0]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x1001e0d1
cmp eax, 1
jle 0x1001e12f
cmp eax, 3
jne 0x1001e0d1
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1001e0c3
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x1001e14c
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.100308ab
add esp, 0x10
cmp esi, eax
jne 0x1001e0d1
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x1001e0d1
mov ax, bx
jmp 0x1001e0d6

Function at 0x1003869e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10038345

Function at 0x100386a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100384cf
Function at 0x10004f60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
mov dl, byte [esi]
test dl, dl
je 0x10004f87
push edi
mov edi, eax
and edx, 0xff
shl edi, 4
add edi, eax
add edx, edi
inc esi
mov eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x10004f6e
pop edi
xor edx, edx
pop esi
div dword [ecx + 4]
mov eax, edx
ret 4
Function at 0x10009760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x1000976d
mov byte [esp + 0x20], cl
xor edi, edi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dl, byte [edi + esi]
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, edx
and ebp, 0xff
add ecx, ebx
add ecx, ebp
and ecx, 0x800000ff
jns 0x100097af
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
inc eax
mov bl, byte [ecx + esi]
mov byte [edi + esi], bl
mov byte [ecx + esi], dl
cdq
idiv dword [esp + 0x1c]
inc edi
cmp edi, 0x100
mov byte [esp + 0x20], dl
jl 0x1000977e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10014800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
mov eax, 0xd
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x60]
push edi
cmp eax, 0x14
jg 0x10014a32
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push eax
push 0x1008cdb0
mov ecx, ebx
call fcn.1000bbe0
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x10014873
cmp eax, 1
jne 0x1001485c
cmp dword [esp + 0x18], 1
je 0x10014873
push 0x1008cd9c
mov ecx, esi
call fcn.100139f0
push eax
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10045c00
lea ecx, [esp + 0x10]
push 0
push ecx
push str.BBox
mov ecx, ebx
call fcn.1000bbe0
cmp dword [esp + 0x10], 6
je 0x100148bf
lea ecx, [esp + 0x10]
call fcn.10045c00
push 0x1008cd84
mov ecx, esi
call fcn.100139f0
push eax
push 1
call fcn.1000bd30
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor edi, edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push edi
call fcn.10004df0
cmp dword [esp + 0x20], 1
jne 0x100148dd
fild dword [esp + 0x28]
jmp 0x100148e1
fld qword [esp + 0x28]
fstp qword [esp + edi*8 + 0x30]
lea ecx, [esp + 0x20]
call fcn.10045c00
inc edi
cmp edi, 4
jl 0x100148c1
lea ecx, [esp + 0x10]
call fcn.10045c00
lea eax, [esp + 0x10]
push 0
push eax
push 0x1008cd7c
mov ecx, ebx
call fcn.1000bbe0
cmp dword [esp + 0x10], 6
jne 0x1001494e
xor edi, edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
call fcn.10004df0
cmp dword [esp + 0x20], 1
jne 0x10014935
fild dword [esp + 0x28]
jmp 0x10014939
fld qword [esp + 0x28]
fstp qword [esp + edi*8 + 0x50]
lea ecx, [esp + 0x20]
call fcn.10045c00
inc edi
cmp edi, 6
jl 0x10014919
jmp 0x100149ae
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3ff00000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x10]
call fcn.10045c00
lea edx, [esp + 0x10]
push 0
push edx
push str.Resources
mov ecx, ebx
call fcn.1000bbe0
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x18]
mov edi, dword [esi + 0x60]
xor eax, eax
cmp edx, 7
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
setne al
dec eax
push ecx
and eax, ebx
inc edi
mov dword [esi + 0x60], edi
mov edi, dword [ebp + 0x10]
push edi
push 1
lea edx, [esp + 0x4c]
push 1
lea ecx, [esp + 0x70]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
mov ecx, esi
call fcn.1001d9c0
mov ecx, dword [esi + 0x60]
dec ecx
test edi, edi
mov dword [esi + 0x60], ecx
je 0x10014a29
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [esp + 0x10]
call fcn.10045c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001efa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006ee1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 8
mov dword [esi], 0x100712b0
mov dword [esi + 0x98], 0
call fcn.10060e1a
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x1001eff1
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, eax
call fcn.100326a0
jmp 0x1001eff3
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x20], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x1002d5c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov edx, dword [esi + 4]
mov esi, dword [esi]
test esi, esi
mov edi, ecx
jle 0x1002d5ec
push ebx
mov cl, byte [edx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
dec esi
mov eax, ecx
jne 0x1002d5d4
pop ebx
xor edx, edx
div dword [edi + 4]
pop edi
pop esi
mov eax, edx
ret 4
Function at 0x10049460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100701c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], 0xd
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi], eax
mov edi, dword [eax]
push 2
lea ecx, [edi + 1]
push ecx
call fcn.10032570
mov dword [esi + 4], eax
add esp, 8
xor eax, eax
cmp edi, ebx
jle 0x100494df
mov edx, dword [esi]
mov ecx, dword [edx + 4]
mov edx, dword [esi + 4]
mov cl, byte [eax + ecx]
and ecx, 0xff
mov word [edx + eax*2], cx
inc eax
cmp eax, edi
jl 0x100494c5
mov eax, dword [esi + 4]
push 0x100a6434
mov word [eax + edi*2], bx
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call fcn.10061d88
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x100495ad
mov edi, dword [esi]
push 8
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x10049528
push edi
mov ecx, eax
call fcn.100327f0
mov edi, eax
jmp 0x1004952a
xor edi, edi
mov ecx, edi
mov dword [esp + 0x24], 0xffffffff
call fcn.10033b90
mov eax, dword [edi + 4]
push 0x100a6434
push eax
call fcn.10061d88
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x1004959d
mov ecx, edi
call fcn.10033b40
mov eax, dword [edi + 4]
push 0x100a6434
push eax
call fcn.10061d88
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x1004959d
mov ecx, dword [esi]
push ecx
push 0x100a9d10
push 0xffffffffffffffff
push 4
call fcn.1000bd30
add esp, 0x10
mov ecx, edi
call fcn.100328c0
push edi
call fcn.10060e0f
add esp, 4
mov dword [esi + 0x34], 1
jmp 0x10049608
mov ecx, edi
call fcn.100328c0
push edi
call fcn.10060e0f
add esp, 4
push 0x140
mov dword [esp + 0x10], 5
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x24], 1
je 0x100495e7
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push ebx
push ebx
push ebx
push ecx
mov ecx, eax
call fcn.1004f1f0
jmp 0x100495e9
xor eax, eax
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.10049620
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x1004a57b
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x10070240
call fcn.100631b4
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
movzx edx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x18], eax
jge 0x1004a6c2
mov eax, dword [ebp - 0x14]
push 0x1007481c
cmp dword [eax + 0x10], 0
jne 0x1004a610
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x36
call fcn.100627a7
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x1004a60a
mov esi, dword [ebp - 0x14]
push 4
push 0x1000
push edi
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [0x101e60bc]
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.10063520
add esp, 0xc
mov eax, 0x1004a6af
ret
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x28], 0x43
call fcn.100627a7
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
push dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call dword [0x101e60bc]
mov dword [ebp - 0x20], eax
mov eax, 0x1004a64a
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1005e980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100708c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.1005de00
mov ecx, 0x3f50624d
xor eax, eax
mov edx, 0xd2f1a9fc
mov dword [esi + 0x24], ecx
mov dword [esi + 0x3c], ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esi], 0x100720dc
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edx
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
call fcn.1005eef0
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006296
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
mov ebx, edx
push ebp
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebx
push ecx
call fcn.10013150
mov dword [esp + 0x38], 0x21ed
add esp, 0x18
imul eax, dword [esp + 0x20], 0x2c
xor edx, edx
push 0x2f
pop ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
div ecx
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x1fc7
mov ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x20]
add ecx, ebx
sub ebp, dword [ecx + 0x34]
mov edx, dword [ecx + eax*8 + 0x78]
mov dword [esp + 0x20], ebp
add edx, ebx
mov ebp, dword [ecx + eax*8 + 0x7c]
add ebp, edx
mov dword [esp + 0x10], ebp
cmp edx, ebp
jae 0x1000634f
push esi
push edi
mov edi, dword [edx + 4]
lea esi, [edx + 8]
add edi, edx
cmp esi, edi
jae 0x10006346
mov ebp, dword [esp + 0x28]
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 0x1000633b
add dword [ecx], ebp
add esi, 2
cmp esi, edi
jb 0x10006316
mov ebp, dword [esp + 0x18]
add edx, dword [edx + 4]
cmp edx, ebp
jb 0x10006306
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x100069fc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push edx
push ecx
call fcn.10013150
mov dword [esp + 0x3c], 0x5a23
lea edi, [eax + 4]
add dword [esp + 0x3c], 0xbd32
add dword [esp + 0x3c], 0xffffeaf1
xor dword [esp + 0x3c], 0x1520d
mov dword [esp + 0x24], 0xfb03
add dword [esp + 0x24], 0x454c
xor dword [esp + 0x24], 0x1359a
mov ecx, dword [eax]
mov ebp, dword [edi]
add edi, 4
xor ebp, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebp
lea esi, [ebp + 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 + 0x3c]
add esp, 0x10
lea edx, [esi + esi]
call fcn.100060fb
mov ebx, eax
mov dword [esp + 0x2c], ebx
pop ecx
test ebx, ebx
je 0x10006afa
shr esi, 2
xor eax, eax
lea ecx, [edi + esi*4]
mov esi, ebx
mov edx, ecx
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, ecx
cmova edx, eax
test edx, edx
je 0x10006af4
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp ebp, edx
jb 0x10006ab7
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
xor eax, eax
mov word [ebx + ebp*2], ax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret