joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b985
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49b9bd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004999d5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004999ad
jmp 0x49b9c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49d07a
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 0x49d0bc
call fcn.004a30bf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49d0bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49d0b3
xor eax, eax
jmp 0x49d0c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049d0ca
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a35ef
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 0x4a361d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a363b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a3555
jmp 0x4a363b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a363b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a3555
test edi, edi
mov eax, edi
jne 0x4a3625
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4011d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
test ebx, ebx
push edi
je 0x4011e8
mov byte [ebx], 0
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 5
jb 0x401226
mov ecx, dword [esp + 0x130]
lea edx, [esp + 0xac]
push ecx
push str..Global_s
push edx
jmp 0x40123b
mov eax, dword [esp + 0x130]
lea ecx, [esp + 0xac]
push eax
push str.._s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0xac]
push 0
push 0x80
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
test ebp, ebp
je 0x40135d
cmp ebp, 0xffffffff
je 0x40135d
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push 0
push 0
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4012cb
test ebx, ebx
je 0x4012b7
mov edi, str.InvalidResponse
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
cmp dword [esp + 0x14], 4
je 0x40130c
test ebx, ebx
je 0x4012f8
mov edi, str.InvalidResponse
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
cmp dword [esp + 0x10], 0x137
je 0x401350
test ebx, ebx
je 0x40133c
mov edi, str.InvalidResponse
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
test ebx, ebx
je 0x401383
mov edi, str.OpenFailed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c
ret
Function at 0x401600
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebp
mov ebp, dword [esp + 0x408]
push esi
push edi
push eax
push 0x104
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0xc]
cmp cl, 0x5c
je 0x40164d
cmp cl, 0x2f
je 0x40164d
lea edx, [esp + 0xc]
mov edi, str.wwuninst.txt
jmp 0x401656
lea edx, [esp + 0xc]
mov edi, 0x40a140
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40a0cc
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x40171d
push edi
push 0x400
lea ecx, [esp + 0x14]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov byte [esp + esi + 0xc], 0
test esi, esi
mov byte [esp + 0x110], 0
jle 0x40171d
lea edx, [esp + 0xc]
push 0x2c
push edx
call fcn.00403c10
add esp, 8
test eax, eax
je 0x40171d
lea edi, [eax + 1]
push 0x40a13c
push 0x40a13c
push edi
call fcn.00403b40
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
add esp, 0x400
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x400
ret
Function at 0x4018b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x40a0cc
push ecx
mov dword [eax], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401a21
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
add esp, 0xc
test eax, eax
push esi
jne 0x401a18
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
cmp eax, 1
mov dword [esp + 0x14], eax
jl 0x401a17
cmp eax, 0x6400000
jg 0x401a17
push 0
push 0
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x401a17
mov edx, dword [esp + 0x14]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
test ebx, ebx
push esi
je 0x401a18
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 1
jge 0x401977
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x18]
mov byte [eax + ebx], 0
test edx, edx
je 0x401a08
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x401a08
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edx
push ebx
call fcn.00406c60
add esp, 0xc
mov ebp, eax
test ebp, ebp
push ebx
jne 0x4019cd
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x18]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov edx, ecx
mov esi, ebp
mov edi, ebx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov byte [eax + ebx], 0
call fcn.00406cd0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [ecx], ebx
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x402a20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x400
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, str.regsvr32__
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x414]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402950
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
test eax, eax
je 0x402ad5
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb
jle 0x402ad5
lea ebx, [esp + ecx + 5]
push str.wwshell.dll
push ebx
call ebp
add esp, 8
test eax, eax
jne 0x402ad5
mov edi, str.wwshell64.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x418]
push str.RegSvr32
push esi
call ebp
add esp, 8
test eax, eax
jne 0x402af6
lea edx, [esp + 0x10]
mov edi, str.___s
jmp 0x402b0e
push str.UnRegSvr32
push esi
call ebp
add esp, 8
test eax, eax
jne 0x402b33
lea edx, [esp + 0x10]
mov edi, str.___u__s
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret
Function at 0x402b50
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x148
lea eax, [esp + 0x48]
push eax
call fcn.00401600
add esp, 4
test eax, eax
je 0x402c91
push esi
push edi
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x402b94
mov al, byte [esp + ecx + 0x50]
cmp al, 0x5c
je 0x402b8f
cmp al, 0x2f
je 0x402b8f
dec ecx
jns 0x402b7e
jmp 0x402b94
mov byte [esp + ecx + 0x50], 0
lea ecx, [esp + 0x10]
push ecx
call fcn.00405430
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call fcn.00405520
add esp, 0x1c
test eax, eax
jl 0x402bd9
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x402ca0
push 1
lea edx, [esp + 0x60]
push 1
push edx
call fcn.00406440
add esp, 0x18
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00405a70
mov esi, eax
add esp, 8
test esi, esi
jle 0x402c2c
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push esi
push edx
call fcn.004059a0
add esp, 0xc
test eax, eax
jle 0x402c18
mov eax, dword [esp + 8]
cmp byte [eax], 0x31
jne 0x402c18
inc eax
push eax
call edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00405ac0
mov esi, eax
add esp, 8
test esi, esi
jg 0x402bf4
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00405a70
mov esi, eax
add esp, 8
test esi, esi
jle 0x402c82
mov edi, dword [sym.imp.MSVCRT.dll__rmdir]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push esi
push eax
call fcn.004059a0
add esp, 0xc
test eax, eax
jle 0x402c6e
mov eax, dword [esp + 8]
cmp byte [eax], 0x30
jne 0x402c6e
inc eax
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.00405ac0
mov esi, eax
add esp, 8
test esi, esi
jg 0x402c47
lea edx, [esp + 0x10]
push edx
call fcn.00405460
add esp, 4
pop edi
pop esi
add esp, 0x148
ret
Function at 0x403140
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebp
mov ebp, dword [esp + 0x408]
push esi
push edi
push eax
push 0x104
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0xc]
cmp cl, 0x5c
je 0x40318d
cmp cl, 0x2f
je 0x40318d
lea edx, [esp + 0xc]
mov edi, str.wwuninst.txt
jmp 0x403196
lea edx, [esp + 0xc]
mov edi, 0x40a140
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40a0cc
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x403265
push edi
push 0x400
lea ecx, [esp + 0x14]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov byte [esp + esi + 0xc], 0
test esi, esi
mov byte [esp + 0x110], 0
jle 0x403265
lea edx, [esp + 0xc]
push 0x2c
push edx
call fcn.00403c10
add esp, 8
test eax, eax
je 0x403265
mov byte [eax], 0
push 0x40a13c
lea eax, [esp + 0x10]
push 0x40a13c
push eax
call fcn.00403b40
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
add esp, 0x400
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x400
ret
Function at 0x403380
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0xc]
cmp cl, 0x5c
je 0x4033c2
cmp cl, 0x2f
je 0x4033c2
lea edx, [esp + 0xc]
mov edi, str.wwuninst.txt
jmp 0x4033cb
lea edx, [esp + 0xc]
mov edi, 0x40a140
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40a0cc
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
xor ebx, ebx
add esp, 8
cmp edi, ebx
je 0x403488
push edi
push 0x400
lea ecx, [esp + 0x14]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov byte [esp + esi + 0xc], bl
cmp esi, ebx
mov byte [esp + 0x110], bl
jle 0x403488
lea edx, [esp + 0xc]
push 0x2c
push edx
call fcn.00403c10
add esp, 8
cmp eax, ebx
je 0x403488
mov byte [eax], bl
push 0x40a13c
lea eax, [esp + 0x10]
push 0x40a13c
push eax
call fcn.00403b40
lea ecx, [esp + 0x18]
push str.client
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x14
test eax, eax
jne 0x403488
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x400
ret
Function at 0x4038e0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x144
mov al, 0x77
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
mov byte [esp + 8], al
mov byte [esp + 9], al
push esi
lea eax, [esp + 0x4c]
push edi
push eax
push 0x104
mov byte [esp + 0x1a], 0x68
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x2e
mov byte [esp + 0x1e], 0x78
mov byte [esp + 0x1f], 0x63
mov byte [esp + 0x20], 0x66
mov byte [esp + 0x21], 0
call ebx
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0x50]
cmp cl, 0x5c
je 0x403978
cmp cl, 0x2f
je 0x403978
mov edi, 0x40a1e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x50]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401190
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
test eax, eax
je 0x4039c3
lea ecx, [esp + 0x50]
push ecx
call ebp
lea edx, [esp + 0x50]
push edx
push 0x104
call ebx
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0x50]
cmp cl, 0x5c
je 0x403a19
cmp cl, 0x2f
je 0x403a19
mov edi, 0x40a1e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40a140
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x50]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401190
add esp, 4
test eax, eax
je 0x403a5f
lea ecx, [esp + 0x50]
push ecx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
Function at 0x406cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
jne 0x406d05
or eax, 0xffffffff
pop esi
mov dword [0x40a788], eax
not eax
ret
mov esi, dword [esp + 0xc]
mov eax, dword [0x40a788]
test esi, esi
je 0x406d32
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x40a388]
xor eax, edx
inc ecx
dec esi
jne 0x406d13
pop ebx
mov dword [0x40a788], eax
pop esi
not eax
ret
Function at 0x4081b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409110
push 0x4082e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40aa84], 0xffffffff
or dword [0x40aa88], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40aa80]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x40aa7c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40aa8c], eax
call fcn.004082e1
cmp dword [0x40aa50], 0
jne 0x408233
push 0x4082de
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004082cc
push 0x40a00c
push 0x40a008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x40aa78]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40aa74]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40a004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402d20
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x534660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
or ebp, 0xffffffff
jmp 0x534682
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x534689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x534678
mov eax, 1
add ebx, ebx
jne 0x53469b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5346ac
jne 0x5346cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5346cb
dec eax
add ebx, ebx
jne 0x5346b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x534690
add ebx, ebx
jne 0x5346c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53471d
xor ecx, ecx
sub eax, 3
jb 0x5346e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x534752
sar eax, 1
mov ebp, eax
jmp 0x5346ee
add ebx, ebx
jne 0x5346ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5346bc
inc ecx
add ebx, ebx
jne 0x5346fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5346bc
add ebx, ebx
jne 0x534709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5346fe
jne 0x53471a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5346fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53473c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53472e
jmp 0x53467e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53473c
add edi, ecx
jmp 0x53467e
pop esi
mov edi, esi
mov ecx, 0xa2e0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53475a
cmp byte [edi], 0x24
jne 0x53475a
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 0x53475f
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x5347d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13b364]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13b4b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53478c
mov ecx, edi
jns 0x5347bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13b4bc]
or eax, eax
je 0x5347d1
mov dword [ebx], eax
add ebx, 4
jmp 0x5347a9
call dword [esi + 0x13b4c4]
mov ebp, dword [esi + 0x13b4c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x53480b
sub esp, 0xffffff80
jmp 0x4affc1
Function at 0x10002a22
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x10007f80
call sub.MSVCRT.dll__EH_prolog
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
mov ebp, 0x1000c184
push 1
push ebp
push 0x1000c310
push 0
call ebx
cmp eax, 1
jne 0x10002a96
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
mov edi, connect
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78ProgID
push edi
call esi
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78InprocServer32
push edi
call esi
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78Programmable
push edi
call esi
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78TypeLib
push edi
call esi
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78VersionIndependentProgID
push edi
call esi
push str.CLSID04CA3BFE_6D72_42B6_B57F_1FF0AA317B78
push edi
call esi
push 0x40
push ebp
push 0x1000c18c
push 0
call ebx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret