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

Disassembly:
push edi
mov edi, dword [esp + 8]
test ecx, ecx
jne 0x447a40
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x447af2
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x48cdb0]
inc ecx
sub edi, 8
dec esi
jne 0x447a57
pop ebx
test edi, edi
je 0x447b0b
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x48cdb0]
inc ecx
dec edi
jne 0x447af6
pop esi
not eax
pop edi
ret

Function at 0x4481f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x448226
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448221
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x44824e
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x448237
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00469e00
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x4529fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x694], ebx
je 0x452a66
cmp dword [ebp + 8], 0x100
jne 0x452a55
cmp word [ebp + 0xc], 0xd
jne 0x452a55
cmp byte [edi + 0x69a], bl
jne 0x452a38
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x452a55
cmp byte [edi + 0x69b], bl
je 0x452a55
push esi
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x452a50
push 1
push ebx
push ebx
push ebx
push edi
mov ecx, str.return
call fcn.004338bc
xor eax, eax
pop esi
jmp 0x452a69
mov eax, dword [edi + 0x694]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop edi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x459b93
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x6e8], 0
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x459c08
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00459c78
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push dword [eax + 0x84]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0042d85a
mov ecx, dword [ebx + 0x10]
push dword [ecx + 0x664]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0043417a
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax + 0x38]
mov eax, dword [eax]
cmp word [eax], 0
lea ecx, [ebp - 0x98]
sete byte [ebp + 0xb]
call fcn.0042f563
cmp byte [ebp + 0xb], 0
mov esi, 0x6d8
je 0x459c43
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 4

Function at 0x45a010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0044f6fc
mov eax, dword [ebx + 0x6f0]
test eax, eax
je 0x45a095
lea ecx, [esp + 0x10]
push ecx
call fcn.00459c78
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45a068
mov eax, dword [ebx + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a095
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0x54
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x6f0]
push dword [esp + 0x20]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45a09e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044fae1
mov eax, dword [esi + 0x6f0]
test eax, eax
je 0x45a11b
lea ecx, [esp + 8]
push ecx
call fcn.00459c78
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45a0ee
mov eax, dword [esi + 0x6f0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a11b
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 0x54
push eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push eax
push dword [esp + 0x18]
mov eax, dword [esi + 0x6f0]
push dword [esp + 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463424
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x463449
cmp eax, esi
jge 0x463441
mov eax, edi
call fcn.00462ea0
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor eax, eax
cmp dword [edi + 8], eax
jle 0x46346b
mov cl, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + eax - 4], cl
inc eax
cmp dword [edi + 8], 0
jg 0x463450
cmp eax, 4
jge 0x463487
mov esi, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x463478
xor dl, dl
jmp 0x46347b
mov dl, byte [ecx]
inc ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x463470
mov dword [edi], ecx
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x4634bb
mov dword [0x4a6cbc], str.zlib_corrupt
xor eax, eax
jmp 0x463507
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x4634d0
mov dword [0x4a6cbc], str.read_past_buffer
jmp 0x4634b7
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x4634e6
push esi
call fcn.00462f78
pop ecx
test eax, eax
je 0x4634b7
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [edi]
push esi
push ebx
push eax
call fcn.00469e00
mov eax, dword [edi + 0x10]
add eax, esi
add ebx, esi
mov dword [edi + 0x10], eax
add esp, 0xc
xor eax, eax
mov dword [edi], ebx
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x4678b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a20b0]
jne 0x4678bd
repz ret
jmp fcn.0046912b
Function at 0x46ea76
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.0046941c
and dword [ebp - 4], 0
cmp dword [0x4a692c], 0
mov ebx, eax
jne 0x46eb27
push 0x4870ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ebd8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46ebd8
push eax
call fcn.004693aa
mov dword [esp], 0x487090
push edi
mov dword [0x4a692c], eax
call esi
push eax
call fcn.004693aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a6930], eax
call esi
push eax
call fcn.004693aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a6934], eax
call esi
push eax
call fcn.004693aa
pop ecx
mov dword [0x4a693c], eax
test eax, eax
je 0x46eb27
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004693aa
pop ecx
mov dword [0x4a6938], eax
mov eax, dword [0x4a6938]
cmp eax, ebx
je 0x46eb7f
cmp dword [0x4a693c], ebx
je 0x46eb7f
push eax
call fcn.00469425
push dword [0x4a693c]
mov esi, eax
call fcn.00469425
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46eb7f
test edi, edi
je 0x46eb7f
call esi
test eax, eax
je 0x46eb76
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46eb76
test byte [ebp - 0xc], 1
jne 0x46eb7f
or dword [ebp + 0x10], 0x200000
jmp 0x46ebb8
mov eax, dword [0x4a6930]
cmp eax, ebx
je 0x46ebb8
push eax
call fcn.00469425
pop ecx
test eax, eax
je 0x46ebb8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46ebb8
mov eax, dword [0x4a6934]
cmp eax, ebx
je 0x46ebb8
push eax
call fcn.00469425
pop ecx
test eax, eax
je 0x46ebb8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a692c]
call fcn.00469425
pop ecx
test eax, eax
je 0x46ebd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46ebda
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4287df
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [0x45aa24], 0
je 0x428816
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call main
add esp, 4
jmp 0x42882f
call main
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call main
add esp, 4
jmp 0x42882f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43fc99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x43fca8
pop dword [ebp - 0x2c]
mov eax, 0x43fca8
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x4e050
push 0
mov eax, 0xe657b86
sub eax, 0xe1f13ae
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x6d7128a3
sub ecx, 0x6d70df28
xor edi, edi
add edi, eax
mov edx, 0x48e000
add edx, dword [ebp - 0x2c]
mov esi, 0x7d2c062d
add dword [ebp - 0x10], edx
mov ebx, dword [edx]
add dword [ebp - 0x18], 0x24daf567
add ebx, esi
xor dword [ebp - 0x28], esi
mov dword [edi], ebx
sub dword [ebp - 0x14], 0x12e378fb
add edi, 0xf8b9668c
add edi, 0x7469978
add edx, 4
loop 0x43fcf8
add eax, 0x51e3ead5
sub eax, 0x51e2d216
xor ebx, ebx
add ebx, eax
add eax, 0x4f8df37a
sub eax, 0x4f8df375
mov ecx, 0x851672c8
sub ecx, 0x84d672c8
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x44c8c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
mov eax, 0
jne 0x44c8df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x44c8f2
push eax
call fcn.0044d700
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x424ec5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00424e41
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x425034
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x425034
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x424fe9
jg 0x424f21
test eax, eax
je 0x424fdf
push 1
push 0x1000
call fcn.0041bb8a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x424f44
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424fd6
push 0x8000
push ebx
call fcn.004172b5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x424f6d
jg 0x424f68
cmp ecx, 0x1000
jb 0x424f6d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041a096
add esp, 0x10
cmp eax, 0xffffffff
je 0x424fb2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x424f68
jl 0x424f99
test ecx, ecx
jne 0x424f5a
push dword [ebp - 0xc]
push ebx
call fcn.004172b5
push esi
call fcn.00417b00
add esp, 0xc
xor ebx, ebx
jmp 0x425042
cmp byte [edi + 0x24], 0
je 0x424fc9
cmp dword [edi + 0x20], 5
jne 0x424fc9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424fd4
mov ebx, dword [edi + 0x18]
jmp 0x424fd6
xor ebx, ebx
push esi
call fcn.00417b00
pop ecx
jmp 0x425042
test ecx, ecx
jg 0x424fab
jl 0x424fe9
test eax, eax
jae 0x424fab
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041955a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x425009
cmp byte [edi + 0x1c], 0
je 0x424fab
jmp 0x42503a
push ebx
call fcn.00416002
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x424fab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425042
cmp byte [edi + 0x1c], 0
je 0x42503f
mov ebx, dword [edi + 0x18]
jmp 0x425042
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041955a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426cb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426cdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426cdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408954
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
add esi, 0xb8e6e367
call fcn.00408981
xor dword [ebx], eax
sub esi, 0xd3a153a0
add ebx, 1
add esi, 0xb8fa4c8a
mov edi, esi
cmp ebx, edx
jne fcn.00408954
ret
Function at 0x10223bd4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x10223ccb
mov dword [0x10247430], 0x25ed
mov dword [0x1024742c], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x1024742c], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x10247430], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], dl
mov dword [ebp - 0x28], esi
jmp 0x10223d26
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x34], eax
mov word [ebp - 0x36], dx
mov word [ebp - 0x38], di
jb 0x10223ca3
mov ax, word [ebp - 0x36]
mov word [ebp - 0x38], ax
mov ax, word [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
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 - 0x39], bl
jne 0x10223d05
jmp 0x10223cd6
mov eax, dword [ebp - 0x1c]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [0x1024742c], 0x667
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
mov dword [ebp - 0x2c], eax
jb 0x10223c6f
jmp 0x10223d05
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x10223ccb
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], ecx
jne 0x10223d14
jmp 0x10223d26
mov dword [0x10247430], 0xffffc994
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x10223ccb
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], ecx
je 0x10223ccb
mov dword [0x1024742c], 0xe77
mov eax, dword [ebp - 0x44]
add eax, 0x24
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x48], esi
jne 0x10223cf8
mov eax, dword [ebp - 0x4c]
mov cx, word [eax]
mov word [ebp - 0x4e], cx
xor eax, eax
mov dword [0x1024742c], 0x26b6
mov cx, word [ebp - 0x4e]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
je 0x10223d26
jmp 0x10223c6f
Function at 0x102241a1
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 [0x10247438], 0
mov byte [0x1024743c], 0
mov dword [0x1024742c], 0x1f87
mov dword [0x10247434], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10247434]
add eax, 1
mov dword [0x10247434], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102241e6
jmp 0x10224220
mov dword [0x1024742c], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1024742c], 0xd51
xor eax, eax
mov dword [0x10247434], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10247440], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1024742c], 0x17de
mov edi, dword [0x10247438]
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 [0x10247440], esi
mov dword [0x10247430], 0x51e
mov dword [0x1024742c], 0xffffe312
mov eax, esi
cdq
idiv ecx
mov dword [0x10247438], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1024743c], cl
mov dword [0x1024742c], 0x1980
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x1024742c]
add esi, 0x1ff7
mov dword [0x10247430], esi
mov cl, byte [0x1024743c]
mov esi, dword [0x10247438]
mov byte [ebx + esi], cl
mov dword [0x1024742c], 0x5e6
mov esi, dword [0x10247430]
add esi, 0xfffffd1a
mov dword [0x10247430], esi
mov esi, dword [0x10247434]
add esi, 1
mov dword [0x10247434], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10224239
jmp 0x1022420e
Function at 0x10224753
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 dword [0x10247430], 0x26de
mov dword [ebp - 0x10], eax
call fcn.10223da9
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10247430], 0xe73
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 0x102247a3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1024742c], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
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
je 0x1022480b
jmp 0x10224841
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10224894
jmp 0x102248c1
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x40]
add eax, 2
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], ecx
jb 0x1022487a
jmp 0x1022480b
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jmp 0x1022487a
mov eax, dword [ebp - 0x40]
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 [0x1024742c], 0x22a3
mov dword [ebp - 0x30], edi
jmp 0x1022480b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x54]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
jne 0x102247da
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10224855
jmp 0x10224816
Function at 0x10224921
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 [0x1024742c], 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 0x102249fe
jmp 0x102249c1
mov dword [0x1024742c], 0x21a9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x6f
je 0x10224a16
jmp 0x102249f7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff9
mov dword [ebp - 0x24], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x28], eax
je 0x10224a45
jmp 0x102249f7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [0x1024742c], 0x9f6
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10224955
jmp 0x102249fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1022499a
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x10224a45
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10224971
jmp 0x102249f7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x102249f7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102249f7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x102249e8
jmp 0x102249f7
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret