joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010a0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42117b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov ecx, dword [esp + 0x124]
push esi
lea eax, [esp + 0xc]
push edi
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40129c
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push esi
push str.Count
push ecx
call edi
test eax, eax
je 0x401137
push str.Count_value_is_not_exist___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
add esp, 0x120
ret
mov edx, dword [0x42b2ac]
push ebp
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x24]
push str.Count___d_n
push ecx
mov dword [esp + 0x134], esi
call ebp
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
cmp eax, esi
jbe 0x40127a
push ebx
mov esi, 1
mov ebx, 0x400
push esi
lea eax, [esp + 0x18]
push str._d_ShortcutFile
push eax
call fcn.00415a0a
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x42d020
push edx
push 0
push eax
push ecx
mov dword [esp + 0x28], ebx
call edi
push esi
lea edx, [esp + 0x18]
push str._d_TargetFile
push edx
call fcn.00415a0a
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push 0x42d420
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], ebx
call edi
push esi
lea ecx, [esp + 0x18]
push str._d_Description
push ecx
call fcn.00415a0a
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push 0x42d820
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], ebx
call edi
push 0x42d420
push 0x42d020
push 0x42d820
lea eax, [esp + 0x30]
push str._Desc___s_n_Shortcut___s_n_Target___s_n
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x42d020
push 0x42d820
push 0x42d420
call fcn.00401570
mov eax, dword [esp + 0x28]
add esp, 0xc
inc esi
lea edx, [esi - 1]
cmp edx, eax
jb 0x40118d
pop ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], 0xffffffff
call fcn.00417129
pop ebp
jmp 0x4012a7
push str.Registry_Error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x401570
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4211e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x330]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x104
push edx
mov dword [esp + 0x338], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, ebx
jne 0x4015f0
mov eax, dword [esp + 8]
mov dword [esp + 0x328], 0xffffffff
cmp eax, ebx
je 0x4015d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
add esp, 0x324
ret
lea edx, [esp + 8]
push edx
push 0x424e70
push 1
push ebx
push 0x424e60
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x4016ed
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x401631
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x42b158
push eax
call dword [ecx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x330], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jge 0x40165b
mov eax, dword [esp + 0xc]
mov byte [esp + 0x328], bl
cmp eax, ebx
je 0x401688
jmp 0x401682
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x334]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x4016a3
mov eax, dword [esp + 0xc]
mov byte [esp + 0x328], bl
cmp eax, ebx
je 0x401688
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x328], 0xffffffff
cmp eax, ebx
je 0x401706
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x401706
mov ecx, dword [esp + 0x338]
lea eax, [esp + 0x118]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x118]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x328], bl
je 0x4016ed
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x328], 0xffffffff
cmp eax, ebx
je 0x401706
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x320]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x324
ret
Function at 0x40c85d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42c2b8
cmp edx, dword [eax]
je 0x40c87f
add eax, 8
inc ecx
cmp eax, 0x42c348
jl 0x40c870
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42c2b8]
jne 0x40c9ad
mov eax, dword [0x42fd04]
cmp eax, 1
je 0x40c987
test eax, eax
jne 0x40c8b0
cmp dword [0x42be94], 1
je 0x40c987
cmp edx, 0xfc
je 0x40c9ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c8e7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040cae0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040cbd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40c92a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040cbd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x424bec
push edi
call fcn.0040f760
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040cae0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040caf0
lea eax, [ebp - 0xa0]
push 0x424bcc
push eax
call fcn.0040caf0
push dword [esi + 0x42c2bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040caf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040f6c9
add esp, 0x2c
pop edi
jmp 0x40c9ad
lea eax, [ebp + 8]
lea esi, [esi + 0x42c2bc]
push 0
push eax
push dword [esi]
call fcn.0040cbd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x415060
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040a760
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41512b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41512b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4150de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4150e9
or bh, 8
and edi, 0x8000000
je 0x415104
mov eax, dword [0x43149c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41512b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41552b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41554f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41556a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x417858
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x421324
call fcn.0040979c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041e2f9
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x417897
call fcn.0041e2f9
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4178a5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4178b3
or eax, 0xffffffff
jmp 0x41799b
mov ecx, esi
call fcn.004177ce
mov dword [ebp - 0x14], eax
call fcn.00418664
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4178ea
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4178ea
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00418618
push dword [ebp - 0x14]
call fcn.00418166
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041755b
cmp eax, edi
je 0x41795d
test byte [esi + 0x24], 0x10
je 0x41792b
push 4
mov ecx, esi
pop ebx
call fcn.0041a736
test ah, 1
je 0x417923
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041a173
cmp dword [esi + 0x1c], edi
je 0x41795d
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041a81c
jmp 0x41795d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x417971
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41798a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x41798a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00417808
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41a021
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41a063
call fcn.0041e2f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41a063
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41a05a
xor eax, eax
jmp 0x41a06b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041a071
pop edi
pop esi
pop ebx
ret 4
Function at 0x41eab2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41eae0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41eafe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041ea18
jmp 0x41eafe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41eafe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041ea18
test edi, edi
mov eax, edi
jne 0x41eae8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x44f992
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x46dca0
sub esp, 0x20
mov eax, dword [0x51c154]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x10], eax
mov esi, dword [eax + 0x20]
mov ebp, dword [eax + 0x18]
add esi, ebx
test ebp, ebp
je 0x46dd05
mov eax, dword [esi]
lea ecx, [esp + 0x14]
add eax, ebx
push eax
call fcn.00450126
push dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
call fcn.0045234a
add esp, 8
test al, al
jne 0x46dd1a
lea ecx, [esp + 0x14]
add esi, 4
call fcn.004522cd
inc edi
cmp edi, ebp
jb 0x46dcd1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0045168e
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
lea ecx, [esp + 0x14]
call fcn.004522cd
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045168e
add esp, 0x20
ret

Function at 0x451d50
Capabilities:
Terminate process

Disassembly:
jmp 0x4a7a9e
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4a7aaf
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00454816
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x451ee0
Capabilities:
Query environment variable

Disassembly:
jmp 0x4e7255
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4e7269
xor edi, edi
jmp 0x4e72a0
push ebx
push esi
call fcn.004e715f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004529b2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4e7290
push ebx
push esi
push edi
call fcn.00454582
add esp, 0xc
push 0
call fcn.00455365
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x452511
Capabilities:
Encode data using xor

Disassembly:
jmp 0x46eee0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x46efd8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov bl, byte [esi + ebx]
push str.ugAyuisyx
push 0x51f718
call fcn.00451332
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
add esp, 8
div ebp
mov bh, byte [esi + ecx]
push 0x4551d0
push str.fdiogiuAsdoiHYUAUAY87234
push 0x51f718
mov al, byte [edx + section..Ballo]
xor al, bl
add al, bh
mov byte [esi + ecx], al
call fcn.00451332
add esp, 8
mov ecx, eax
call fcn.0045456e
mov eax, dword [esp + 0x14]
push str.suih89Ah3
push 0x51f718
dec byte [esi + eax]
call fcn.00451332
mov eax, dword [esp + 0x1c]
push str.XScdyhjkujktyyt
push 0x51f718
add byte [esi + eax], 0xfe
call fcn.00451332
mov eax, dword [esp + 0x24]
push str.sJBCsKJ2BJN
push 0x51f718
sub byte [esi + eax], bh
call fcn.00451332
mov ebx, dword [esp + 0x2c]
push str.sDGTFsE
push 0x51f718
inc byte [esi + ebx]
call fcn.00451332
inc byte [esi + ebx]
push str.ZASwe23
push 0x51f718
call fcn.00451332
inc byte [esi + ebx]
push str.uhgiyGAuyisua
push 0x51f718
call fcn.00451332
inc esi
add esp, 0x30
cmp esi, edi
jb 0x46ef00
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x454668
Capabilities:
Parse pe header

Disassembly:
jmp 0x49683f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49687e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49687e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49687e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49687e
cmp dword [ecx + 0x74], 0xe
jbe 0x49687e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4549a1
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x46dd80
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x52400c], eax
pop edi
pop esi
ret
Function at 0x408c40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f50b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00462062
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408cc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045fae0
mov eax, dword [eax]
push 0x566200
push eax
call fcn.00452554
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004622ed
test bl, bl
je 0x408cc2
push 0x566200
lea ecx, [esp + 0xc]
call fcn.004626c9
push 0x569d74
lea ecx, [esp + 0xc]
call fcn.004626c9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x408cfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004622ed
jmp 0x408dc9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x408d82
lea edx, [esp + 0x7c]
push 0x569d70
push edx
call fcn.00452554
add esp, 8
test eax, eax
je 0x408d82
lea eax, [esp + 0x7c]
push 0x569d6c
push eax
call fcn.00452554
add esp, 8
test eax, eax
je 0x408d82
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408d12
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004622ed
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4095c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409622
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f58b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x570ce0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409768
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409696
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004622ed
xor eax, eax
jmp 0x4097df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462476
push esi
lea ecx, [esp + 0xc]
call fcn.00462705
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x569dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4097bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004095c0
test eax, eax
jne 0x4097bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004095c0
test eax, eax
jne 0x4097bd
lea eax, [esp + 0x14]
push 0x569d88
push eax
call fcn.00453630
mov esi, eax
add esp, 8
test esi, esi
jne 0x40979c
lea ecx, [esp + 0x14]
push 0x569d84
push ecx
call fcn.004535b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40979c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40979f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462426
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4096ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004622ed
xor eax, eax
jmp 0x4097df
mov byte [esi], 0
push 0x569d80
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004622ed
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4