joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1035d272
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
shr eax, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
shr eax, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x1004f118], ecx
inc edx
cmp edx, 0x100
jb 0x1035d274
cmp edx, 0x800
jae 0x1035d34e
push esi
lea ecx, [ecx]
mov eax, dword [edx*4 + reloc.WINMM.dll_midiStreamOut]
mov ecx, eax
and ecx, 0xff
mov esi, dword [ecx*4 + reloc.WINMM.dll_midiStreamOut]
shr eax, 8
xor eax, esi
mov dword [edx*4 + 0x1004f118], eax
inc edx
cmp edx, 0x800
jb 0x1035d322
pop esi
mov dword [fcn.10051118], 0x100195a0
call fcn.10359182
test eax, eax
jne 0x1035d36b
mov dword [fcn.10051118], 0x10019640
ret
Function at 0x10360437
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1036057f
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1036057f
mov al, byte [esi]
test al, al
je 0x10360577
push ebx
cmp al, 0xa
jne 0x10360464
inc esi
mov al, byte [esi]
mov cl, byte [esi + 3]
mov byte [ebp - 0xc], al
mov al, byte [esi + 1]
mov byte [ebp - 0xb], al
mov al, byte [esi + 2]
cmp al, 0x3d
mov byte [ebp - 0xa], al
mov byte [ebp - 9], cl
je 0x103604fc
cmp cl, 0x3d
push dword [ebp - 0xc]
je 0x10360527
call fcn.10360422
push dword [ebp - 0xb]
mov byte [ebp - 0xc], al
call fcn.10360422
push dword [ebp - 0xa]
mov bl, al
call fcn.10360422
push dword [ebp - 9]
mov byte [ebp - 0xa], al
call fcn.10360422
mov byte [ebp - 9], al
mov al, byte [ebp - 0xc]
shl al, 2
mov cl, bl
shr cl, 4
and cl, 3
or cl, al
mov al, byte [ebp - 0xa]
shr al, 2
and al, 0xf
shl bl, 4
or al, bl
mov byte [ebp - 3], al
mov al, byte [ebp - 9]
mov byte [ebp + 0xb], bl
mov bl, byte [ebp - 0xa]
shl bl, 6
and al, 0x3f
mov byte [edx], cl
mov cl, byte [ebp - 3]
or al, bl
add esp, 0x10
mov byte [edx + 1], cl
mov byte [edx + 2], al
add esi, 4
mov byte [ebp + 0xb], bl
add edx, 3
jmp 0x1036056c
cmp cl, 0x3d
jne 0x1036056c
push dword [ebp - 0xc]
call fcn.10360422
push dword [ebp - 0xb]
mov bl, al
call fcn.10360422
shr al, 4
and al, 3
shl bl, 2
or al, bl
pop ecx
mov byte [edx], al
add esi, 4
pop ecx
inc edx
jmp 0x1036056c
call fcn.10360422
push dword [ebp - 0xb]
mov bl, al
call fcn.10360422
push dword [ebp - 0xa]
mov byte [ebp - 0xb], al
call fcn.10360422
mov cl, byte [ebp - 0xb]
shr cl, 4
shl bl, 2
and cl, 3
or cl, bl
mov bl, byte [ebp - 0xb]
shr al, 2
shl bl, 4
and al, 0xf
or al, bl
add esp, 0xc
mov byte [edx], cl
mov byte [edx + 1], al
add esi, 4
inc edx
mov byte [ebp + 0xb], bl
inc edx
mov al, byte [esi]
test al, al
jne 0x1036045f
pop ebx
xor eax, eax
mov byte [edx], 0
inc eax
jmp 0x10360581
xor eax, eax
pop esi
leave
ret
Function at 0x10361a32
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + 0x10041e28]
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e29]
mov byte [eax + 0x10051170], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e2a]
mov byte [eax + 0x10051171], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e2b]
mov byte [eax + 0x10051172], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e2c]
mov byte [eax + 0x10051173], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e2d]
mov byte [eax + 0x10051174], dl
mov dl, byte [ecx + ebx - 1]
mov byte [eax + 0x10051175], dl
add eax, 6
cmp eax, 0x30
jl 0x10361a42
mov ecx, 0xc
mov esi, 0x10051170
mov edi, 0x10051878
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, esi
xor eax, eax
sub edi, 0x10051878
lea ecx, [ecx]
mov cl, byte [edi + eax + 0x10051878]
mov dl, byte [eax + 0x10051878]
xor dl, cl
mov cl, byte [eax + 0x10051879]
mov byte [eax + 0x10051878], dl
mov dl, byte [esi + eax + 1]
xor cl, dl
mov dl, byte [eax + 0x1005187a]
mov byte [eax + 0x10051879], cl
mov cl, byte [esi + eax + 2]
xor dl, cl
mov cl, byte [eax + 0x1005187b]
mov byte [eax + 0x1005187a], dl
mov dl, byte [esi + eax + 3]
xor cl, dl
mov dl, byte [eax + 0x1005187c]
mov byte [eax + 0x1005187b], cl
mov cl, byte [esi + eax + 4]
xor dl, cl
mov cl, byte [eax + 0x1005187d]
mov byte [eax + 0x1005187c], dl
mov dl, byte [esi + eax + 5]
xor cl, dl
mov byte [eax + 0x1005187d], cl
add eax, 6
cmp eax, 0x30
jl 0x10361ad2
push 0x10051878
push ebx
call fcn.103619b2
add esp, 8
xor eax, eax
jmp 0x10361b62
movsx ecx, byte [eax + 0x10041e58]
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e59]
mov byte [eax + 0x10051170], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e5a]
mov byte [eax + 0x10051171], dl
mov dl, byte [ecx + ebx - 1]
movsx ecx, byte [eax + 0x10041e5b]
mov byte [eax + 0x10051172], dl
mov dl, byte [ecx + ebx - 1]
mov byte [eax + 0x10051173], dl
add eax, 4
cmp eax, 0x20
jl 0x10361b62
mov edi, ebx
mov ecx, 8
mov esi, 0x10051170
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x105215cd
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop di
xchg byte [esp + 0x1b], ah
mov ecx, dword [esp + 0x1d]
std
lea esi, [edx + edx]
jmp 0x105216db
mov cx, 0xf212
mov ch, 3
shl ebx, cl
mov edx, 0x7cf90b8d
mov bl, byte [esp]
jmp 0x1052164b
xchg ebx, esi
xchg byte [esp], al
dec bx
bsr si, si
mov ecx, dword [esp]
xchg bp, si
jmp 0x10521604
pop edx
xchg cx, bx
bsr bx, ax
lea edx, [ecx*4]
add esp, 3
lea edi, [esi + edi]
jmp 0x1052161a
lea esi, [esi*4]
not ax
rdtsc
mov dh, byte [esp]
xchg al, ch
rdtsc
jmp 0x10521686
mov dword [esp + 1], ebx
bts dx, dx
mov dl, bh
lea ebp, [edi + ebp]
mov esi, ebx
xchg dh, bh
jmp 0x10521634
mov bp, word [esp]
mov al, bh
mov dl, 0xcd
call fcn.105216b6
xor byte [edx + 0x58ba4f28], bh
adc bl, byte [edi + 0x996a0f]
jb 0x1052170e
mov di, cx
mov bx, word [esp + 4]
inc bl
push word [esp + 1]
xor al, dh
inc si
jmp 0x10521673
popal
mov dword [esp], esp
xchg ebp, ecx
add esp, 1
dec ebx
btr edx, esp
jmp 0x105216a1
add byte [eax], al
add byte [ebx - 0x2b14f214], al

Function at 0x10533d21
Capabilities:
Execute anti-debugging instructions

Disassembly:
cld
call 0x10533d21
add ecx, ebp
add dword [eax], reloc.WINMM.dll_midiStreamOut
sal byte [edi + 0x797b342], 1
xchg edi, eax
add dword [edx + reloc.WINMM.dll_midiStreamOut], edi
mov eax, 0x37841511

Function at 0x1053442e
Capabilities:
Parse pe header

Disassembly:
call fcn.10534064
jmp 0x10534454
mov byte [esp + 7], dh
mov dword [esp + 0x68], edi
lea esp, [esp + 0x68]
jmp 0x10534559
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x1053405f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x105344b3

Function at 0x10534444
Capabilities:
Parse pe header

Disassembly:
push word [esp]
push word [esp]
lea esp, [esp]
call fcn.1053442e

Function at 0x1053446a
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
pop dword [esp + 2]
mov dword [esp + 0x48], ebx
call int.10534401
push dword [esp + 5]
jmp 0x10534421
Function at 0x417172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4171a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4171a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x417dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00417f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00417f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00417eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00417f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00417ecb
push ecx
push dword [ebp + 8]
call fcn.00417f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00417f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00417ecb
push ecx
push dword [ebp + 8]
call fcn.00417f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00417f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00417ecb
push ecx
push dword [ebp + 8]
call fcn.00417f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00417f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00417ecb
cmp ecx, 0x2b
jne 0x417e0f
leave
ret 0xc

Function at 0x4194b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x419544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x8210
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4195d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x8210
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x8210
call fcn.004193fa
push 0x8210
push dword [ebp + 0xc]
call fcn.004171a8
test eax, eax
jne 0x4195b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x8210
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004195dd
test eax, eax
je 0x4195d6
jmp 0x419574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4195d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x41960b
Capabilities:
Terminate process

Disassembly:
call fcn.00419618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x410a10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49794b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00489a76
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410a92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004869e7
mov eax, dword [eax]
push 0x4d3220
push eax
call fcn.004791e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00489d01
test bl, bl
je 0x410a92
push 0x4d3220
lea ecx, [esp + 0xc]
call fcn.0048a0dd
push 0x4d6da4
lea ecx, [esp + 0xc]
call fcn.0048a0dd
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x410ace
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00489d01
jmp 0x410b99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x410b52
lea edx, [esp + 0x7c]
push 0x4d6da0
push edx
call fcn.004791e4
add esp, 8
test eax, eax
je 0x410b52
lea eax, [esp + 0x7c]
push 0x4d6d9c
push eax
call fcn.004791e4
add esp, 8
test eax, eax
je 0x410b52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410ae2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00489d01
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411390
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4113f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x411400
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4979cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4de93c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x411538
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411466
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489d01
xor eax, eax
jmp 0x4115af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00489e8a
push esi
lea ecx, [esp + 0xc]
call fcn.0048a119
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4d6ddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41158d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411390
test eax, eax
jne 0x41158d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00411390
test eax, eax
jne 0x41158d
lea eax, [esp + 0x14]
push 0x4d6db8
push eax
call fcn.0047a2c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41156c
lea ecx, [esp + 0x14]
push 0x4d6db4
push ecx
call fcn.0047a240
mov esi, eax
add esp, 8
test esi, esi
jne 0x41156c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41156f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00489e3a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41147e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489d01
xor eax, eax
jmp 0x4115af
mov byte [esi], 0
push 0x4d6db0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00489d01
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x423050
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4230be
cmp si, 0x69
ja 0x4230be
add esi, 0xffd0
cmp si, 0x11
je 0x42308e
push 0x11
call edi
test ax, ax
jge 0x42308e
or esi, 0x2000
cmp si, 0x10
je 0x4230a3
push 0x10
call edi
test ax, ax
jge 0x4230a3
or esi, 0x4000
cmp si, 0x12
je 0x4230b8
push 0x12
call edi
test ax, ax
jge 0x4230b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4230cb
mov esi, 0xbd
jmp 0x42307f
cmp si, 0x6e
jne 0x4230d8
mov esi, 0xbe
jmp 0x42307f
cmp si, 0x6f
jne 0x423079
mov esi, 0xbf
jmp 0x42307f

Function at 0x4247f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ef758]
xor edx, edx
cmp eax, edx
jne 0x424816
xor eax, eax
mov byte [eax + 0x4ef658], al
inc eax
cmp eax, 0x100
jl 0x4247fe
mov dword [0x4ef758], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ef658
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4248a7
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 0x42487a
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 0x424848
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424920
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 0x424973
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 0x42495a
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 0x427eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00490a23
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00427d80
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00490a95
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x42b610
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42b7a8
cmp ebp, ebx
jle 0x42b7a8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x42b66e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42b675
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42b684
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42b68b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00489a42
add esp, 4
cmp eax, ebx
je 0x42b6ac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00489a42
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42b79e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42b785
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42b771
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42b766
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42b774
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42b774
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42b710
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42b701
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42e9c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4990c8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x42e9f9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00491c1a
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00491ca2
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0042ea80
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00491cdf
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24