joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40a9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::CDC
xor ebp, ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ebp
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esi + 0x130]
lea eax, [esp + 0x44]
push eax
push 0x18
push ecx
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_GetObjectA]
fild dword [esi + 0xdc]
mov edx, dword [esi + 0x120]
mov eax, dword [esi + 0x124]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], edx
fmul dword [0x40d980]
fild dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
fmul st(1)
fadd qword [0x40d978]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x4c]
mov ebx, eax
fmul st(1)
fadd qword [0x40d978]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
push eax
fstp st(0)
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
cmp edi, ebp
jne 0x4062d3
xor eax, eax
jmp 0x4062d6
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x130]
cmp eax, ebp
je 0x4062ff
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
mov eax, dword [edi + 4]
push edx
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x40633b
mov ecx, dword [esp + 0x18]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ebp
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, esi
mov byte [esp + 0x64], 0
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x34]
call fcn.00409b5e
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.00409b5e
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x406f50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x406f76
push 0x10
push str.Setuna_Error
push 0x4101a4
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
pop esi
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x406f9b
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x10
push str.Setuna_Error
push 0x410178
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
pop esi
ret
mov ecx, dword [esi + 0x1f8]
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_CopyImage]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x406fd8
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x10
push str.Setuna_Error
push 0x41014c
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
pop esi
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x406ff5
push 0x10
push str.Setuna_Error
push 0x41011c
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
pop esi
ret
Function at 0x409640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40b158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [esi + 0x144]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x173
push eax
mov dword [esp + 0x4c], 0
call ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
test edi, edi
je 0x4096ad
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x144]
push 0
push 0
push 0x173
push eax
call ebx
test eax, eax
je 0x4096e0
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
mov ecx, dword [edi + 4]
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x28]
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00409b5e
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x402ee4
pop dword [ebp - 0x30]
mov eax, 0x9899e900
add eax, 0x67a645e4
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xc0bd4834
sub dword [ebp - 0x40], 0x726b02e9
mov dword [ebp - 0x3c], 0x2cfb65b2
add dword [ebp - 0x3c], 0x537e693
mov dword [ebp - 0x38], 0xaae4f39c
add dword [ebp - 0x38], 0xa1675092
mov dword [ebp - 0x34], 0x75d1ce9f
sub dword [ebp - 0x34], 0x75d1ce9f
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xc407c7de
sub dword [ebp - 0x40], 0x4f955e88
mov dword [ebp - 0x3c], 0xda21c1c5
sub dword [ebp - 0x3c], 0x98b56050
mov dword [ebp - 0x38], 0x81aaf9cb
sub dword [ebp - 0x38], 0x1e3b8d5f
mov dword [ebp - 0x34], 0xdfde0aa1
add dword [ebp - 0x34], 0x2021f55f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37e93
push 0
call eax
mov ecx, 0xe0a48f2e
sub ecx, 0xe0a443ae
xor esi, esi
add esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x30]
mov ebx, 0x4ea00ad3
add ebx, 0x59952652
sub dword [ebp - 8], 0x1ea79917
mov edi, dword [edx]
xor dword [ebp - 0x10], edx
xor edi, ebx
add dword [ebp - 0x14], 0xd487990f
mov dword [esi], edi
add dword [ebp - 0x24], 0xe166c1da
add esi, 0xb38726eb
add esi, 0x4c78d919
add edx, 0xdf2f0b19
add edx, 0x20d0f4eb
loop 0x402ff8
add eax, 0xc469c70a
add eax, 0x3b9759c9
mov ebx, eax
add eax, 0x5775204a
add eax, 0xa88adfbb
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10155c95
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov dword [0x102a1c84], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x102a1c84]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x102a1c84], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10155d0f
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], cl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
jne 0x10155d0f
jmp 0x10155d25
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
jne 0x10155ce4
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x102a1c84], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jne 0x10155e2c
mov dword [0x102a1c84], 0x28f
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x34], eax
jne 0x10155e2c
xor eax, eax
mov dword [0x102a1c84], 0x2505
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x34], eax
jne 0x10155e2c
xor eax, eax
mov dword [0x102a1c88], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x34], eax
jne 0x10155e2c
mov dword [0x102a1c84], 0x264f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x35], dl
xor eax, eax
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x34], eax
jne 0x10155ddd
jmp 0x10155e2c
mov dword [0x102a1c84], 0x1f9e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x38], dx
xor eax, eax
mov cx, word [ebp - 0x38]
cmp cx, 0x6c
mov dword [ebp - 0x34], eax
jne 0x10155e2c
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
jne 0x10155e2c
mov eax, 1
mov dword [0x102a1c84], 0x536
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add esp, 0x30
pop esi
pop edi
pop ebp
ret
Function at 0x101560bb
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102a1c90], 0
mov byte [0x102a1c94], 0
mov dword [0x102a1c88], 0x247e
mov dword [0x102a1c8c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10156113
xor eax, eax
mov dword [0x102a1c8c], 0
mov dword [ebp - 0x20], eax
jmp 0x1015613b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102a1c8c]
add eax, 1
mov dword [0x102a1c8c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10156113
jmp 0x10156102
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102a1c98], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x102a1c84]
mov ebx, edi
add ebx, 0xffffd965
mov dword [0x102a1c88], ebx
mov ebx, dword [0x102a1c90]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x102a1c98], ecx
mov dword [0x102a1c88], 0x162a
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x102a1c90], edx
add edi, 0x26f4
mov dword [0x102a1c84], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi + edi]
mov byte [0x102a1c94], cl
mov dword [0x102a1c84], 0x8fc
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x102a1c84], 0x721
mov cl, byte [0x102a1c94]
mov edx, dword [0x102a1c90]
mov byte [esi + edx], cl
mov dword [0x102a1c88], 0x15d4
mov edx, dword [0x102a1c8c]
add edx, 1
mov dword [0x102a1c8c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1015613b
mov dword [0x102a1c84], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10156225
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10159713]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x102a1c84]
add ebx, 0x1e99
mov dword [0x102a1c84], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.10155ffc
mov eax, dword [0x102a1c84]
add eax, 0xfffffc44
mov dword [0x102a1c88], eax
mov dword [0x102a1c84], 0x6c2
call fcn.10156812
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10155e75
xor ecx, ecx
mov dword [0x102a1c84], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10156372
mov eax, dword [ebp - 0x40]
mov dword [0x102a1c84], 0x1258
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 [0x102a1c84]
add ecx, 0x194b
mov dword [0x102a1c88], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.1015670b
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x48], ecx
mov dword [0x102a1c84], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x38], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10156372
mov eax, dword [ebp - 0x48]
add eax, 0x13dd
mov dword [0x102a1c88], 0x1ddf
mov dword [0x102a1c84], 0xffffefc9
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101563d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov ecx, dword [0x102a1c84]
add ecx, 0xffffea42
mov dword [0x102a1c88], ecx
mov dword [ebp - 0x10], eax
call fcn.10156fb8
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x102a1c84], 0x1516
mov esi, dword [eax + esi + 0x78]
mov dword [0x102a1c84], 0x11d0
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102a1c88], 0x6c2
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
je 0x1015656e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x28], edx
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
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 0x101564e6
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
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov al, byte [ebp - 0x55]
test al, 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], ecx
jne 0x10156488
jmp 0x101564e6
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10156542
jmp 0x101564ef
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [0x102a1c84], 0x10da
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x18]
cmp eax, edx
setb bl
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x61], bl
mov eax, 0xffffeebe
xor ecx, ecx
mov dl, byte [ebp - 0x61]
test dl, 1
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], ecx
jne 0x10156468
jmp 0x1015656e
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x102a1c88], edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esi + ecx*4]
mov dword [0x102a1c84], 0x1a69
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10156c64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x102a1c88], 0x26bd
mov dword [0x102a1c84], 0xe95
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0x3c
mov esi, eax
add esi, 1
imul eax, eax, 0xc8
add edx, eax
add edx, 0x84
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x1be
mov eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], esi
jne 0x10156c91
mov dword [0x102a1c88], 0x130b
lea eax, [0x10159713]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x102a1c84], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10155ffc
mov dword [0x102a1c88], 0xb5d
mov dword [0x102a1c84], 0x6c2
call fcn.10156812
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10155e75
mov ecx, eax
mov dword [0x102a1ca4], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0x84
mov esi, dword [edi]
imul edi, eax, 0xc8
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xc8
add edx, ebx
add edx, 0x3c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.10156e84
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x1be
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x10156d78
mov dword [0x102a1c88], 0x9b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.10156579
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x14694f
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x102a1c84]
add ecx, 0x183c
mov dword [0x102a1c84], ecx
mov dword [edx + 4], 0x11f800
mov dword [0x102a1c88], 0x13e1
mov ecx, dword [ebp - 0x48]
add ecx, 0x68c6a
mov dword [edx + 8], ecx
mov ecx, dword [0x102a1c84]
add ecx, 0x1510
mov dword [0x102a1c84], ecx
mov dword [edx + 0xc], 0x20b0
mov ecx, dword [0x102a1c88]
add ecx, 0xfffff7d7
mov dword [0x102a1c88], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10157142
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
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, 0x4207
mov dword [0x102a1c8c], 0
mov dword [0x102a1c90], 0
mov dword [0x102a1c9c], 0
mov dword [0x102a1c88], 0x222c
mov dword [0x102a1c84], 0x4207
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
je 0x101572f8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x102a1c84], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102a1c8c], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102a1c90], edx
mov dword [0x102a1c84], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102a1c94], cl
mov dword [0x102a1c84], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102a1c84], 0x2f0
mov cl, byte [0x102a1c94]
mov edx, dword [0x102a1c90]
mov byte [edi + edx], cl
mov edx, dword [0x102a1c8c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102a1c90]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102a1c88], 0xffffe4ab
and ebx, 0xff
mov dword [0x102a1c9c], ebx
mov dword [0x102a1c84], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102a1ca1], ch
mov byte [0x102a1ca2], cl
xor ch, cl
mov byte [0x102a1ca0], ch
mov dword [0x102a1c88], 0xffffef26
mov dword [0x102a1c84], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101572f8
mov eax, dword [0x102a1c84]
mov ecx, dword [0x102a1c8c]
mov edx, dword [0x102a1c90]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jmp 0x101571b7
mov dword [0x102a1c88], 0x23ec
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015730a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10156c64
lea ecx, [0x101566b4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [0x102a1c88], 0x1082
mov dword [esp + 0x88], 0x11f800
mov edx, dword [0x102a1c70]
mov dword [esp + 0x94], edx
mov edx, dword [0x102a1c74]
mov dword [esp + 0x64], edx
mov edx, dword [0x102a1c78]
mov dword [esp + 0x90], edx
mov edx, dword [0x102a1c7c]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102a1c80]
mov dword [esp + 0x58], edx
mov dword [0x102a1c84], 0xffffe113
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101573ae
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1015739c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
jne 0x1015739c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [0x102a1c84], 0x1516
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x68], edx
mov dword [0x102a1c88], 0x3a6
call fcn.10155c95
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10157448
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10156225
mov dword [0x102a1c88], 0x2491
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret