joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406430
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442a87
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor eax, eax
mov word [ebp - 0x98], ax
push 0x7e
push eax
lea eax, [ebp - 0x96]
push eax
call fcn.004293a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x44ff18
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
push eax
push str..tmp
mov ecx, esi
call fcn.00402810
cmp eax, 0xffffffff
je 0x40653e
add eax, 4
push eax
push 0
lea eax, [ebp - 0xe0]
push eax
mov ecx, esi
call fcn.00402860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.00403c30
add esp, 4
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00402780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
jmp 0x406594
push str..tmp
mov edx, esi
lea ecx, [ebp - 0xc8]
call fcn.00403ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xe0]
call fcn.00403c30
add esp, 8
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
call fcn.00402780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00402780
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
cmp dword [esi + 0x14], 8
jb 0x4065bc
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4065eb
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406628
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x9c], 8
jb 0x406609
push dword [ebp - 0xb0]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
jmp 0x40667f
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x9c], 8
jb 0x406646
push dword [ebp - 0xb0]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
mov al, 1
jmp 0x406681
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x407450
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4423c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4587e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
lea eax, [edi + 0x70]
mov dword [edi], 0x44ff74
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov eax, dword [edi]
lea esi, [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
push esi
add ecx, edi
call fcn.00407900
mov dword [ebp - 4], 4
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00407ff0
mov byte [ebp - 4], 5
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x45b0e4]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442b18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4587e8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4587e8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x407ce3
cmp byte [ebx + 0x45], 0
je 0x407ce3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x407bb0
xor al, al
jmp 0x407ce5
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x407c10
cmp ecx, 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, edx
lea esi, [esp + 0x1c]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x407c4b
dec eax
je 0x407c4f
sub eax, 2
je 0x407cad
xor bl, bl
jmp 0x407caf
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x407c8e
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.004250eb
add esp, 0x10
cmp esi, eax
jne 0x407c47
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x407cad
test esi, esi
jne 0x407c10
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00407850
jmp 0x407bff
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x407cca
push dword [esp + 0x18]
call fcn.00423c7d
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov al, bl
jmp 0x407ce5
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x409690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44321d
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x464], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x409740
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.00402d10
jmp 0x40982a
lea eax, [ebp - 0x460]
push eax
push edi
mov dword [ebp - 0x460], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x409802
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4097c7
cmp ebx, dword [ebp - 0x458]
je 0x4097ac
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409790
jmp 0x4097c7
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00424c56
add esp, 0xc
cmp word [ebp - 0x218], 0
jne 0x4097d5
xor ecx, ecx
jmp 0x4097ef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4097e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403620
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.00402d10
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x40984f
push dword [ebp - 0x230]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x409890
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4431bb
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x46c], edi
mov eax, ecx
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x480], edi
xor esi, esi
mov dword [ebp - 0x478], esi
cmp dword [eax + 0x10], esi
je 0x409923
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x470], ebx
cmp ebx, 0xffffffff
je 0x409923
mov dword [ebp - 0x468], 0x22c
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x409933
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x409978
mov ebx, dword [ebp - 0x470]
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x40996f
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x474]
call fcn.00402800
push eax
call fcn.00424cb2
add esp, 8
test eax, eax
jne 0x409933
cmp dword [edi + 0x10], eax
jne 0x409994
mov esi, dword [ebp - 0x460]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x460]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40992d
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push eax
lea eax, [ebp - 0x21e]
push eax
call fcn.004293a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x40992d
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.004026b0
mov byte [ebp - 4], 1
push 0
push dword [ebp - 0x46c]
mov ecx, eax
call fcn.0040a4e0
cmp eax, 0xffffffff
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00402780
test bl, bl
je 0x409a39
mov dword [ebp - 4], 0xffffffff
jmp 0x409927
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x478], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x409927
Function at 0x40a260
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44327d
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x444], 0
mov edi, dword [edx]
mov dword [ebp - 0x454], esi
test edi, edi
jne 0x40a2ad
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004293a0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004293a0
add esp, 0xc
xor eax, eax
push 0x10
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.SeDebugPrivilege
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.00403620
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.00409e80
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 8
jb 0x40a381
push dword [ebp - 0x438]
call fcn.00423c7d
add esp, 4
xor eax, eax
push edi
push eax
push 0x400
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40a461
lea ecx, [ebp - 0x440]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40a461
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push 0
push 1
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x40a3f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40a461
push dword [ebp - 0x43c]
call fcn.00425a1b
mov edi, eax
add esp, 4
test edi, edi
je 0x40a461
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
push edi
push 1
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40a458
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push edi
call fcn.0042484b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x40a481
xor ecx, ecx
jmp 0x40a49f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a490
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00403620
mov dword [ebp - 4], 0
mov dword [ebp - 0x444], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x40fad0
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov eax, ecx
ret

Function at 0x40fb00
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x410b60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4443f8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00402b40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x410be1
push 0x14
push str.dwIr23Cew_T_R471_
lea ecx, [ebp - 0x2c]
call fcn.00403420
mov ecx, dword [ebp - 0x1c]
test esi, esi
je 0x410c69
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
call fcn.0040fb30
cmp byte [ebp - 0x34], 0
jne 0x410c56
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x34], 1
call fcn.0040fbe0
push ecx
lea eax, [ebp - 0x44]
push eax
mov edx, esi
mov ecx, edi
call fcn.00410950
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x410c81
push dword [ebp - 0x2c]
call fcn.00423c7d
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
Function at 0x4110b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x454748
push 0x42b930
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4587e8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edx, ecx
mov dword [ebp - 0x20], edx
mov edi, dword [ebp + 8]
mov dword [edi], 0
xor esi, esi
cmp ebx, 4
jl 0x411235
mov eax, ebx
and eax, 0x80000003
jns 0x41110c
dec eax
or eax, 0xfffffffc
inc eax
jne 0x411235
mov dword [ebp - 4], esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, ebx
jge 0x41113c
mov al, byte [ecx + edx]
cmp al, 0x80
jae 0x41122e
movzx eax, al
cmp byte [eax + 0x459bd0], 0xff
je 0x41122e
inc ecx
jmp 0x411117
push ebx
call fcn.0042396e
mov dword [ebp - 0x1c], eax
push ebx
push 0
push eax
call fcn.004293a0
add esp, 0x10
mov edx, dword [ebp - 0x1c]
cmp esi, ebx
jge 0x411201
mov ecx, dword [ebp - 0x20]
movzx eax, byte [esi + ecx]
mov dl, byte [eax + 0x459bd0]
inc esi
mov dword [ebp - 0x24], esi
movzx eax, byte [esi + ecx]
mov al, byte [eax + 0x459bd0]
inc esi
mov dword [ebp - 0x24], esi
movzx ecx, al
mov dword [ebp - 0x2c], ecx
shr ecx, 4
and ecx, 3
movzx eax, dl
shl eax, 2
or ecx, eax
mov eax, dword [edi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + eax], cl
inc dword [edi]
mov eax, dword [ebp - 0x20]
mov al, byte [esi + eax]
inc esi
mov dword [ebp - 0x24], esi
cmp al, 0x3d
je 0x411201
movzx eax, al
mov al, byte [eax + 0x459bd0]
movzx ecx, al
mov eax, ecx
shr eax, 2
and eax, 0xf
mov edx, dword [ebp - 0x2c]
and edx, 0xf
shl edx, 4
or eax, edx
mov edx, dword [ebp - 0x1c]
mov edi, dword [edi]
mov byte [edi + edx], al
mov edi, dword [ebp + 8]
inc dword [edi]
mov eax, dword [ebp - 0x20]
mov al, byte [esi + eax]
inc esi
mov dword [ebp - 0x24], esi
cmp al, 0x3d
je 0x411201
movzx eax, al
mov al, byte [eax + 0x459bd0]
and ecx, 3
shl ecx, 6
movzx eax, al
or ecx, eax
mov eax, dword [edi]
mov byte [eax + edx], cl
inc dword [edi]
jmp 0x411154
mov dword [ebp - 4], 0xfffffffe
mov eax, edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411630
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4116ea
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x411698
cmp dword [ebp - 0x110], 1
jne 0x4116ea
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x4116ea
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4116ba
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4116d2
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4116ea
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.00423c82
mov esp, ebp
pop ebp
ret

Function at 0x4117e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
jb 0x411806
mov eax, dword [eax]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411835
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423c82
mov esp, ebp
pop ebp
ret 0x10
push ebx
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
xor bl, bl
call fcn.004293a0
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
mov ecx, edi
mov dword [ebp - 0x41c], 0x410
call fcn.00402800
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4118a2
cmp dword [ebp - 0x420], 4
jne 0x4118a2
mov ecx, dword [ebp - 0x414]
mov bl, 1
mov dword [esi], ecx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00423c82
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411b10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x411b26
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x2001b
push 0
push 0
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x411b4e
xor al, al
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x411b5c
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 8
jb 0x411b67
mov edx, dword [edx]
push ebx
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push edx
push dword [ebp - 4]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x411ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x411bb6
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x2001b
push 0
push 0
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x411bde
xor al, al
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x411be9
mov eax, dword [eax]
push ebx
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
push eax
push dword [ebp - 4]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
xor ecx, ecx
movzx ebx, bl
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10