joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43747a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041d666
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4374b1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004374d0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x43fcae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x43fcc6
call fcn.0041d666
mov esi, dword [eax + 0xc]
push 0x5613c4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x43fd1c
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43fd1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x43fcfc
xor esi, esi
jmp 0x43fd12
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0043fd22
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x507406
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x507420
mov edi, dword [esi + 0xc]
jmp 0x507460
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x507439
call fcn.00420228
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50744e
call fcn.00420228
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x507460
call fcn.00420228
call fcn.0041d666
cmp dword [eax + 0x3c], 0
je 0x507475
push edi
mov ecx, ebx
call fcn.00506d26
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00507638
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x507498
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x5074a1
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x50e02a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0050dca9
push eax
push esi
push dword [ebp + 8]
call fcn.0050dc5e
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0050dca9
push eax
push esi
push dword [ebp + 8]
call fcn.0050dc5e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0050dca9
Function at 0x50e109
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.0050dc5e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0050dc99
pop esi
jb 0x50e0ff
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0050dc99
pop ebp
xor edx, edi
lea eax, fs:[ebp - 0x84]
push eax
call fcn.0050dca9
push eax
push esi
push dword [ebp + 8]
call fcn.0050dc5e
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x50e492
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0050dc0a
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x50e209
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0050dc0a
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x50e1d6
call fcn.0050dc99
pop esp
stosd dword es:[edi], eax
adc dword [0x33c7e8b], edi
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x536a67
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5acd88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0052dba5
mov dword [ebp - 0x14], eax
cmp dword [0x5b4ee8], edi
jne 0x536b58
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x536ae5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x536c38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x536c38
push 0x5844d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x536c38
push eax
call ebx
push 0x5844e4
push esi
mov dword [0x5b4ee8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5844f4
push esi
mov dword [0x5b4eec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x5b4ef0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b4ef8], eax
test eax, eax
je 0x536b55
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b4ef4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x536b7d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x536b70
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x536b92
push 4
pop eax
jmp 0x536c3a
cmp dword [ebp - 0x14], edi
je 0x536b92
push dword [0x5b4ee8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x536b77
mov eax, dword [0x5b4ef4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x536bf0
cmp dword [0x5b4ef8], esi
je 0x536bf0
push eax
call ebx
push dword [0x5b4ef8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x536bf0
test eax, eax
je 0x536bf0
call ecx
test eax, eax
je 0x536be5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x536be5
test byte [ebp - 8], 1
jne 0x536bf0
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x536c20
mov eax, dword [0x5b4eec]
cmp eax, esi
je 0x536c1d
push eax
call ebx
test eax, eax
je 0x536c1d
call eax
mov edi, eax
test edi, edi
je 0x536c1d
mov eax, dword [0x5b4ef0]
cmp eax, esi
je 0x536c1d
push eax
call ebx
test eax, eax
je 0x536c1d
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5b4ee8]
call ebx
test eax, eax
je 0x536c38
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x536c3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525af7
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x598a6a6f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3e2446c4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x407f45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x407f5e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00407c70
mov ah, 0x4d
pop edx
ljmp 0xc5e8

Function at 0x4087d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg edi, eax
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], pe_nt_image_headers32
lea eax, [ebp - 0x664]
push eax
call fcn.00407c80
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407c35
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00407c80
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407c35
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00407c70
mov ch, 0x95
sub al, 0x51
and byte [ebp - 0x514], 0
invalid
movsd dword es:[edi], dword [esi]
Function at 0x4014d0
Capabilities:
Extract resource via kernel32 functions
Query environment variable
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040e500
mov eax, dword [0x416008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x14
push str.Open_registry_key...
mov ecx, 0x416780
mov dword [ebp - 0x1008], 0xfff
call fcn.00401870
lea eax, [ebp - 0x100c]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideDataFlex19.1Defaults
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4015bf
push 0x1b
push str.Query_registry_key_value...
mov ecx, 0x416780
call fcn.00401870
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1004]
push eax
push 0
push 0
push 0x413c9c
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4015bf
push str.Bin_
lea eax, [ebp - 0x1004]
push 0xfff
push eax
call fcn.00405524
lea ecx, [ebp - 0x1004]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401582
sub ecx, edx
mov eax, 0xfff
sub eax, ecx
mov dword [ebp - 0x1008], ecx
push eax
lea eax, [ebp - 0x1004]
add eax, ecx
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x1004]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
push esi
push edi
push 0x1a
push str.Loading_runtime_library...
mov ecx, 0x416780
call fcn.00401870
push str.vdfvm19.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401687
push 0x1c
push str.Getting_procedure_address...
mov ecx, 0x416780
call fcn.00401870
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._FlexRunProgramEx_4
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40161b
push str.FlexRunProgramEx
push esi
call ebx
mov edi, eax
test edi, edi
je 0x401680
push 0x13
push str.Loading_DF_image...
mov ecx, 0x416780
call fcn.00401870
push 0xa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x401680
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x19
push str.Running_DF_application...
mov ecx, 0x416780
mov ebx, eax
call fcn.00401870
test ebx, ebx
je 0x401680
push ebx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401fdc
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00401010
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401fdc
mov esp, ebp
pop ebp
ret

Function at 0x408697
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00408339
Function at 0x403c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46366a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x47d030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.0042b160
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x403cf2
lea eax, [ebp + 8]
mov dword [ebp + 8], str.bad_locale_name
push eax
lea ecx, [ebp - 0x1c]
call fcn.004084b7
push 0x477efc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
push eax
call fcn.00408699
push eax
push esi
call fcn.0042bd10
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x404ad0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38c80
call fcn.00408b80
mov eax, dword [0x47d030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0x38c80], eax
xor ecx, ecx
lea ecx, [ecx]
mov eax, ecx
mov byte [ebp + ecx - 0x1c640], cl
cdq
idiv esi
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x38c7c], al
inc ecx
cmp ecx, 0x1c63b
jl 0x404b00
xor esi, esi
mov bl, byte [ebp + esi - 0x1c640]
movzx ecx, byte [ebp + esi - 0x38c7c]
add ecx, edi
movzx eax, bl
add eax, ecx
mov ecx, 0x1c63b
cdq
idiv ecx
push 0
push 0
mov edi, edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [ebp + edi - 0x1c640]
mov byte [ebp + edi - 0x1c640], bl
mov byte [ebp + esi - 0x1c640], al
inc esi
cmp esi, 0x1c63b
jl 0x404b21
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x404bf4
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x38c80]
sub edi, ebx
nop
lea eax, [esi + 1]
mov esi, 0x1c63b
cdq
lea ebx, [ebx + 1]
idiv esi
mov esi, edx
movzx eax, byte [ebp + esi - 0x1c640]
add eax, ecx
mov ecx, 0x1c63b
cdq
idiv ecx
movzx eax, byte [ebp + esi - 0x1c640]
mov dword [ebp - 0x38c80], edx
mov cl, byte [ebp + edx - 0x1c640]
mov byte [ebp + edx - 0x1c640], al
mov byte [ebp + esi - 0x1c640], cl
movzx eax, cl
movzx ecx, byte [ebp + edx - 0x1c640]
add eax, ecx
mov ecx, 0x1c63b
cdq
idiv ecx
mov ecx, dword [ebp - 0x38c80]
movzx eax, byte [ebp + edx - 0x1c640]
xor al, byte [edi + ebx - 1]
dec dword [ebp + 0xc]
mov byte [ebx - 1], al
jne 0x404b80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040868a
mov esp, ebp
pop ebp
ret
Function at 0x406ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47d030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push str.schtasks.exe
mov ebx, 0x442c83
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x406f10
mov ebx, 0xcfdb
mov dword [0x47d008], 0x188f
lea ebx, [ebx]
push 0
call fcn.00407181
push eax
call fcn.00407171
add esp, 8
call fcn.00407150
and eax, 0x80000003
jns 0x406f31
dec eax
or eax, 0xfffffffc
inc eax
inc eax
cmp eax, 3
jle 0x406f10
mov eax, dword [0x46a1d4]
movq xmm0, qword [str.De_Md1m_8kPB]
mov dword [ebp - 0xc], eax
mov al, byte [0x46a1d8]
push 0x4cc59
movq qword [ebp - 0x14], xmm0
mov byte [ebp - 8], al
call fcn.00401438
mov esi, eax
push 0xc325f047
push esi
call fcn.00401014
push 0x41b20a7b
push esi
mov edi, eax
call fcn.00401014
push 0x642f507b
push esi
mov dword [ebp - 0x20], eax
call fcn.00401014
push 0x7f95bd8f
push esi
mov dword [ebp - 0x24], eax
call fcn.00401014
push 0xe46eb845
push esi
mov dword [ebp - 0x1c], eax
call fcn.00401014
add esp, 0x2c
movzx ecx, bx
mov dword [ebp - 0x18], eax
push 0xa
push ecx
push 0
call edi
mov esi, eax
test esi, esi
jne 0x406fcd
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040868a
mov esp, ebp
pop ebp
ret 0x10
push esi
push 0
call dword [ebp - 0x20]
mov ebx, eax
test ebx, ebx
je 0x406fb8
push esi
push 0
call dword [ebp - 0x24]
push 0
push 0x40
push str.4096
mov edi, eax
call fcn.00408380
add esp, 4
or eax, 0x2000
push eax
push edi
push 0
call dword [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov esi, eax
test esi, esi
je 0x406fb8
push edi
push ebx
push esi
call fcn.00408bb0
push esi
push 0xd
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call fcn.004013f2
add esp, 0x20
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x422413
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47d030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004120c9
mov dword [ebp - 0x14], eax
cmp dword [0x481234], esi
jne 0x422506
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x422493
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4225e6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4225e6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4225e6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x481234], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x481238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x48123c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x481244], eax
test eax, eax
je 0x422503
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x481240], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42252b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42251e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x422540
push 4
pop eax
jmp 0x4225e8
cmp dword [ebp - 0x14], esi
je 0x422540
push dword [0x481234]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x422525
mov eax, dword [0x481240]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42259e
cmp dword [0x481244], edi
je 0x42259e
push eax
call ebx
push dword [0x481244]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42259e
test eax, eax
je 0x42259e
call ecx
test eax, eax
je 0x422593
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x422593
test byte [ebp - 8], 1
jne 0x42259e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4225ce
mov eax, dword [0x481238]
cmp eax, edi
je 0x4225cb
push eax
call ebx
test eax, eax
je 0x4225cb
call eax
mov esi, eax
test esi, esi
je 0x4225cb
mov eax, dword [0x48123c]
cmp eax, edi
je 0x4225cb
push eax
call ebx
test eax, eax
je 0x4225cb
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x481234]
call ebx
test eax, eax
je 0x4225e6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4225e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040868a
mov esp, ebp
pop ebp
ret