joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bc1d
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 2
pop edx
mov eax, dword [esi + 0x10]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c015
mov ecx, dword [esi + 0x10]
mov edi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push edi
call fcn.00413ea0
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x40bc59
mov esi, dword [esi]
mov edx, edi
mov ecx, esi
call fcn.0040a52c
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
dec eax
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
ret

Function at 0x40bc74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 2
pop edx
mov eax, dword [esi + 0x10]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c015
mov ecx, dword [esi + 0x10]
mov edi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push edi
call fcn.00413ea0
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x40bcb0
mov esi, dword [esi]
mov edx, edi
mov ecx, esi
call fcn.0040a52c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov esi, eax
call fcn.0040c8a4
pop ecx
cmp esi, 0xffffffff
pop edi
setne al
pop esi
ret

Function at 0x40bcd2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x445060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
lea eax, [ebp - 0x210]
mov ebx, ecx
push 0
push eax
call fcn.00413ea0
add esp, 0xc
mov dword [ebp - 0x214], 0xf
xor ecx, ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
mov byte [ebp - 0x228], cl
push 1
push 0x23
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40bd3e
push 0x426bfa
mov ecx, ebx
call fcn.00401f3f
jmp 0x40be09
xor ecx, ecx
lea eax, [ebp - 0x210]
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.0040c015
pop ecx
xor ecx, ecx
mov dword [ebp - 0x25c], eax
push ecx
push ecx
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
push str.CMBFirmbank_
push esi
call fcn.00401f3f
mov edx, eax
lea ecx, [ebp - 0x240]
call fcn.00408283
pop ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00401b7b
push 0
push 1
lea ecx, [ebp - 0x240]
call fcn.00402153
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.00402153
lea ecx, [ebp - 0x228]
call fcn.0040bc74
test al, al
jne 0x40bde6
lea ecx, [ebp - 0x228]
call fcn.0040bc1d
push esi
call fcn.0040c8a4
and dword [ebx + 0x10], 0
lea eax, [ebp - 0x228]
pop ecx
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
push eax
mov byte [ebx], 0
call fcn.00401e20
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00402153
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c1f3
mov esp, ebp
pop ebp
ret
Function at 0x41965b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00410823
mov dword [ebp - 0x14], eax
cmp dword [0x448450], esi
jne 0x41974e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4196db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41982e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41982e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41982e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x448450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x448454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x448458], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448460], eax
test eax, eax
je 0x41974b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44845c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x419773
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x419766
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x419788
push 4
pop eax
jmp 0x419830
cmp dword [ebp - 0x14], esi
je 0x419788
push dword [0x448450]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41976d
mov eax, dword [0x44845c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4197e6
cmp dword [0x448460], edi
je 0x4197e6
push eax
call ebx
push dword [0x448460]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4197e6
test eax, eax
je 0x4197e6
call ecx
test eax, eax
je 0x4197db
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4197db
test byte [ebp - 8], 1
jne 0x4197e6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x419816
mov eax, dword [0x448454]
cmp eax, edi
je 0x419813
push eax
call ebx
test eax, eax
je 0x419813
call eax
mov esi, eax
test esi, esi
je 0x419813
mov eax, dword [0x448458]
cmp eax, edi
je 0x419813
push eax
call ebx
test eax, eax
je 0x419813
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x448450]
call ebx
test eax, eax
je 0x41982e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x419830
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c1f3
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d004]
jne 0x40100a
repz ret
jmp fcn.00401340

Function at 0x408833
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040495c
and dword [ebp - 4], 0
cmp dword [0x41f278], 0
mov ebx, eax
jne 0x4088e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408995
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408995
push eax
call fcn.004048ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41f278], eax
call esi
push eax
call fcn.004048ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41f27c], eax
call esi
push eax
call fcn.004048ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41f280], eax
call esi
push eax
call fcn.004048ea
pop ecx
mov dword [0x41f288], eax
test eax, eax
je 0x4088e4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004048ea
pop ecx
mov dword [0x41f284], eax
mov eax, dword [0x41f284]
cmp eax, ebx
je 0x40893c
cmp dword [0x41f288], ebx
je 0x40893c
push eax
call fcn.00404965
push dword [0x41f288]
mov esi, eax
call fcn.00404965
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40893c
test edi, edi
je 0x40893c
call esi
test eax, eax
je 0x408933
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408933
test byte [ebp - 0xc], 1
jne 0x40893c
or dword [ebp + 0x10], 0x200000
jmp 0x408975
mov eax, dword [0x41f27c]
cmp eax, ebx
je 0x408975
push eax
call fcn.00404965
pop ecx
test eax, eax
je 0x408975
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408975
mov eax, dword [0x41f280]
cmp eax, ebx
je 0x408975
push eax
call fcn.00404965
pop ecx
test eax, eax
je 0x408975
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41f278]
call fcn.00404965
pop ecx
test eax, eax
je 0x408995
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408997
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100def3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100e0456
xor ecx, ecx
mov edx, eax
mov esi, dword [0x100eae60]
mov edi, esi
add edi, 0xffffe7e0
mov dword [0x100eae5c], edi
mov edi, dword [eax + 0x3c]
mov dword [0x100eae60], 0x1178
add esi, 0xffffdddf
mov dword [0x100eae5c], esi
mov dword [0x100eae60], 0x83d
mov esi, dword [eax + edi + 0x78]
mov dword [0x100eae5c], 0x2076
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
jne 0x100defee
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x30], eax
jne 0x100df01a
jmp 0x100df043
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x2a], cl
jne 0x100defc4
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x100df075
jmp 0x100df04c
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
jb 0x100df000
jmp 0x100defb9
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x100eae5c], 0x2157
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [eax + edx*4]
mov dword [0x100eae60], 0xd6c
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x24], esi
jmp 0x100defb9
Function at 0x100df0ba
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x100eae5c], 0x1b77
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x100eae60], 0x68b
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100eae5c], 0x1049
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x100df144
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
jne 0x100df103
jmp 0x100df144
mov eax, dword [ebp - 0x1c]
mov dword [0x100eae5c], 0x162a
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x100df204
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100df204
mov dword [0x100eae60], 0xcc3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100df204
mov dword [0x100eae5c], 0x15d5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100df204
mov dword [0x100eae5c], 0x3b73
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100df204
mov dword [0x100eae5c], 0x1718
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100df204
mov eax, 0x2d23
mov ecx, 1
mov dword [0x100eae60], 0xfd3
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
je 0x100df213
mov eax, 0x24e8
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jmp 0x100df213
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x100eae5c], ecx
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x100df7e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100eae68], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x1769
mov byte [0x100eae6c], 0
mov dword [0x100eae5c], 0x1769
mov dword [0x100eae64], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x100df90d
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffe7c2
mov dword [0x100eae5c], ecx
mov dword [0x100eae64], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [0x100eae70], 0
mov dword [0x100eae60], 0x2161
mov edx, dword [0x100eae68]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x2c], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x100eae70], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x100eae68], edx
mov dword [0x100eae5c], 0x2438
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov cl, byte [ecx + edi]
mov byte [0x100eae6c], cl
mov dword [0x100eae5c], 0x1cf5
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x100eae6c]
mov edx, dword [0x100eae68]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x100eae5c], 0x1799
mov edx, dword [0x100eae64]
add edx, 1
mov dword [0x100eae64], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edx
jl 0x100df850
jmp 0x100df965
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe280
mov dword [0x100eae5c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x100eae5c]
mov esi, ecx
add esi, 0xfffff237
mov dword [0x100eae60], esi
mov esi, dword [0x100eae64]
add esi, 1
mov dword [0x100eae64], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x100df90d
jmp 0x100df832
mov dword [0x100eae5c], 0x27cb
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dfaee
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x100eae5c], 0x13
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x100e2302]
mov dl, byte [eax + 0x100e22d3]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100dfb10
lea eax, [ebp - 0x24]
mov dword [0x100eae60], 0x1499
mov dword [0x100eae5c], 0x11f8
mov dword [ebp - 0x34], eax
call fcn.100dfc80
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100dfd6f
xor ecx, ecx
mov dword [0x100eae5c], 0x23c5
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x100dfc4f
mov eax, dword [ebp - 0x38]
mov dword [0x100eae60], 0x185a
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x100eae5c]
add ecx, 0xfffff955
mov dword [0x100eae5c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100df6af
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
add eax, 0xd0
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], 0x4550
mov edx, dword [ebp - 0x40]
add edx, 0xffc00000
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x3c], edx
mov dword [0x100eae5c], 0xfffff3db
mov dword [0x100eae60], 0x9c
cmp edx, 0
mov dword [ebp - 0x3c], eax
je 0x100dfc4f
mov eax, dword [ebp - 0x40]
add eax, 0x12c7
mov dword [ebp - 0x48], eax
mov dword [0x100eae60], 0x1744
mov dword [0x100eae5c], 0x1b4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x100e05df
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x100eae60]
mov dword [0x100eae64], 0
mov dword [0x100eae68], 0
mov dword [0x100eae74], 0
mov dword [0x100eae5c], 0xa9f
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
jne 0x100e065c
mov eax, dword [ebp - 0x28]
add eax, 0xffffe56e
mov dword [0x100eae5c], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov dword [0x100eae5c], 0x1b0a
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100eae64], edx
mov ecx, dword [ebp - 0x24]
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 [0x100eae68], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x100eae6c], cl
mov dword [0x100eae5c], 0x1ba7
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x100eae6c]
mov edx, dword [0x100eae68]
mov byte [edi + edx], cl
mov dword [0x100eae5c], 0x25da
mov edx, dword [0x100eae64]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100eae68]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100eae74], ebx
mov dword [0x100eae5c], 0x4df
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x100eae79], ch
mov byte [0x100eae7a], cl
xor ch, cl
mov byte [0x100eae78], ch
mov dword [0x100eae60], 0xd0
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
mov edx, dword [0x100eae60]
mov esi, edx
add esi, 0xffffe557
mov dword [0x100eae5c], esi
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], edx
je 0x100e0647
mov eax, dword [0x100eae68]
mov ecx, dword [0x100eae64]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100e065c
Function at 0x100e0780
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x100eae60]
add eax, 0x1601
mov dword [0x100eae60], eax
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x100e090b
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x100eae5c], 0x3bb
mov dword [esp], eax
mov dword [esp + 0x28], ecx
call fcn.100dff65
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], 0x13f400
mov ecx, dword [0x100eae48]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x100eae4c]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x100eae50]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x100eae54]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x100eae58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
lea eax, [0x100dfa8b]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov dword [0x100eae60], 0xc9d
mov dword [0x100eae5c], 0xc7
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100e0861
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100e087d
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x100e083e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [0x100eae60], 0x83d
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x9c], edx
mov dword [0x100eae5c], 0x5f1
call fcn.100df0ba
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100e0903
lea eax, [esp + 0x40]
mov dword [0x100eae60], 0x17ac
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100dfaee
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x100eae5c]
add ecx, 0x122d
mov dword [0x100eae5c], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret