joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a8cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43e610], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41a917
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - reloc.user32.dll_ShowCursor]
mov word [0x45eca8], ax
xor eax, eax
mov word [0x45ecaa], ax
mov dword [0x43e610], 0x45eca8
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410000
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43e600
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41ab60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041e630
cmp byte [0x44a470], 0
je 0x41ac0e
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041c040
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x4352ec
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ac0e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ac05
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41abe9
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - reloc.user32.dll_ShowCursor], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.00410131
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x41acc6
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041e630
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x41ace1
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x41acee
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41adb1
movzx eax, word [esi]
test ax, ax
je 0x41adb1
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x41ad3b
test edi, edi
je 0x41ad45
test ebx, ebx
jne 0x41ad45
test ecx, ecx
je 0x41ad37
mov byte [ecx], 1
mov ebx, ebp
jmp 0x41ad5c
cmp eax, 0xd
je 0x41ad6f
cmp eax, 0xa
je 0x41ad72
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x41ad6a
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x41ad1d
jmp 0x41ad72
mov byte [edx], 1
jmp 0x41ad72
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x41adab
mov word [edi], ax
test ebx, ebx
je 0x41adab
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00410131
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41adb3
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x41adbe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x41ae19
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [fcn.00433260]
call esi
pop esi
jmp 0x41ae21
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41d353
Capabilities:
Hide graphical window

Disassembly:
and dword [0x448454], 0
push 1
push dword [esp + 8]
mov byte [0x448451], 1
mov byte [0x448452], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004012c8
cmp dword [0x44843c], 0
jne 0x41d393
cmp byte [0x448463], 0
je 0x41d39c
cmp dword [0x44845c], 0
jne 0x41d3af
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41d4af
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041e630
cmp byte [0x44a470], 0
je 0x41d53e
cmp word [0x44a472], 0
je 0x41d53e
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x44a472
call fcn.0041c040
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x4352ec
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41d53d
push dword [ebp + 8]
call fcn.00423883
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41d544
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041e630
push esi
push dword [ebp + 8]
push 0x43505c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040feb3
mov esi, eax
test esi, esi
je 0x41d59c
movzx ecx, word [esi]
push ecx
jmp 0x41d587
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040ffcc
test al, al
jne 0x41d580
push esi
push 0x43506c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407abf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407b17
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x40a0e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407b0a
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x407b19
xor eax, eax
pop esi
leave
ret 4
Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
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 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6cd490a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x1013113
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x471e1c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004717da

Function at 0x4728f5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004727c9
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x407008]
xor eax, esp
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [0x407480]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0x410
mov dword [0x407470], eax
mov dword [0x407474], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [0x40741c], ecx
mov ecx, dword [esp + 0x14]
mov dword [0x40746c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [0x407418], eax
xor ecx, esp
mov eax, dword [esp + 0x10]
mov dword [0x407468], eax
call fcn.00403394
mov esp, ebp
pop ebp
ret
Function at 0x402ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40431d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x407008]
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
push 4
call fcn.004033a2
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401340
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x403340
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x402b61
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.00403394
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x403d03
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403d42
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403d42
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403d42
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403d42
cmp dword [ecx + 0x74], 0xe
jbe 0x403d42
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x405a40
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49d568]
jne 0x405a4a
repz ret
jmp fcn.00407a2b

Function at 0x40649b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49d568]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404804
and dword [ebp - 0x14], 0
cmp dword [0x49f570], 0
mov dword [ebp - 0x18], eax
jne 0x40654e
push 0x401e08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4065f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401dfc
push ebx
call edi
test eax, eax
je 0x4065f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401dec
push ebx
mov dword [0x49f570], eax
call edi
push eax
call esi
push 0x401dd8
push ebx
mov dword [0x49f574], eax
call edi
push eax
call esi
push 0x401dbc
push ebx
mov dword [0x49f578], eax
call edi
push eax
call esi
mov dword [0x49f580], eax
test eax, eax
je 0x40654e
push 0x401da4
push ebx
call edi
push eax
call esi
mov dword [0x49f57c], eax
mov eax, dword [0x49f57c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4065a7
cmp dword [0x49f580], ecx
je 0x4065a7
push eax
call esi
push dword [0x49f580]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4065a7
test ebx, ebx
je 0x4065a7
call edi
test eax, eax
je 0x40659e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40659e
test byte [ebp - 8], 1
jne 0x4065a7
or dword [ebp + 0x10], 0x200000
jmp 0x4065da
mov eax, dword [0x49f574]
cmp eax, dword [ebp - 0x18]
je 0x4065da
push eax
call esi
test eax, eax
je 0x4065da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4065da
mov eax, dword [0x49f578]
cmp eax, dword [ebp - 0x18]
je 0x4065da
push eax
call esi
test eax, eax
je 0x4065da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49f570]
call esi
test eax, eax
je 0x4065f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4065f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a40
leave
ret
Function at 0x499a10
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x823614], 0x37
jne 0x499ac9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x4029bc
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 4]
push ecx
push 0x4029d0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x402a04
push 0x402a10
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea edx, [esp + 0x810]
push edx
push 0
push 0x402a68
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0x824608]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4a4664]
mov byte [eax + esi], dl
add esp, 0xc0c
ret
Function at 0x499c50
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x823614]
sub esp, 0x1cc
push ebx
push ebp
push esi
mov esi, dword [0x4a4664]
shr eax, 3
push edi
test eax, eax
je 0x499dee
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x499c84
mov esi, dword [esp + 0x18]
cmp dword [0x823614], 0x1c
jne 0x499ca1
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edx, dword [0x49dda0]
mov eax, dword [0x49dda4]
mov ecx, dword [0x49dda8]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [0x49ddac]
mov ebp, 0xc6ef3720
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], 0x20
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x28]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x34]
lea edx, [edi + ebp]
xor eax, ecx
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [0x823584], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
cmp dword [0x823614], 0x1be
jne 0x499d2d
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0x823614], 0x979
mov dword [0x823588], 0xff6b3619
mov dword [0x82358c], 0xffffffff
jne 0x499d6d
mov edx, dword [esp + 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebx + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x499cda
cmp dword [0x823614], 0x8d4
jne 0x499da5
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp dword [0x823614], 0x17
jne 0x499ddd
push 0
push 0
push 0
push 0x402990
push 0x4029b4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x98]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x499c80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x51a10000
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x39a673a1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4095d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x4a1150]
test eax, eax
je 0x4096b5
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x409606
cmp dword [eax + 4], 0
mov esi, eax
je 0x409606
add esi, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4a1150]
test eax, eax
je 0x4096c7
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4096d9
mov al, byte [0x4a16e5]
push 4
push 0x20
call fcn.00406770
add esp, 8
test eax, eax
je 0x4096eb
mov dword [eax], 0x4a1150
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x4a1150]
test eax, eax
je 0x4096f4
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 8]
mov esi, edi
add esi, 4
test eax, eax
jne 0x409706
lea eax, [ebp - 0x24]
push eax
call fcn.00409740
add esp, 4
movsd xmm1, qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
cmp dword [esi], 0
movsd qword [esi + 8], xmm1
movsd xmm1, qword [ebp - 0x14]
movsd qword [esi + 0x10], xmm1
mov eax, dword [ebp - 0xc]
movsd qword [esi], xmm0
mov dword [esi + 0x18], eax
je 0x4095fd
lock dec dword [0x4a1700]
jmp 0x4095fd
push 0x4a1150
call fcn.0044d4c0
add esp, 4
jmp 0x4095e6
push 0x4a1150
call fcn.0044d4c0
add esp, 4
jmp 0x409614
xor esi, esi
mov edi, eax
cmp eax, 1
je 0x4095fd
jmp 0x409661
push 0x20
push 4
call fcn.0044ea80
push 0x4a1150
call fcn.0044d4c0
add esp, 4
jmp 0x409659
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x409671
movsd xmm0, qword [eax + 0x14]
movsd xmm2, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ebp - 0x10], xmm0
movsd qword [ebp - 0x18], xmm1
movsd qword [ebp - 0x20], xmm2
mov dword [ebp - 0x24], ecx
jmp 0x40967d
Function at 0x409990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [0x4a1708]
test ebx, ebx
je 0x4099ad
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x476471
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x409a43
mov edi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409a43
mov esi, eax
push str.WakeByAddressSingle
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409a43
mov edi, eax
mov dword [ebp - 0x10], 0
mov al, byte [0x4a16e5]
push 4
push 0xc
call fcn.00406770
add esp, 8
test eax, eax
je 0x409aae
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
xor eax, eax
lock cmpxchg dword [0x4a1708], ebx
je 0x4099a3
cmp dword [ebx], 0
mov esi, eax
je 0x409a2f
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 4
push 0xc
push ebx
call fcn.00404920
add esp, 0xc
mov ebx, esi
jmp 0x4099a3
push 0x47642c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x409ab7
mov esi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409ab7
mov ebx, eax
push str.NtReleaseKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x409ab7
push str.NtWaitForKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409ab7
mov ecx, ebx
mov esi, eax
call dword [section..00cfg]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0xc0000000
push ecx
call ebx
test eax, eax
jne 0x409ab7
mov edi, dword [ebp - 0x14]
jmp 0x4099ed
push 0xc
push 4
call fcn.0044ea80
call fcn.0045dba0
int3