joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490fe5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4910fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4910fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c3c96
mov esi, eax
test esi, esi
je 0x4910fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4910fd
mov ecx, esi
call fcn.00490f70
cmp edi, eax
jge 0x4910fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x491083
mov dword [esp + 0x34], 1
jmp 0x4910de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4910fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0048f7c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x49b8f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5260ec]
xor edx, edx
cmp eax, edx
jne 0x49b916
xor eax, eax
mov byte [eax + 0x525fec], al
inc eax
cmp eax, 0x100
jl 0x49b8fe
mov dword [0x5260ec], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x525fec
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49b9a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x49b97a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x49b948
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x49ba20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x49ba73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x49ba5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a23f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d159e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a2d10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4e2b5c
call fcn.004c1fad
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a2483
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c1fad
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a247c
push 0
mov ecx, eax
call fcn.00499520
mov dword [esi + 0xc], eax
jmp 0x4a2485
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a2485
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4c463a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c4672
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c26c7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c269f
jmp 0x4c467e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c5d2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c5d71
call fcn.004cb82c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c5d71
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c5d68
xor eax, eax
jmp 0x4c5d79
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c5d7f
pop edi
pop esi
pop ebx
ret 4
Function at 0x4cbd5c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4cbd8a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4cbda8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cbcc2
jmp 0x4cbda8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cbda8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cbcc2
test edi, edi
mov eax, edi
jne 0x4cbd92
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1023bb46
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102690c0]
jne 0x1023bb50
repz ret
jmp fcn.1023ea56

Function at 0x1024010f
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.1023bc4c
and dword [ebp - 4], 0
cmp dword [0x1026aa9c], 0
mov ebx, eax
jne 0x102401c0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10240271
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10240271
push eax
call fcn.1023bbda
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1026aa9c], eax
call esi
push eax
call fcn.1023bbda
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1026aaa0], eax
call esi
push eax
call fcn.1023bbda
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1026aaa4], eax
call esi
push eax
call fcn.1023bbda
pop ecx
mov dword [0x1026aaac], eax
test eax, eax
je 0x102401c0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1023bbda
pop ecx
mov dword [0x1026aaa8], eax
mov eax, dword [0x1026aaa8]
cmp eax, ebx
je 0x10240218
cmp dword [0x1026aaac], ebx
je 0x10240218
push eax
call fcn.1023bc55
push dword [0x1026aaac]
mov esi, eax
call fcn.1023bc55
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10240218
test edi, edi
je 0x10240218
call esi
test eax, eax
je 0x1024020f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1024020f
test byte [ebp - 0xc], 1
jne 0x10240218
or dword [ebp + 0x10], 0x200000
jmp 0x10240251
mov eax, dword [0x1026aaa0]
cmp eax, ebx
je 0x10240251
push eax
call fcn.1023bc55
pop ecx
test eax, eax
je 0x10240251
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10240251
mov eax, dword [0x1026aaa4]
cmp eax, ebx
je 0x10240251
push eax
call fcn.1023bc55
pop ecx
test eax, eax
je 0x10240251
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1026aa9c]
call fcn.1023bc55
pop ecx
test eax, eax
je 0x10240271
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10240273
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10241427
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 edi, dword [0x10268b3c]
add edi, 0x2307
mov dword [0x10268b38], edi
mov dword [0x10268b44], 0
mov byte [0x10268b48], 0
mov dword [0x10268b3c], 0x1492
mov dword [0x10268b40], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10241491
xor eax, eax
mov dword [0x10268b40], 0
mov dword [ebp - 0x20], eax
jmp 0x102414cd
mov eax, dword [ebp - 0x1c]
mov dword [0x10268b3c], 0x11fa
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10268b38], 0xfffff39e
mov eax, dword [0x10268b40]
add eax, 1
mov dword [0x10268b40], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10241491
jmp 0x10241480
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10268b4c], 0
mov dword [0x10268b38], 0x113b
mov edx, dword [0x10268b44]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], 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 [0x10268b4c], edi
mov dword [0x10268b3c], 0x977
mov eax, edi
cdq
idiv ecx
mov dword [0x10268b44], edx
mov dword [0x10268b38], 0x182
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10268b48], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10268b48]
mov edx, dword [0x10268b44]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10268b3c], 0x1ee0
mov edx, dword [0x10268b40]
add edx, 1
mov dword [0x10268b40], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x102414cd
mov dword [0x10268b3c], 0x5b8
mov eax, dword [0x10268b38]
add eax, 0x1964
mov dword [0x10268b38], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10241a03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10268b38], 0x2289
mov dword [ebp - 0x10], eax
call fcn.10240fe2
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 0x10241a49
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
add ecx, edx
mov dword [0x10268b38], 0x5d8
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x10268b3c], 0xa39
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x10241ac8
jmp 0x10241ad3
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x10241afd
jmp 0x10241b2a
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x34]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
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 - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
jne 0x10241a9e
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10241b5c
jmp 0x10241b33
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], ecx
jb 0x10241ae3
jmp 0x10241ac8
mov eax, dword [ebp - 0x50]
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 [0x10268b38], 0xf
mov dword [ebp - 0x38], edi
jmp 0x10241ac8
Function at 0x10241bdf
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [0x10268b3c], 0x4f5
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [0x10268b38], 0x650
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov dword [ebp - 0x14], eax
je 0x10241c48
jmp 0x10241c5e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10241d23
jmp 0x10241d44
mov eax, dword [0x10268b3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10241c89
mov eax, 0xab6
mov dword [0x10268b3c], 0xab6
mov ecx, dword [ebp - 0x14]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], eax
jl 0x10241c1d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, eax
add edx, 0xffffde47
mov dword [0x10268b3c], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
jne 0x10241d44
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x10241ccf
jmp 0x10241d44
mov eax, dword [ebp - 0x28]
add eax, 0xffffff23
mov dword [0x10268b38], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10241d44
mov dword [0x10268b38], 0xe50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10241d44
mov dword [0x10268b38], 0x1419
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10241c30
jmp 0x10241d44
mov eax, 1
mov dword [0x10268b3c], 0x7a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x10241d53
xor eax, eax
mov dword [0x10268b3c], 0x1280
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop ebp
ret
Function at 0x10241d5b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10244695]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10268b38], 0x117a
mov dword [0x10268b3c], 0x2413
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1024226f
mov dword [0x10268b3c], 0x182b
mov dword [0x10268b38], 0xee1
call fcn.102425b4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10241160
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10241e9f
jmp 0x10241e02
mov eax, dword [ebp - 0x44]
add eax, 0x26ea
mov dword [0x10268b38], 0x13f8
mov dword [ebp - 0x40], eax
jmp 0x10241e9f
mov eax, dword [ebp - 0x3c]
mov dword [0x10268b3c], 0x686
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 [0x10268b3c], 0x1c5a
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.102412f7
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [0x10268b3c], 0x145
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x28], eax
xor eax, eax
mov dword [0x10268b38], 0x640
mov ecx, dword [ebp - 0x44]
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x10241de8
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10242018
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 ebx, dword [0x10268b38]
add ebx, 0x510
mov dword [0x10268b3c], ebx
mov dword [0x10268b40], 0
mov dword [0x10268b44], 0
mov dword [0x10268b50], 0
mov dword [0x10268b38], 0x16c5
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
je 0x102421a2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10268b3c], 0x47c
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10268b40], edx
mov dword [0x10268b38], 0xd85
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10268b44], edx
mov dword [0x10268b38], 0x237c
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10268b48], cl
mov dword [0x10268b3c], 0x46d
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10268b3c], 0x7f8
mov cl, byte [0x10268b48]
mov edx, dword [0x10268b44]
mov byte [edi + edx], cl
mov dword [0x10268b38], 0x14d6
mov edx, dword [0x10268b40]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10268b44]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10268b3c], 0x16e2
and ebx, 0xff
mov dword [0x10268b50], ebx
mov dword [0x10268b38], 0xaf
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10268b55], ch
mov byte [0x10268b56], cl
xor ch, cl
mov byte [0x10268b54], ch
mov dword [0x10268b38], 0xa4e
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
jne 0x102421b4
mov dword [0x10268b38], 0xb72
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10268b40]
mov ecx, dword [0x10268b44]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1024208d
Function at 0x10242341
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10268b38]
add eax, 0xffffddc7
mov dword [0x10268b38], eax
call fcn.1000107a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x102423fb
jmp 0x102423f3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x102423f3
lea eax, [esp + 0x38]
mov dword [0x10268b38], 0x1b81
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10241d5b
mov dword [0x10268b3c], 0xecc
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x10242374
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
mov dword [0x10268b38], 0xebf
call fcn.10241bdf
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x1024237e
jmp 0x10242374
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x10268b3c]
add edx, 0xffffd0b8
mov dword [0x10268b38], edx
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.102415b4
lea ecx, [0x10241b84]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], 0x11a800
mov dword [0x10268b3c], 0x1eb7
mov edx, dword [0x10268b24]
mov dword [esp + 0x64], edx
mov edx, dword [0x10268b28]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10268b2c]
mov dword [esp + 0x48], edx
mov edx, dword [0x10268b30]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10268b34]
mov dword [esp + 0x54], edx
mov dword [0x10268b38], 0x19e4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
jne 0x102424ac
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x102423be
mov dword [0x10268b3c], 0x773
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x10242485