joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478370
Capabilities:
Parse url

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
push edi
mov edi, eax
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x4783a9
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478390
sub eax, edx
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.0043c200
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
call fcn.00401250
test esi, esi
je 0x4783dc
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x4783d3
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4783dc
test eax, eax
jne 0x4783dc
call fcn.0045f130
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4783e1
sub eax, edx
lea edx, [edi + 4]
push edx
push closesocket
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x47840b
mov eax, 4
pop edi
pop esi
pop ebx
pop ecx
ret 4
cmp word [edi + 0x1c], 0
jne 0x478464
mov eax, dword [edi + 8]
mov ecx, str.https
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x478440
test dl, dl
je 0x47843c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x478440
add eax, 2
add ecx, 2
test dl, dl
jne 0x478420
xor eax, eax
jmp 0x478445
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47845b
mov eax, 0x1bb
mov word [edi + 0x1c], ax
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, 0x50
mov word [edi + 0x1c], cx
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x478580
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00478630
push esi
lea eax, [esp + 0x10]
call fcn.004786f0
mov ecx, dword [esp + 0x6c]
add esp, 0x10
xor ecx, esp
call fcn.0049ca20
add esp, 0x64
ret
Function at 0x47a2d0
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
cmp eax, ecx
jne 0x47a2dc
mov eax, 1
ret
mov dword [eax + 0x48], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x40], 0x137e2179
mov dword [eax + 0x44], 0x5be0cd19
xor eax, eax
ret
Function at 0x481950
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov dword [ebp], 0
mov dword [ebp + 4], 0x67
push edi
mov ebx, 0xf9
add ebp, 0x3ec
call fcn.0049d0fb
mov edi, eax
shl edi, 0xc
call fcn.0049d0fb
mov esi, eax
xor esi, edi
shl esi, 0xc
call fcn.0049d0fb
xor eax, esi
mov dword [ebp], eax
dec ebx
sub ebp, 4
test ebx, ebx
jge 0x481971
mov esi, dword [esp + 0x14]
or edx, 0xffffffff
mov eax, closesocket
lea ecx, [esi + 0x14]
mov edi, dword [ecx]
and edi, edx
or edi, eax
mov dword [ecx], edi
shr eax, 1
shr edx, 1
add ecx, 0x1c
test eax, eax
jne 0x4819a8
lea ecx, [esi + 0x3f0]
inc eax
mov dword [ecx], eax
add ecx, 4
cmp eax, 0xfa
jl 0x4819c1
pop edi
mov dword [esi + 0x7d4], 0
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x481a50
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp byte [esi + 0x98], 0
mov esi, dword [esp + 0xc]
mov edi, eax
je 0x481aa2
cmp dword [esi + 4], 0x102
je 0x481aa2
cmp byte [esi + 8], 9
jne 0x481aa2
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0
shr eax, 0xf
and al, 1
movsx ecx, al
push ecx
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov eax, 0xf4240
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
shr eax, 0xf
test al, 1
jne 0x481aca
push 0x12
call ebx
shr eax, 0xf
test al, 1
jne 0x481aca
pop ebx
pop edi
mov eax, 0xf4241
pop esi
ret 4
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
pop edi
pop esi
ret 4
Function at 0x48a6f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
test edx, edx
je 0x48a762
push esi
jmp 0x48a700
mov eax, dword [0x568008]
mov ecx, dword [eax*4 + 0x5683f8]
mov dword [0x568008], ecx
mov ecx, dword [0x56800c]
mov esi, dword [ecx*4 + 0x5683f8]
mov dword [0x56800c], esi
mov ecx, dword [ecx*4 + 0x568010]
xor dword [eax*4 + 0x568010], ecx
lea eax, [eax*4 + 0x568010]
mov eax, dword [eax]
and eax, 0x70307
dec edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
movd mm0, dword [eax]
movd mm1, dword [esp + 4]
paddusb mm0, mm1
movd dword [eax], mm0
add dword [esp + 0xc], 4
test edx, edx
jne 0x48a700
pop esi
emms
pop ecx
ret

Function at 0x48a970
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x114
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x59c]
push esi
push 1
lea eax, [esp + 0x13]
push 1
push eax
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
mov al, byte [esp + 0xb]
cmp al, 0x38
je 0x48a9d6
movsx ecx, al
push esi
push ecx
call fcn.004a13d5
add esp, 8
mov eax, 3
pop edi
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0049ca20
add esp, 0x114
ret
mov esi, dword [edi + 0x59c]
push esi
push 1
lea edx, [esp + 0x13]
push 1
push edx
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
mov al, byte [esp + 0xb]
cmp al, 0x42
je 0x48aa02
movsx eax, al
push esi
push eax
jmp 0x48a9b2
mov esi, dword [edi + 0x59c]
push esi
push 1
lea ecx, [esp + 0x13]
push 1
push ecx
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
mov al, byte [esp + 0xb]
cmp al, 0x49
je 0x48aa2e
movsx edx, al
push esi
push edx
jmp 0x48a9b2
mov esi, dword [edi + 0x59c]
push 0x4d
call fcn.0048c240
add esp, 4
test al, al
je 0x48a9ba
mov eax, dword [edi + 0x59c]
push eax
push 1
lea eax, [esp + 0x18]
push 2
push eax
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
mov eax, dword [edi + 0x59c]
mov cx, word [esp + 0x10]
push eax
rol cx, 8
push 1
movzx edx, cx
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x20], edx
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
mov al, byte [esp + 0x14]
mov ecx, dword [edi + 0x59c]
push ecx
or al, 1
movzx ecx, al
push ecx
lea edx, [esp + 0x1d]
push 1
push edx
mov byte [esp + 0x24], al
call fcn.0049e588
movzx ecx, byte [esp + 0x24]
add esp, 0x10
cmp eax, ecx
jne 0x48a9ba
mov eax, dword [edi + 0x59c]
push eax
push 1
lea eax, [esp + 0x14]
push 4
push eax
mov byte [esp + ecx + 0x25], 0
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48a9ba
lea ecx, [esp + 0xc]
call fcn.0048c1f0
test eax, eax
jne 0x48a9bf
mov eax, dword [esp + 0xc]
mov edi, dword [edi + 0x59c]
inc eax
and eax, 0xfffffffe
push 1
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.0049e92f
mov ecx, dword [esp + 0x124]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0049ca20
add esp, 0x114
ret
Function at 0x48b260
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x59c]
push ebp
push edi
push eax
call fcn.004a1276
mov dword [esi + 0x164], eax
xor eax, eax
add esp, 4
mov dword [esp + 0xc], 0
cmp ax, word [esi + 0x10]
jae 0x48b370
mov eax, dword [ebx + 0x59c]
push eax
push 1
push 2
lea edi, [esi + 0x154]
push edi
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48b379
mov cx, word [edi]
rol cx, 8
movzx eax, cx
mov word [edi], cx
cmp ax, 1
jne 0x48b328
mov edx, dword [esi + 0xc]
xor ebp, ebp
xor edi, edi
sub edx, dword [esi + 4]
je 0x48b314
mov eax, dword [ebx + 0x59c]
push eax
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48b379
mov cx, word [esp + 0x14]
rol cx, 8
movzx eax, cx
movzx edx, ax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
inc edi
add ebp, edx
cmp edi, eax
jb 0x48b2d3
mov ecx, dword [ebx + 0x59c]
push 1
push ebp
push ecx
call fcn.0049e92f
add esp, 0xc
jmp 0x48b35b
test ax, ax
jne 0x48b35b
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub edi, dword [esi + 4]
sub edx, dword [esi]
mov eax, dword [ebx + 0x59c]
push eax
imul edi, edx
call fcn.004a1276
add eax, edi
push 0
push eax
mov eax, dword [ebx + 0x59c]
push eax
call fcn.0049e92f
add esp, 0x10
mov eax, dword [esp + 0xc]
movzx ecx, word [esi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x48b291
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
pop edi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret 4

Function at 0x48b3d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4e2204]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0x10]
push ebx
push esi
push edi
mov esi, ecx
call fcn.004a1730
mov edi, esp
test edi, edi
jne 0x48b3fd
lea eax, [esp + 4]
jmp 0x48b4bd
cmp dword [ebp + 0x14], 0
mov dword [ebp - 8], 0
jbe 0x48b4bb
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x59c]
movzx ecx, word [ebx]
push eax
push ecx
push 1
push edi
call fcn.0049e588
movzx ecx, word [ebx]
add esp, 0x10
cmp eax, ecx
jne 0x48b4d3
xor eax, eax
test ecx, ecx
jle 0x48b4a5
mov edi, edi
mov dl, byte [eax + edi]
xor ecx, ecx
test dl, dl
jge 0x48b46e
neg dl
movzx edx, dl
inc edx
test edx, edx
jle 0x48b49b
movzx edx, byte [eax + edi + 1]
mov byte [esi], dl
movzx edx, byte [eax + edi]
neg dl
movzx edx, dl
inc ecx
inc edx
add esi, 4
cmp ecx, edx
jl 0x48b453
jmp 0x48b49b
movsx edx, dl
inc edx
test edx, edx
jle 0x48b495
lea edx, [eax + edi + 1]
lea ebx, [ebx]
mov bl, byte [edx + ecx]
mov byte [esi], bl
movsx ebx, byte [eax + edi]
inc ecx
inc ebx
add esi, 4
cmp ecx, ebx
jl 0x48b480
mov ebx, dword [ebp - 0xc]
movsx ecx, byte [eax + edi]
add eax, ecx
movzx edx, word [ebx]
add eax, 2
cmp eax, edx
jl 0x48b440
mov eax, dword [ebp - 8]
inc eax
add ebx, 2
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
cmp eax, dword [ebp + 0x14]
jb 0x48b414
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 0x10
mov eax, 3
jmp 0x48b4bd
Function at 0x48b4e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4e2204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov eax, esi
mov edi, ecx
call fcn.004a1730
cmp dword [ebp + 0xc], 0
mov ebx, esp
mov dword [ebp - 8], 0
jbe 0x48b549
lea ebx, [ebx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x59c]
push eax
push esi
push 1
push ebx
call fcn.0049e588
add esp, 0x10
cmp eax, esi
jne 0x48b560
xor eax, eax
test esi, esi
jbe 0x48b53d
mov cl, byte [eax + ebx]
mov byte [edi], cl
inc eax
add edi, 4
cmp eax, esi
jb 0x48b530
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 0xc]
jb 0x48b510
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 8
mov eax, 3
jmp 0x48b54b
Function at 0x48c220
Capabilities:
Read file on windows

Disassembly:
push eax
push 1
push 1
push ecx
call fcn.0049e588
dec eax
add esp, 0x10
neg eax
sbb eax, eax
and eax, 3
ret

Function at 0x48c240
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push 1
lea eax, [esp + 0xb]
push 1
push eax
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48c26f
mov al, byte [esp + 3]
cmp byte [esp + 8], al
je 0x48c273
movsx ecx, al
push esi
push ecx
call fcn.004a13d5
add esp, 8
xor al, al
pop ecx
ret
mov al, 1
pop ecx
ret
Function at 0x4900c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [ecx + 0x127], 0
jne 0x4900ce
jmp method.ytBitmapNode.virtual_52
xor eax, eax
ret 4

Function at 0x490a50
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, eax
cmp dword [edi], 0
je 0x490a6b
mov esi, dword [edi + 4]
test esi, esi
je 0x490a6b
call fcn.0045f130
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x490a8b
mov eax, 2
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
jne 0x490aa1
test eax, eax
je 0x490a7f
mov ecx, esi
or ecx, eax
jne 0x490ab0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0
push edi
mov eax, esi
call fcn.0044a500
test eax, eax
jne 0x490aca
mov edi, dword [edi + 4]
push esi
push edi
mov eax, ebx
call fcn.00490ae0
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x490ae0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [eax + 4]
test eax, eax
je 0x490b08
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x490b08
xor eax, eax
ret 8
or eax, 0xffffffff
ret 8

Function at 0x490c40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, 0x4009
mov dword [esp + 0x24], 0
call fcn.0045eff0
mov dword [esp + 0x24], eax
mov dword [eax], 0x400101
mov eax, dword [esp + 0x24]
mov byte [eax + 4], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
movzx edx, al
mov esi, eax
shr esi, 8
cmp edx, 1
jbe 0x490c8b
lea eax, [esp + 0x24]
push eax
call fcn.0043bf30
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x5c]
push esi
add eax, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0xa4]
test eax, eax
je 0x490d19
mov ecx, dword [eax + 0x174]
test ecx, ecx
je 0x490cc1
or dword [eax + 8], 7
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [ebp + 0xa4]
mov eax, ecx
call fcn.00440190
test eax, eax
je 0x490d19
mov eax, ecx
call fcn.00440190
fldz
mov edx, dword [eax]
or ecx, 0xffffffff
push ecx
fstp dword [esp]
push 1
push 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
movq xmm0, qword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
sub esp, 0x10
mov ecx, esp
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [ecx + 8], xmm0
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x490d61
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x490d54
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
test eax, eax
jne 0x490d61
mov esi, dword [esp + 0x24]
call fcn.0045f130
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
Function at 0x491420
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push eax
push 0x10000
push 1
push ecx
call fcn.0049e588
add esp, 0x10
test eax, eax
ja 0x491485
cmp byte [esi + 0x24], 0
je 0x49145d
mov edx, dword [edi]
mov dword [edx + 0x14], 0x2a
mov eax, dword [edi]
mov ecx, dword [eax]
push edi
call ecx
add esp, 4
mov edx, dword [edi]
mov dword [edx + 0x14], 0x78
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 0xffffffffffffffff
push edi
call ecx
mov edx, dword [esi + 0x20]
mov byte [edx], 0xff
mov eax, dword [esi + 0x20]
mov byte [eax + 1], 0xd9
add esp, 8
mov eax, 2
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], eax
pop edi
mov dword [esi], ecx
mov byte [esi + 0x24], 0
mov al, 1
pop esi
ret

Function at 0x491560
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4915b1
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x1c
push 1
push esi
call ecx
mov dword [esi + 0x180], eax
mov dword [eax], 0x4948a0
mov dword [eax + 4], 0x494a00
mov byte [eax + 8], 0
add esp, 0xc
mov eax, esi
call fcn.004946e0
cmp byte [esi + 0x40], 0
je 0x4915aa
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x49162b
mov edx, dword [esi + 0x190]
cmp byte [edx + 0x10], 0
je 0x49161b
mov eax, dword [esi + 8]
test eax, eax
je 0x4915d6
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov ecx, dword [esi + 0x190]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
test eax, eax
je 0x491617
cmp eax, 2
je 0x49161b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4915c7
cmp eax, 3
je 0x4915fe
cmp eax, 1
jne 0x4915c7
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x4915c7
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x4915c7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00491660
pop esi
ret
cmp eax, 0xcc
je 0x49164d
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00491660
pop esi
ret
Function at 0x497420
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x497447
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x497453
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x497566
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x497498
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x4974b9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x49750f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x4974f0
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x4974f0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x4974d6
cmp dword [esp + 0x10], 0
je 0x49754d
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x497530
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x497490
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x49ca20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e2204]
jne 0x49ca2a
repz ret
jmp fcn.004a175c
Function at 0x4ad6af
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.004a3d0a
and dword [ebp - 4], 0
cmp dword [0x560b40], 0
mov ebx, eax
jne 0x4ad760
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ad811
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b9740
push edi
call esi
test eax, eax
je 0x4ad811
push eax
call fcn.004a3c98
mov dword [esp], 0x4b9730
push edi
mov dword [0x560b40], eax
call esi
push eax
call fcn.004a3c98
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x560b44], eax
call esi
push eax
call fcn.004a3c98
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x560b48], eax
call esi
push eax
call fcn.004a3c98
pop ecx
mov dword [0x560b50], eax
test eax, eax
je 0x4ad760
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3c98
pop ecx
mov dword [0x560b4c], eax
mov eax, dword [0x560b4c]
cmp eax, ebx
je 0x4ad7b8
cmp dword [0x560b50], ebx
je 0x4ad7b8
push eax
call fcn.004a3d13
push dword [0x560b50]
mov esi, eax
call fcn.004a3d13
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ad7b8
test edi, edi
je 0x4ad7b8
call esi
test eax, eax
je 0x4ad7af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ad7af
test byte [ebp - 0xc], 1
jne 0x4ad7b8
or dword [ebp + 0x10], 0x200000
jmp 0x4ad7f1
mov eax, dword [0x560b44]
cmp eax, ebx
je 0x4ad7f1
push eax
call fcn.004a3d13
pop ecx
test eax, eax
je 0x4ad7f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ad7f1
mov eax, dword [0x560b48]
cmp eax, ebx
je 0x4ad7f1
push eax
call fcn.004a3d13
pop ecx
test eax, eax
je 0x4ad7f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x560b40]
call fcn.004a3d13
pop ecx
test eax, eax
je 0x4ad811
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ad813
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b1e78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x560c34], 0
push esi
jne 0x4b1deb
call fcn.004b1d11
test eax, eax
je 0x4b1e2e
mov eax, dword [0x560c34]
cmp eax, 1
jne 0x4b1e0c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b1e2e
pop esi
ret
push eax
call dword [0x560c3c]
test eax, eax
jne 0x4b1e76
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4b1e32
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x560c34]
call dword [0x560c3c]
mov edi, eax
test edi, edi
je 0x4b1e57
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4b1e73
mov edi, esi
add esi, 0xff0
push edi
push dword [0x560c34]
call dword [0x560c38]
add edi, 0x10
cmp edi, esi
jb 0x4b1e5f
mov eax, edi
pop edi
pop esi
ret
jmp 0x4b1dd8