joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], edi
test ebx, ebx
je 0x4931a4
mov esi, dword [0x52e838]
mov dword [ebp - 0x70], esi
test esi, esi
je 0x4931a4
cmp ebx, 0x10000
jge 0x4931b7
mov edi, dword [ebp + 0x10]
mov eax, ebx
shl eax, 6
xor edx, edx
xor eax, edi
mov dword [ebp - 0x6c], 0x3f1
shl eax, 3
xor eax, ecx
xor eax, dword [ebp + 0x14]
div dword [ebp - 0x6c]
mov esi, dword [esi + edx*4 + 0xe1c]
test esi, esi
je 0x4931a4
cmp dword [esi], ecx
jne 0x49319d
cmp dword [esi + 8], edi
jne 0x49319d
cmp dword [esi + 4], ebx
jne 0x49319d
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
je 0x493296
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x493183
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
push str._08X_s_d
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push ebx
push ecx
push 0x278
push str.LibMain.c
push str._08X_s_d
push 0x64
push eax
call fcn.00482bc0
lea esi, [ebp - 0x68]
add esp, 0x24
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4931e4
sub esi, ecx
mov eax, esi
and eax, 3
je 0x493211
push eax
mov eax, esi
lea ecx, [ebp - 0x68]
and eax, 0xfc
add eax, ecx
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x6c]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x493221
xor edi, dword [ebp + esi*4 - 0x6c]
dec esi
test esi, esi
jne 0x493218
mov esi, dword [ebp - 0x70]
mov eax, 0x3ce4585
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3f1
sub edi, eax
mov esi, dword [esi + edi*4 + 0xe1c]
test esi, esi
je 0x4931a4
mov edi, dword [ebp - 0x74]
cmp dword [esi], edi
jne 0x49327c
mov eax, dword [ebp + 0x10]
cmp dword [esi + 8], eax
jne 0x49327c
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], eax
jne 0x49327c
mov eax, dword [esi + 4]
cmp eax, 0x10000
jl 0x49327c
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
add esp, 8
test eax, eax
je 0x493296
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x493250
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x4932b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push ecx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x14]
test ebx, ebx
push 0
cmove ebx, eax
mov dword [ebp - 0x40], eax
test esi, esi
mov dword [ebp - 0x24], ebx
cmove esi, ebx
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
mov ebx, eax
mov eax, dword [0x52e838]
test eax, eax
je 0x49332d
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x49332d
push 0
push eax
push ebx
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call esi
push ebx
mov dword [ebp - 0x20], eax
call esi
mov esi, eax
mov eax, dword [0x52e838]
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x493364
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x493364
push 0
push eax
push esi
call edi
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call edi
push dword [ebp - 0x38]
push esi
call edi
mov esi, eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp + 0xc]
push 0xcc0020
push dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x2c]
push esi
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4933c8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
test eax, eax
je 0x4933db
push 0
push eax
push esi
call edi
test esi, esi
je 0x4933e6
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4933f3
push 0
push eax
push ebx
call edi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x4939c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
test esi, esi
jne 0x4939f6
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x52e838]
test ecx, ecx
jne 0x493a18
push eax
push esi
call dword [sym.imp.USER32.dll_GetPropA]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
push edi
push 0x552
push str.LibMain.c
lea eax, [ecx + 0xd84]
push 0
push eax
call fcn.0047efe0
mov edi, dword [0x52e83c]
add esp, 0x10
test edi, edi
je 0x493a6d
mov eax, 0x3ce4585
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3f1
sub ecx, eax
mov edi, dword [edi + ecx*4 + 8]
test edi, edi
je 0x493a6d
cmp dword [edi], esi
je 0x493a93
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x493a62
mov eax, dword [0x52e838]
add eax, 0xd84
push eax
call fcn.00480f30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x493aa0
sub esi, edx
mov eax, esi
and eax, 3
je 0x493acd
push eax
mov eax, esi
and eax, 0xfc
add eax, ecx
push eax
lea eax, [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
sar esi, 2
test esi, esi
je 0x493add
xor ebx, dword [ecx + esi*4 - 4]
dec esi
test esi, esi
jne 0x493ad4
mov eax, 0xba2e8ba3
mul ebx
shr edx, 3
imul eax, edx, 0xb
sub ebx, eax
mov esi, dword [edi + ebx*4 + 8]
test esi, esi
je 0x493a6d
mov eax, ecx
mov ecx, dword [esi]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x493b20
test dl, dl
je 0x493b1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x493b20
add ecx, 2
add eax, 2
test dl, dl
jne 0x493b00
xor eax, eax
jmp 0x493b25
sbb eax, eax
or eax, 1
test eax, eax
je 0x493b38
mov esi, dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
test esi, esi
jne 0x493af8
jmp 0x493a6d
mov ecx, dword [0x52e838]
mov esi, dword [esi + 4]
add ecx, 0xd84
push ecx
call fcn.00480f30
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x493be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
test edi, edi
je 0x493c88
mov al, byte [edi]
test al, al
je 0x493c88
cmp al, 0x23
je 0x493c88
mov esi, edi
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x493c15
sub esi, edx
mov eax, esi
and eax, 3
je 0x493c3f
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x493c4f
xor ecx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jg 0x493c46
mov eax, 0x446f8657
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov esi, dword [ecx*4 + 0x595b24]
test esi, esi
je 0x493c88
push dword [esi + 4]
push edi
call sub.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp
add esp, 8
test eax, eax
je 0x493c9b
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x493c71
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi + 8]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
movups xmmword [ebx], xmm0
xor ecx, ebp
movq xmm0, qword [esi + 0x18]
pop esi
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x498140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xc
test edx, edx
je 0x4982ee
mov eax, dword [0x52e838]
push esi
test eax, eax
je 0x49819d
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x49819d
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x498179
mov dword [0x52e83c], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
test ecx, 0x40000000
je 0x49819d
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x49819d
push 0x4ef64c
push edx
call eax
mov esi, eax
mov dword [ebp - 8], esi
jmp 0x4981ad
push 0x4ef64c
push edx
call fcn.004939c0
mov esi, eax
mov dword [ebp - 8], eax
add esp, 8
test esi, esi
je 0x4982ed
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x4982ed
mov dword [ebp - 0xc], 0
jle 0x4982cb
mov edx, dword [ebp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0xf4]
test edi, edi
js 0x4981fa
cmp dword [ecx + eax + 0x3c], edi
jne 0x4982b0
lea edi, [ecx + eax]
test edi, edi
je 0x49826e
xor esi, esi
mov ecx, dword [edi + 8]
mov eax, dword [esi + ecx]
test eax, eax
je 0x498273
test edx, edx
js 0x49821f
push 0
push edx
push 0x111
push eax
call ebx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x40]
mov eax, dword [esi + eax]
test eax, eax
je 0x49824d
cmp eax, dword [ebp + 8]
je 0x49824d
push 0
push dword [esi + ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x40]
push dword [eax + esi]
mov eax, dword [edi + 8]
push dword [eax + esi]
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x498258
push 0
push 0
push 0x10
push dword [esi + ecx]
call ebx
mov eax, dword [edi + 0xc]
push dword [eax + esi]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov edx, dword [ebp + 0x10]
add esp, 4
add esi, 4
jmp 0x498203
mov ecx, dword [edi + 8]
jmp 0x498276
mov esi, dword [ebp - 8]
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push dword [edi + 0xc]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push dword [edi + 0x40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0xc
push 0
push 0
push 0x1302
push dword [edi]
call ebx
test eax, eax
je 0x4982a7
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
add ecx, 0x48
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp eax, dword [esi + 0xf0]
jl 0x4981e6
pop edi
pop ebx
push dword [esi + 0xf4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a07e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 8], edi
test ebx, ebx
je 0x4a09d6
mov al, byte [ebx]
test al, al
je 0x4a09d6
cmp al, 0x23
je 0x4a09d6
push esi
mov esi, ebx
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a0820
sub esi, ecx
mov eax, esi
and eax, 3
je 0x4a084a
push eax
mov eax, esi
and eax, 0xfc
add eax, ebx
push eax
lea eax, [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x4a085a
xor edi, dword [ebx + esi*4 - 4]
dec esi
test esi, esi
jg 0x4a0851
mov eax, 0x446f8657
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub edi, eax
mov esi, dword [edi*4 + 0x595b24]
test esi, esi
je 0x4a0897
nop dword [eax]
push dword [esi + 4]
push ebx
call sub.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp
add esp, 8
test eax, eax
je 0x4a08ea
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4a0880
push 0x24
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
add esp, 4
test esi, esi
je 0x4a096f
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
jmp 0x4a0971
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
test al, 2
je 0x4a0927
lea ecx, [esi + 8]
mov edx, ebx
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4a0913
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4a0900
jmp 0x4a0924
movups xmm0, xmmword [ebx]
or dword [esi], 1
movups xmmword [esi + 8], xmm0
or dword [0x595b20], 1
mov eax, dword [ebp + 0x10]
test al, 1
je 0x4a0940
mov ecx, dword [ebx + 0x10]
cmp dword [esi + 0x18], ecx
je 0x4a0940
or dword [esi], 1
mov dword [esi + 0x18], ecx
or dword [0x595b20], 1
test al, 4
je 0x4a0959
mov eax, dword [ebx + 0x14]
cmp dword [esi + 0x1c], eax
je 0x4a0959
or dword [esi], 1
mov dword [esi + 0x1c], eax
or dword [0x595b20], 1
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0x1844
push str.LibMain.c
push sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
or eax, 1
mov dword [esi], eax
lea eax, [esi + 4]
or dword [0x595b20], 1
push 0
push ebx
push eax
call fcn.0047ce40
mov edx, dword [ebp + 0x10]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
test dl, 2
je 0x4a09ad
movups xmm0, xmmword [ecx]
movups xmmword [esi + 8], xmm0
test dl, 1
je 0x4a09b8
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x18], eax
test dl, 4
je 0x4a09c3
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [edi*4 + 0x595b24]
mov dword [esi + 0x20], eax
mov dword [edi*4 + 0x595b24], esi
jmp 0x4a0959
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x4a1e30
Capabilities:
Capture screenshot
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, eax
mov dword [ebp - 0x34], edi
call dword [0x595eb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x28], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0x80
mov dword [ebp - 0x2c], eax
call dword [0x595eb4]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 2
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test edi, edi
je 0x4a1ea4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x4a1ead
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x38], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x12c
push 0x1f4
mov edi, eax
push esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x30], eax
call edi
push 0xcc0020
push 0
push 0
push dword [ebp - 0x24]
mov esi, eax
push 0x12c
push 0x1f4
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x20]
push esi
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a1f1e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x24]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x34], 0
je 0x4a1f8e
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [0x595eb4]
push dword [ebp - 0x28]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
push dword [ebp - 0x2c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sbb eax, dword [ebp - 0x10]
push 0
push 0x3e8
push eax
push ecx
call fcn.004e2800
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push eax
call fcn.004e2750
mov esi, eax
jmp 0x4a1fbc
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
call dword [0x595eb4]
push dword [ebp - 0x28]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
push dword [ebp - 0x2c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call eax
sub esi, dword [ebp - 0x38]
mov eax, esi
test ebx, ebx
je 0x4a1fcc
mov dword [ebx + 0xdc8], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x4a25b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov al, byte [esi]
cmp al, 0x20
jne 0x4a25e1
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4a25d6
mov dword [ebp + 8], esi
cmp al, 0x2d
je 0x4a25e9
cmp al, 0x2b
jne 0x4a25fa
xor ecx, ecx
cmp al, 0x2d
mov al, byte [esi + 1]
sete cl
inc esi
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], esi
mov ecx, dword [ebp - 0x14]
push edi
mov edi, dword [ebp - 0x10]
cmp al, 0x20
jle 0x4a26b5
mov dword [ebp - 4], edi
nop dword [eax]
movzx edx, word [esi]
mov eax, edx
and eax, 0x3030
cmp eax, 0x3030
jne 0x4a2667
mov eax, edx
movzx eax, ax
push 0
push 0x64
push dword [ebp - 4]
movzx eax, byte [eax + 0x578868]
cdq
push ecx
mov esi, eax
mov edi, edx
call fcn.004e2800
add esi, eax
mov ecx, esi
mov esi, dword [ebp + 8]
adc edi, edx
add esi, 2
mov dword [ebp - 4], edi
mov dword [ebp + 8], esi
movzx edx, word [esi]
mov eax, edx
mov dword [ebp - 0x10], eax
and eax, 0x3030
cmp eax, 0x3030
mov eax, edx
je 0x4a2623
cmp dl, 0x20
jle 0x4a26ac
cmp dl, 0x2e
je 0x4a26a5
cmp dl, 0x2c
je 0x4a26a5
mov dword [ebp + 8], ecx
mov eax, ecx
mov ecx, edi
shld ecx, eax, 2
shl eax, 2
add dword [ebp + 8], eax
movsx eax, dl
adc edi, ecx
cdq
mov ecx, dword [ebp + 8]
shld edi, ecx, 1
add ecx, ecx
add ecx, eax
adc edi, edx
sub ecx, 0x30
sbb edi, 0
mov dword [ebp - 4], edi
jmp 0x4a26a8
mov dword [ebp - 8], esi
inc esi
mov dword [ebp + 8], esi
cmp byte [esi], 0x20
jg 0x4a2610
mov edx, edi
call fcn.004e2b70
mov eax, dword [ebp - 8]
pop edi
test eax, eax
je 0x4a26cf
sub esi, eax
divsd xmm0, qword [esi*8 + 0x5787d0]
cmp dword [ebp - 0xc], 0
pop esi
je 0x4a26dd
xorps xmm0, xmmword [0x4f4ea0]
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4a60f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
je 0x4a61b8
mov ebx, dword [edi]
test ebx, ebx
je 0x4a61b8
cmp byte [ebx], cl
je 0x4a61b8
mov esi, ebx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4a6130
sub esi, edx
mov eax, esi
and eax, 3
je 0x4a615a
push eax
mov eax, esi
and eax, 0xfc
add eax, ebx
push eax
lea eax, [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x4a616f
lea eax, [ebx + esi*4]
xor ecx, dword [eax - 4]
lea eax, [eax - 4]
dec esi
test esi, esi
jg 0x4a6164
mov eax, 0x446f8657
mov dword [edi + 0x5808], 0xffffffff
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov esi, dword [ecx*4 + 0x595944]
test esi, esi
je 0x4a61b8
nop dword [eax + eax]
push dword [esi + 4]
push dword [edi]
call sub.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp
add esp, 8
test eax, eax
je 0x4a61cb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4a61a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x6918]
cmp eax, dword [esi + 0x1c]
jne 0x4a61b8
mov eax, dword [esi + 0x10]
mov dword [edi + 0x5770], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x5808], eax
movzx eax, byte [esi + 8]
cmp eax, dword [edi + 0x78]
jne 0x4a61b8
push 0x190
lea eax, [edi + 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
add esp, 0xc
cmp dword [edi + 0x78], edx
jle 0x4a624b
lea ebx, [edi + 0x220]
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + edx*8 + 1]
mov dword [ebx - 4], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + edx*8 + 4]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov al, byte [eax + edx*8]
test al, al
je 0x4a6239
movsx eax, al
lea ecx, [edx + 1]
mov dword [edi + eax*4 + 0x78], ecx
inc edx
add ebx, 0xd0
cmp edx, dword [edi + 0x78]
jl 0x4a6211
cmp dword [edi + 0x7c], 0
jne 0x4a6252
mov dword [edi + 0x7c], 1
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret
Function at 0x4af1c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, dword [ebx + 0x55c4]
mov dword [ebp + 8], edi
call fcn.004af0c0
xor esi, esi
add esp, 4
cmp dword [ebx + 0x78], esi
jle 0x4af222
lea edx, [edi + 0x220]
sub edi, ebx
lea ecx, [ebx + 0x218]
mov eax, dword [edi + ecx]
lea edx, [edx + 0xd0]
mov dword [ecx], eax
lea ecx, [ecx + 0xd0]
mov eax, dword [edx - 0xd4]
inc esi
mov dword [ecx - 0xcc], eax
mov eax, dword [edx - 0xd0]
mov dword [ecx - 0xc8], eax
cmp esi, dword [ebx + 0x78]
jl 0x4af1f0
mov edi, dword [ebp + 8]
push dword [ebx + 0x54c8]
lea esi, [edi + 0x7c]
mov ecx, 0x64
lea edi, [ebx + 0x7c]
rep movsd dword es:[edi], dword [esi]
call fcn.00492ca0
mov esi, dword [ebx + 0x54c4]
add esp, 4
mov eax, dword [ebx + 0x55ac]
mov edi, dword [ebx + 0x54cc]
mov dword [ebp + 8], eax
test esi, esi
je 0x4af279
call fcn.00493410
mov eax, dword [eax + 0x10]
push eax
push dword [ebp + 8]
push ebx
push edi
push esi
call fcn.004a77e0
mov edi, dword [ebx + 0x54cc]
add esp, 0x14
mov esi, dword [ebx + 0x54c4]
push 0
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push esi
call fcn.004aa560
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.004a2220
Function at 0x4b3b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.004a7730
add esp, 0xc
test eax, eax
je 0x4b3ba2
push 0
push eax
push 0
call fcn.004b38a0
add esp, 0xc
push 0
push 0x63
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebp
ret