joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10153670
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10168a30]
jne 0x1015367a
repz ret
jmp fcn.101554ec

Function at 0x10156a83
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.101525e0
and dword [ebp - 4], 0
cmp dword [0x1016a5cc], 0
mov ebx, eax
jne 0x10156b34
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10156be5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10156be5
push eax
call fcn.1015256e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1016a5cc], eax
call esi
push eax
call fcn.1015256e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1016a5d0], eax
call esi
push eax
call fcn.1015256e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1016a5d4], eax
call esi
push eax
call fcn.1015256e
pop ecx
mov dword [0x1016a5dc], eax
test eax, eax
je 0x10156b34
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1015256e
pop ecx
mov dword [0x1016a5d8], eax
mov eax, dword [0x1016a5d8]
cmp eax, ebx
je 0x10156b8c
cmp dword [0x1016a5dc], ebx
je 0x10156b8c
push eax
call fcn.101525e9
push dword [0x1016a5dc]
mov esi, eax
call fcn.101525e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10156b8c
test edi, edi
je 0x10156b8c
call esi
test eax, eax
je 0x10156b83
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10156b83
test byte [ebp - 0xc], 1
jne 0x10156b8c
or dword [ebp + 0x10], 0x200000
jmp 0x10156bc5
mov eax, dword [0x1016a5d0]
cmp eax, ebx
je 0x10156bc5
push eax
call fcn.101525e9
pop ecx
test eax, eax
je 0x10156bc5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10156bc5
mov eax, dword [0x1016a5d4]
cmp eax, ebx
je 0x10156bc5
push eax
call fcn.101525e9
pop ecx
test eax, eax
je 0x10156bc5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1016a5cc]
call fcn.101525e9
pop ecx
test eax, eax
je 0x10156be5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10156be7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10157994
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10157b61
jmp 0x10157a0d
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
je 0x10157b61
jmp 0x10157a62
mov dword [0x10167fb4], 0xffffc994
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10157b61
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
jne 0x101579e9
jmp 0x101579cf
mov dword [0x10167fb4], 0x25ed
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x10167fb0], 0x14fc
mov edx, dword fs:[0x18]
mov dword [0x10167fb0], 0xffffeafc
mov eax, dword [edx + 0x30]
mov dword [0x10167fb4], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, eax
mov byte [ebp - 0x2a], cl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jmp 0x101579cf
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov dword [0x10167fb0], 0xe77
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x2a]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], esi
jne 0x10157a9a
jmp 0x10157aaa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10157b61
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov dword [0x10167fb0], 0x26b6
mov word [ebp - 0x36], cx
xor eax, eax
mov cx, word [ebp - 0x36]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x101579cf
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x44], eax
mov word [ebp - 0x46], dx
mov word [ebp - 0x48], di
jb 0x10157b16
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x29], bl
jne 0x101579fe
mov dword [0x10167fb0], 0x667
mov eax, dword [ebp - 0x44]
add eax, 1
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
mov dword [ebp - 0x40], eax
jb 0x10157ae2
jmp 0x101579fe
mov eax, dword [ebp - 0x18]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10157fb3
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]
mov dword [0x10167fbc], 0
mov byte [0x10167fc0], 0
mov dword [0x10167fb0], 0x1f87
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10167fb8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10167fb8]
add eax, 1
mov dword [0x10167fb8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10157ff8
xor eax, eax
mov dword [0x10167fb0], 0xd51
mov dword [0x10167fb8], 0
mov dword [ebp - 0x20], eax
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 [0x10167fc4], 0
mov dword [0x10167fb0], 0x17de
mov edi, dword [0x10167fbc]
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 [0x10167fc4], esi
mov dword [0x10167fb4], 0x51e
mov dword [0x10167fb0], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x10167fbc], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10167fc0], cl
mov dword [0x10167fb0], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x10167fb0]
add esi, 0x1ff7
mov dword [0x10167fb4], esi
mov cl, byte [0x10167fc0]
mov esi, dword [0x10167fbc]
mov byte [ebx + esi], cl
mov dword [0x10167fb0], 0x5e6
mov esi, dword [0x10167fb4]
add esi, 0xfffffd1a
mov dword [0x10167fb4], esi
mov esi, dword [0x10167fb8]
add esi, 1
mov dword [0x10167fb8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10158037
mov dword [0x10167fb0], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10158137
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
mov dword [0x10167fb0], 0xeb4
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x10158168
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xb4
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add esi, ebx
add esi, 0x44
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0xe3
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x10158168
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x1015b5b3]
mov dl, byte [eax + str.5_OJ4]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x101581c9
lea eax, [ebp - 0x12c]
mov dword [0x10167fb0], 0xf0b
mov dword [ebp - 0x144], eax
call fcn.10158f83
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10157ceb
mov ecx, eax
mov dword [0x10167fd0], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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, dword [0x10167fb4]
add edx, 0xffffd942
mov dword [0x10167fb0], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0xb4
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
imul edi, eax, 0xb4
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xb4
add edx, ebx
add edx, 0x44
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.101584a8
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0xe3
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x10158278
lea eax, [0x1015b592]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10167fb4], 0xe6d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10157fb3
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10158a76
mov dword [0x10167fb0], 0x1e27
mov eax, dword [ebp - 0x148]
add eax, 0x280fa
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ecx + 4], 0x11e200
mov eax, dword [ebp - 0x148]
add eax, 0x23a4d
mov dword [ecx + 8], eax
mov eax, dword [0x10167fb0]
add eax, 0xffffe53e
mov dword [0x10167fb0], eax
mov dword [ecx + 0xc], 0x2010
xor eax, eax
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10158534
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 [0x10167fb4], 0x26de
mov dword [ebp - 0x10], eax
call fcn.10157b6c
mov ecx, eax
mov edx, ecx
add edx, dword [eax + 0x3c]
mov dword [0x10167fb4], 0xe73
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
cmp edx, 0x4550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10158584
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10167fb0], 0x16bd
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101585de
jmp 0x101585e9
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [0x10167fb0], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 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 - 0x18]
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 0x10158677
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
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov byte [ebp - 0x56], dl
mov al, byte [ebp - 0x55]
mov cl, byte [ebp - 0x56]
and al, cl
test al, 1
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], edx
jne 0x10158615
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101585bb
jmp 0x10158684
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 - 0x38], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
jb 0x101585fb
jmp 0x101585de
Function at 0x101586fe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10167fb0], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10158787
jmp 0x10158766
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101587c3
jmp 0x10158818
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop ebp
ret
mov dword [0x10167fb0], 0x9f6
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10158732
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10158818
mov dword [0x10167fb0], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10158818
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1015874a
jmp 0x10158818
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10158818
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x6c
jne 0x10158818
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x25], dl
mov eax, 1
mov cl, byte [ebp - 0x25]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x1015875e
jmp 0x10158818
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1015875e
Function at 0x10158822
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]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10158934
mov eax, dword [ebp - 0x34]
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 [0x10167fb0]
add ecx, 0xffffdbc9
mov dword [0x10167fb0], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10157ea6
mov eax, dword [0x10167fb0]
add eax, 0xffffe005
mov dword [0x10167fb4], eax
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov dword [0x10167fb0], 0x19c4
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x2c], ecx
add ecx, 0x12bc
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101588ee
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x10167fb0], 0x1372
mov dword [ebp - 0x44], eax
call fcn.10158f83
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10157ceb
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0
jne 0x1015883f
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1015b5b3]
mov dl, byte [eax + str.5_OJ4]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x101588f7
jmp 0x10158934
Function at 0x10158a76
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]
mov dword [0x10167fb8], 0
mov dword [0x10167fbc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10167fc8], 0
mov ecx, dword [0x10167fb4]
add ecx, 0xfffff338
mov dword [0x10167fb0], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x10158ae9
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10167fb0], 0x20d1
mov dword [0x10167fb4], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10167fb8], edx
mov ecx, dword [ebp - 0x1c]
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 [0x10167fbc], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10167fc0], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10167fc0]
mov edx, dword [0x10167fbc]
mov byte [edi + edx], cl
mov dword [0x10167fb4], 0x2664
mov edx, dword [0x10167fb8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10167fbc]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10167fc8], ebx
mov dword [0x10167fb0], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10167fcd], ch
mov byte [0x10167fce], cl
xor ch, cl
mov byte [0x10167fcc], ch
mov dword [0x10167fb0], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x10167fb4], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10158ae1
mov eax, dword [0x10167fb8]
mov ecx, dword [0x10167fbc]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x10158ae9
Function at 0x10158d34
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10158dcd
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [0x10167fb4], 0x341
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10158822
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x28], eax
jmp 0x10158eb2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x20], ecx
je 0x10158e7e
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x10158e66
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x10167fb0], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.10158137
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x90], edx
mov dword [esp + 0x60], 0x11e200
mov edx, dword [0x10167f9c]
mov dword [esp + 0x48], edx
mov edx, dword [0x10167fa0]
mov dword [esp + 0x80], edx
mov edx, dword [0x10167fa4]
add ecx, 0x44
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
lea eax, [0x101586b1]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
mov esi, dword [0x10167fa8]
mov dword [esp + 0x44], esi
mov esi, dword [0x10167fac]
mov dword [esp + 0x88], esi
mov dword [0x10167fb4], 0x4bf
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
je 0x10158d96
jmp 0x10158dae
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov dword [0x10167fb4], 0xe73
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x68], edx
call fcn.101586fe
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
je 0x10158d5d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x10158d53
Function at 0x418bb4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x418bf3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418bf3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418bf3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x418bf3
cmp dword [ecx + 0x74], 0xe
jbe 0x418bf3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41a990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4253a4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x434340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
test eax, eax
js 0x41aa85
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
push 1
call sub.mfc140.dll_Ordinal_8031
mov edi, eax
test edi, edi
js 0x41aa88
mov ecx, ebx
call fcn.0041a5e0
mov esi, eax
xor ecx, ecx
mov edx, 0x4c
mov dword [ebp + 8], esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.mfc140.dll_Ordinal_265
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41aa3a
push 0x4192d0
push 0x419140
push dword [ebp + 8]
mov dword [eax], esi
lea esi, [eax + 4]
push 0x4c
push esi
call fcn.00417fb0
jmp 0x41aa3c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41aa85
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push esi
push 0
push 0
push 0
push 0
push 4
push 0
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0xc], 0xffffffff
call sub.mfc140.dll_Ordinal_13574
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10