joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd39
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41af20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040974e
mov dword [ebp - 0x14], eax
cmp dword [0x46267c], esi
jne 0x40ce2c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cdb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cf0c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cf0c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cf0c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x46267c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x462680], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x462684], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46268c], eax
test eax, eax
je 0x40ce29
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x462688], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ce51
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ce44
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ce66
push 4
pop eax
jmp 0x40cf0e
cmp dword [ebp - 0x14], esi
je 0x40ce66
push dword [0x46267c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ce4b
mov eax, dword [0x462688]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cec4
cmp dword [0x46268c], edi
je 0x40cec4
push eax
call ebx
push dword [0x46268c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cec4
test eax, eax
je 0x40cec4
call ecx
test eax, eax
je 0x40ceb9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ceb9
test byte [ebp - 8], 1
jne 0x40cec4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cef4
mov eax, dword [0x462680]
cmp eax, edi
je 0x40cef1
push eax
call ebx
test eax, eax
je 0x40cef1
call eax
mov esi, eax
test esi, esi
je 0x40cef1
mov eax, dword [0x462684]
cmp eax, edi
je 0x40cef1
push eax
call ebx
test eax, eax
je 0x40cef1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x46267c]
call ebx
test eax, eax
je 0x40cf0c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cf0e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041a7
mov esp, ebp
pop ebp
ret
Function at 0x102621b0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa0
mov al, 0x6e
xor ecx, ecx
lea edx, [ebp - 0x6c]
mov esi, dword [0x102c9d78]
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x6c
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0x51
add esi, 0xffffc004
mov dword [0x102c9d78], esi
mov dword [0x102c9d7c], 0x162e
mov dword [ebp - 0x70], edx
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x102622f7
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [0x102c9d7c], 0x1325
mov ecx, dword [ebp - 0x88]
cmp eax, ecx
mov dl, byte [ebp - 0x89]
mov byte [ebp - 0x8a], dl
mov dword [ebp - 0x90], eax
jb 0x102623a7
jmp 0x102622d1
mov eax, dword [ebp - 0x94]
mov cl, byte [ebp + eax - 0x2c]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x71], cl
jmp 0x102622f7
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
jmp 0x10262287
mov eax, dword [ebp - 0x9c]
mov cx, word [eax + 0x24]
mov dword [0x102c9d7c], 0x2445
mov edx, dword [eax + 0x28]
mov dword [0x102c9d78], 0x3bf
shr cx, 1
movzx esi, cx
cmp cx, 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x88], esi
je 0x10262386
jmp 0x1026237c
mov al, byte [ebp - 0x8a]
mov dword [0x102c9d78], 0x1966
test al, 1
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], ecx
jne 0x10262219
jmp 0x10262386
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
add eax, 1
cmp eax, 0x20
mov dword [ebp - 0x94], eax
jne 0x10262267
mov dword [0x102c9d78], 0x90
mov dword [0x102c9d7c], 0x217f
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102c9d78], 0x8df
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102c9d7c], 0x1d98
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x80], eax
je 0x10262222
jmp 0x10262279
xor eax, eax
mov dword [ebp - 0x90], eax
jmp 0x102623a7
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa8]
cmp ecx, edx
mov dword [ebp - 0x9c], ecx
je 0x1026242f
jmp 0x10262287
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa4]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x84], eax
mov word [ebp - 0xaa], dx
mov word [ebp - 0xac], di
jb 0x102623f0
mov ax, word [ebp - 0xaa]
mov word [ebp - 0xac], ax
mov ax, word [ebp - 0xac]
mov ecx, dword [ebp - 0x84]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
cmp ax, 0
sete dh
mov bl, dl
xor bl, 1
or dh, bl
test dh, 1
mov dh, dl
mov byte [ebp - 0x89], dl
mov byte [ebp - 0x8a], dh
jne 0x102622d1
jmp 0x10262230
xor eax, eax
mov dword [ebp - 0x80], eax
jmp 0x10262222
Function at 0x10262780
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 [0x102c9d84], 0
mov byte [0x102c9d88], 0
mov dword [0x102c9d80], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102627ce
xor eax, eax
mov dword [0x102c9d80], 0
mov dword [ebp - 0x20], eax
jmp 0x10262808
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x102c9d7c]
add ecx, 0x1875
mov dword [0x102c9d78], ecx
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c9d80]
add eax, 1
mov dword [0x102c9d80], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102627ce
jmp 0x102627bd
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102c9d8c], 0
mov dword [0x102c9d78], 0xf66
mov edx, dword [0x102c9d84]
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 [0x102c9d8c], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x102c9d84], edx
mov dword [0x102c9d78], 0xae7
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102c9d88], cl
mov ecx, dword [0x102c9d7c]
add ecx, 0x3b4
mov dword [0x102c9d7c], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x102c9d7c], 0x13f5
mov cl, byte [0x102c9d88]
mov edx, dword [0x102c9d84]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102c9d78]
add edx, 0x17fb
mov dword [0x102c9d78], edx
mov edx, dword [0x102c9d80]
add edx, 1
mov dword [0x102c9d80], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10262808
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10262cb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x102c9d78], 0x10f6
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x102c9d7c], 0x819
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10262d04
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10262d4f
jmp 0x10262dca
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10262d31
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10262d04
mov eax, dword [ebp - 0x1c]
mov dword [0x102c9d78], 0x1447
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10262cf0
jmp 0x10262dca
mov dword [0x102c9d7c], 0x39e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10262dca
mov dword [0x102c9d7c], 0x61e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10262dca
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x64
jne 0x10262dca
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10262dca
mov eax, 1
mov dword [0x102c9d7c], 0x1617
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10262dd1
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10262dd1
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x102630f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102c9d78], 0x11b7
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10262910
lea ecx, [0x10263c90]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], 0x133400
mov edx, dword [0x102c9d64]
mov dword [esp + 0x3c], edx
mov edx, dword [0x102c9d68]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102c9d6c]
mov dword [esp + 0x64], edx
mov edx, dword [0x102c9d70]
mov dword [esp + 0x74], edx
mov edx, dword [0x102c9d74]
mov dword [esp + 0x54], edx
mov dword [0x102c9d7c], 0x1181
mov dword [0x102c9d78], 0x1c79
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x102631c4
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [0x102c9d7c], 0x61d
mov dword [0x102c9d78], 0xfffff615
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x6c], eax
call fcn.10262cb0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x102631ff
jmp 0x10263180
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x102631eb
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x10263188
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x102631c4
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10262e40
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102c9d78], 0x10a4
mov dword [esp + 0x18], eax
jmp 0x10263180
Function at 0x10263320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x102c9d7c]
add ecx, 0xffffe74f
mov dword [0x102c9d7c], ecx
mov dword [ebp - 0x10], eax
call fcn.102621b0
xor ecx, ecx
mov edx, eax
mov dword [0x102c9d7c], 0x61d
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 0x10263378
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102c9d78], 0x1f62
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
jne 0x10263447
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x1026345e
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
mov dword [0x102c9d78], 0xca2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x102c9d7c], 0x74f
mov dword [ebp - 0x30], esi
jmp 0x102633b1
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x52]
mov byte [ebp - 0x53], dl
mov dword [ebp - 0x48], eax
jne 0x1026345e
mov al, byte [ebp - 0x53]
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
jne 0x102633db
jmp 0x10263491
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 - 0x34], eax
jmp 0x102633bc
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 bl, cl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
mov byte [ebp - 0x53], bl
je 0x10263438
jmp 0x1026340a
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jb 0x102633bc
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x102633b1
Function at 0x10263550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x102c9d7c]
add esi, 0xfffff90b
mov dword [0x102c9d7c], esi
mov dword [0x102c9d78], 0x20f7
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 0x10263758
jmp 0x102635ed
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x1026363d
mov dword [0x102c9d78], 0x3bf
mov ax, word [ebp - 0x22]
shr ax, 1
movzx ecx, ax
mov word [ebp - 0x24], ax
mov dword [ebp - 0x28], ecx
mov ax, word [ebp - 0x24]
cmp ax, 0
je 0x102635a7
jmp 0x102636a4
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10263758
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x102c9d78], 0x90
mov dword [0x102c9d7c], 0x217f
mov edx, dword fs:[0x18]
mov dword [0x102c9d78], 0x8df
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [0x102c9d7c], 0x1d98
mov edx, eax
mov byte [ebp - 0x2d], cl
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], ecx
je 0x10263752
mov dword [0x102c9d78], 0x2360
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + 0x24]
mov dword [0x102c9d7c], 0x2445
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov word [ebp - 0x22], cx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
sete dl
mov dh, byte [ebp - 0x2d]
and dh, dl
test dh, 1
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
jne 0x102635dd
jmp 0x102635b2
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x102636ab
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x102636df
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
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 al, bl
mov byte [ebp - 0x4d], bl
mov byte [ebp - 0x4e], al
jne 0x10263736
mov dword [0x102c9d7c], 0x1325
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
mov dl, byte [ebp - 0x4d]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x4e], dl
jb 0x102636ab
mov al, byte [ebp - 0x4e]
mov dword [0x102c9d78], 0x1966
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
jne 0x10263752
jmp 0x102635a7
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102638f0
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 edi, dword [0x102c9d7c]
add edi, 0x1b00
mov dword [0x102c9d78], edi
mov dword [0x102c9d80], 0
mov dword [0x102c9d84], 0
mov dword [0x102c9d90], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x10263a84
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1026395d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102c9d78], 0x13c0
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102c9d80], edx
mov dword [0x102c9d7c], 0xfffffc39
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 [0x102c9d84], edx
mov dword [0x102c9d7c], 0x17df
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102c9d88], cl
mov dword [0x102c9d7c], 0x1320
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102c9d88]
mov edx, dword [0x102c9d84]
mov byte [edi + edx], cl
mov edx, dword [0x102c9d78]
add edx, 0x6df
mov dword [0x102c9d78], edx
mov edx, dword [0x102c9d80]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c9d84]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102c9d90], ebx
mov dword [0x102c9d78], 0x1c96
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dword [0x102c9d7c], 0xffffff80
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x102c9d7c]
add edx, 0x8ed
mov dword [0x102c9d7c], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10263a82
mov eax, dword [0x102c9d80]
mov ecx, dword [0x102c9d84]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x1026395d
jmp 0x10263a84
mov dword [0x102c9d7c], 0x2214
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10263d00
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov al, 0x6b
xor ecx, ecx
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x32
mov dword [0x102c9d78], 0x1ef
mov dword [0x102c9d7c], 0x883
mov byte [ebp - 0x71], al
mov dword [ebp - 0x78], ecx
jmp 0x10263dc2
mov dword [0x102c9d78], 0x90
mov dword [0x102c9d7c], 0x217f
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102c9d78], 0x8df
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102c9d7c], 0x1d98
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], eax
je 0x10263f5f
jmp 0x10263dfb
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
mov edx, eax
inc edx
movsx esi, cl
mov di, si
mov word [ebp + eax*2 - 0x6c], di
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x71], cl
mov dword [ebp - 0x78], edx
je 0x10263d6a
jmp 0x10263dc2
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
jmp 0x10263f5f
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
jmp 0x10263e06
mov eax, dword [ebp - 0x8c]
mov cx, word [eax + 0x24]
mov dword [0x102c9d7c], 0x2445
mov edx, dword [eax + 0x28]
mov dword [0x102c9d78], 0x3bf
shr cx, 1
movzx esi, cx
cmp cx, 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], esi
je 0x10263e51
xor eax, eax
mov dword [ebp - 0x9c], eax
jmp 0x10263e6c
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x80]
cmp ecx, edx
mov dword [ebp - 0x8c], ecx
je 0x10263f55
jmp 0x10263e06
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x94]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0xa0], eax
mov word [ebp - 0xa2], dx
mov word [ebp - 0xa4], di
jb 0x10263eb5
mov ax, word [ebp - 0xa2]
mov word [ebp - 0xa4], ax
mov ax, word [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
cmp word [ebp + ecx*2 - 0x6c], ax
sete dl
cmp ax, 0
sete dh
mov bl, dl
xor bl, 1
or dh, bl
test dh, 1
mov dh, dl
mov byte [ebp - 0xa5], dl
mov byte [ebp - 0xa6], dh
jne 0x10263f2c
mov dword [0x102c9d7c], 0x1325
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
cmp eax, ecx
mov dl, byte [ebp - 0xa5]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0xa6], dl
jb 0x10263e6c
mov al, byte [ebp - 0xa6]
mov dword [0x102c9d78], 0x1966
test al, 1
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x88], ecx
jne 0x10263de7
jmp 0x10263e51
xor eax, eax
mov dword [ebp - 0x84], eax
jmp 0x10263f5f
mov eax, dword [ebp - 0x84]
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4219a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4219b2
pop dword [ebp - 0x50]
mov eax, 0xd5c679fe
add eax, 0x2a7b9fb4
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x43911
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x3d8d9bf5
sub ecx, 0x3d8d3dc3
xor esi, esi
add esi, eax
mov edx, 0x435400
add edx, dword [ebp - 0x50]
mov edi, 0x60859a84
sub dword [ebp - 0x18], 0x19a67859
mov ebx, dword [edx]
add dword [ebp - 0x48], 0x7b4dfdf5
add ebx, edi
xor dword [ebp - 0x4c], eax
mov dword [esi], ebx
sub dword [ebp - 0x2c], 0xb8ceef1b
add esi, 4
add edx, 4
loop 0x421a02
add eax, 0xa557e319
sub eax, 0xa556777e
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret