joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a371
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424d00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404416
mov dword [ebp - 0x14], eax
cmp dword [0x4262b4], esi
jne 0x40a464
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40a3f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40a544
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40a544
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a544
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4262b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4262b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4262bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4262c4], eax
test eax, eax
je 0x40a461
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4262c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40a489
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40a47c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40a49e
push 4
pop eax
jmp 0x40a546
cmp dword [ebp - 0x14], esi
je 0x40a49e
push dword [0x4262b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40a483
mov eax, dword [0x4262c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40a4fc
cmp dword [0x4262c4], edi
je 0x40a4fc
push eax
call ebx
push dword [0x4262c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40a4fc
test eax, eax
je 0x40a4fc
call ecx
test eax, eax
je 0x40a4f1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40a4f1
test byte [ebp - 8], 1
jne 0x40a4fc
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40a52c
mov eax, dword [0x4262b8]
cmp eax, edi
je 0x40a529
push eax
call ebx
test eax, eax
je 0x40a529
call eax
mov esi, eax
test esi, esi
je 0x40a529
mov eax, dword [0x4262bc]
cmp eax, edi
je 0x40a529
push eax
call ebx
test eax, eax
je 0x40a529
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4262b4]
call ebx
test eax, eax
je 0x40a544
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40a546
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004075e7
mov esp, ebp
pop ebp
ret
Function at 0x1000ba71
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
inc ebx
mov esi, edx
cmp ax, word [edi]
je 0x1000baf5
push 0x10039374
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x100396a4
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x5c
pop eax
push eax
push esi
jmp 0x1000bae4
push 0x3a
pop eax
cmp ax, word [esi - 2]
je 0x1000bad9
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000bad6
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000bad6
xor ebx, ebx
jmp 0x1000bad9
xor ebx, ebx
inc ebx
push 0x5c
pop eax
push eax
lea ecx, [esi + 2]
mov word [esi], ax
push ecx
call fcn.1001ddb2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1000baab
mov eax, ebx
jmp 0x1000baf7
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10010c8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.1002fb29
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [ecx]
je 0x10010d25
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x104c]
push 0x824
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x10010d25
lea ecx, [ebp - 0x104c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010cce
sub ecx, edx
sar ecx, 1
call fcn.100078ac
test eax, eax
jle 0x10010d0b
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x104e]
jne 0x10010d0b
lea eax, [eax*2 - 2]
cmp eax, 0x1048
jae 0x10010d33
xor ecx, ecx
mov word [ebp + eax - 0x104c], cx
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010d25
shr eax, 4
and eax, 1
jmp 0x10010d27
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c65c
leave
ret
call fcn.10012adc
int3
Function at 0x100111d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x14]
mov ebx, ecx
mov dword [ebp - 0x420], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], edi
test esi, esi
je 0x10011291
test ebx, ebx
je 0x10011291
mov edi, esi
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x1001121c
sub edi, ecx
lea eax, [ebp - 0x20c]
sar edi, 1
cmp esi, eax
je 0x1001124b
push ecx
push esi
mov edx, 0x104
mov ecx, eax
call fcn.10012adc
test eax, eax
je 0x100112d0
push 0x5c
pop eax
cmp ax, word [ebp + edi*2 - 0x20e]
je 0x10011278
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x100112d0
push ebx
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.10012adc
mov edi, dword [ebp - 0x418]
jmp 0x10011293
xor eax, eax
test eax, eax
je 0x100112d0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100112e3
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
jne 0x10011376
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c65c
leave
ret 0x10
test edi, edi
je 0x10011302
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.10012adc
pop ecx
pop ecx
test eax, eax
je 0x1001130c
xor ecx, ecx
mov word [eax], cx
jmp 0x1001130c
mov dword [ebp - 0x418], 0x10037e9c
push 0xffffffffffffffff
push str.___d__s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x100112d0
xor edi, edi
inc edi
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push edi
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10012adc
add esp, 0x14
test eax, eax
je 0x100112d0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10011376
inc edi
cmp edi, 0x7fffffff
jbe 0x1001132f
lea ecx, [esi + 2]
xor edx, edx
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1001137b
sub esi, ecx
sar esi, 1
cmp ebx, 0xffffffff
jne 0x100112d0
mov ebx, dword [ebp - 0x41c]
test ebx, ebx
je 0x100112d0
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
push eax
push 0x104
push ebx
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x100112d0
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x100113e5
test esi, esi
je 0x100112d0
lea ecx, [ebx + esi*2]
push 0x5c
pop edx
mov dword [eax], ecx
cmp dx, word [ecx]
jne 0x100113e5
add ecx, 2
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x100112d2
Function at 0x10012adc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10012aeb
pop dword [ebp - 4]
mov eax, 0x37f03b1f
sub eax, 0x27ef1034
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x41055
push 0
mov eax, 0xd4d5116c
sub eax, 0xc4d1f014
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x461d
xor edx, edx
add edx, eax
mov edi, 0xf7bda31
sub edi, 0xff775a31
add edi, dword [ebp - 4]
mov esi, 0x9b340555
sub esi, 0xf47b4f
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 0x9f51aeec
sub edx, 0x9f51aee8
add edi, 0xb9b68739
sub edi, 0xb9b68735
loop 0x10012b46
add eax, 0xe1dc4500
add eax, 0x1e24c647
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x10014298
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0x20
mov edi, edx
mov ebx, ecx
call fcn.10012adc
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10014332
cmp dword [ebp + 8], 0
je 0x100142c8
push dword [ebp + 8]
call fcn.10012adc
mov dword [esi], eax
pop ecx
test eax, eax
je 0x1001430a
cmp dword [ebp + 0xc], 0
je 0x100142de
push dword [ebp + 0xc]
call fcn.10012adc
mov dword [esi + 4], eax
pop ecx
test eax, eax
je 0x1001430a
cmp dword [ebp + 0x10], 0
je 0x100142f4
push dword [ebp + 0x10]
call fcn.10012adc
mov dword [esi + 8], eax
pop ecx
test eax, eax
je 0x1001430a
cmp dword [ebp + 0x14], 0
je 0x1001433b
push dword [ebp + 0x14]
call fcn.10012adc
mov dword [esi + 0xc], eax
pop ecx
test eax, eax
jne 0x1001433b
push dword [esi]
call fcn.10012adc
push dword [esi + 4]
call fcn.10012adc
push dword [esi + 8]
call fcn.10012adc
push dword [esi + 0xc]
call fcn.10012adc
push esi
call fcn.10012adc
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x1c], eax
xor eax, eax
push eax
push eax
push esi
push 0x100133a3
push eax
push eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
call dword [sym.imp.kernel32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
jmp 0x10014334
Function at 0x100194d5
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
test esi, esi
jne 0x100194fb
mov eax, 0x80070057
jmp 0x1001970d
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x484]
xor ebx, ebx
push str.SoftwareMicrosoftOffice_i.0Registration
push 0x100
push eax
mov dword [esi], ebx
mov dword [ebp - 0xe9c], ebx
call fcn.10012adc
add esp, 0x10
test eax, eax
je 0x100196fd
lea eax, [ebp - 0xe9c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x484]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100196fd
push 0x40
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xe9c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push dword [ebp - 0xe9c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
je 0x100196fd
test edi, edi
jne 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov edi, 0x100
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.10012adc
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
lea eax, [ebp - 0xe94]
mov dword [ebp - 0xe98], ebx
push eax
push 1
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0xe94], ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x10019655
lea eax, [ebp - 0xea0]
mov dword [ebp - 0xea0], 0x802
push eax
lea eax, [ebp - 0xe90]
push eax
lea eax, [ebp - 0xe98]
push eax
push ebx
push 0x1003b278
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0xe94], ebx
je 0x10019669
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100196ce
cmp dword [ebp - 0xe98], 1
je 0x1001967f
cmp dword [ebp - 0xe98], 2
jne 0x100196ce
cmp dword [ebp - 0xe98], 2
jne 0x100196d2
push 0x104
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
ja 0x100196d2
push 0xffffffffffffffff
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push 0x401
push eax
call fcn.10012adc
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x1001970a
lea eax, [ebp - 0xe90]
push str._no_more_entries_
push eax
call fcn.10012adc
pop ecx
pop ecx
test eax, eax
je 0x1001970a
xor eax, eax
cmp ax, word [ebp - 0xe90]
je 0x1001970a
lea eax, [ebp - 0xe90]
push eax
jmp 0x10019702
push str._no_more_entries_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001c65c
leave
ret 0x10
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x819030]
jne 0x401073
repz ret
jmp fcn.00401d51

Function at 0x408f95
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004037cf
and dword [ebp - 4], 0
cmp dword [0x81b88c], 0
mov ebx, eax
jne 0x409046
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4090f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4090f7
push eax
call fcn.0040375d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81b88c], eax
call esi
push eax
call fcn.0040375d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81b890], eax
call esi
push eax
call fcn.0040375d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81b894], eax
call esi
push eax
call fcn.0040375d
pop ecx
mov dword [0x81b89c], eax
test eax, eax
je 0x409046
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040375d
pop ecx
mov dword [0x81b898], eax
mov eax, dword [0x81b898]
cmp eax, ebx
je 0x40909e
cmp dword [0x81b89c], ebx
je 0x40909e
push eax
call fcn.004037d8
push dword [0x81b89c]
mov esi, eax
call fcn.004037d8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40909e
test edi, edi
je 0x40909e
call esi
test eax, eax
je 0x409095
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409095
test byte [ebp - 0xc], 1
jne 0x40909e
or dword [ebp + 0x10], 0x200000
jmp 0x4090d7
mov eax, dword [0x81b890]
cmp eax, ebx
je 0x4090d7
push eax
call fcn.004037d8
pop ecx
test eax, eax
je 0x4090d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4090d7
mov eax, dword [0x81b894]
cmp eax, ebx
je 0x4090d7
push eax
call fcn.004037d8
pop ecx
test eax, eax
je 0x4090d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81b88c]
call fcn.004037d8
pop ecx
test eax, eax
je 0x4090f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4090f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004016bf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401674
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004016bf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401674
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004016bf
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401674
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004016af
jnp 0x40211a
cmc
invalid
fimul word [edx - 0x80]
movsd dword es:[edi], dword [esi]
int3

Function at 0x40323c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x78b], 0
inc dword [eax]
Function at 0x4184e8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x418515
call fcn.0040609e
mov dword [eax], esi
call fcn.0040608b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040b9a4
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418533
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004060b1
pop ecx
jmp 0x418510
test byte [esp + 0xc], 0x80
je 0x41853f
and eax, 0xfffffffe
jmp 0x418542
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x418524
xor eax, eax
pop esi
ret

Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40345b
pop dword [ebp - 0x14]
mov eax, 0x40345b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x34c536db
add dword [ebp - 0x24], 0x198d0e70
mov dword [ebp - 0x20], 0x94d9c4fe
sub dword [ebp - 0x20], 0x62a678b9
mov dword [ebp - 0x1c], 0xde8ef9be
sub dword [ebp - 0x1c], 0x9242b590
mov dword [ebp - 0x18], 0x81698580
sub dword [ebp - 0x18], 0x81698580
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xbe442e8b
add dword [ebp - 0x24], 0xb62e3acb
mov dword [ebp - 0x20], 0xcab6e667
sub dword [ebp - 0x20], 0x894a84f2
mov dword [ebp - 0x1c], 0xdd50b158
sub dword [ebp - 0x1c], 0x79e144ec
mov dword [ebp - 0x18], 0xa9971744
sub dword [ebp - 0x18], 0xa9971744
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x376f3
push 0
call eax
mov ecx, 0x317214f6
add ecx, 0xce8e3551
mov edi, eax
mov esi, 0x408400
add esi, dword [ebp - 0x14]
mov ebx, 0x1bd16fd8
sub ebx, 0x2e914ba0
sub dword [ebp - 0x10], eax
mov edx, dword [esi]
add dword [ebp - 4], 0x1bedf24c
xor edx, ebx
add dword [ebp - 4], 0x87c11676
mov dword [edi], edx
add dword [ebp - 4], 0x248e26be
add edi, 0x1724154c
sub edi, 0x17241548
add esi, 0xf9397ee3
sub esi, 0xf9397edf
loop 0x403568
add eax, 0x87ea2ce1
sub eax, 0x87e910f2
mov ebx, eax
add eax, 0x91757803
sub eax, 0x917577fe
mov ecx, 0x3a32d1cd
add ecx, 0xc60d2e33
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xb223c8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b22518
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb223ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb223da
add dl, dl
jne 0xb223f9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb2244c
xor eax, eax
add dl, dl
jne 0xb22406
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb224ed
add dl, dl
jne 0xb22415
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb22420
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb2242b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb22436
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb22442
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb223e5
mov eax, 1
add dl, dl
jne 0xb2245a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb22465
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb22451
sub eax, ebx
mov ebx, 1
jne 0xb22498
mov ecx, 1
add dl, dl
jne 0xb2247e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb22489
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb22475
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb223e5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb224af
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb224ba
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb224a6
cmp eax, 0x7d00
jae 0xb224dd
cmp eax, 0x500
jb 0xb224d8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb223e5
cmp eax, 0x7f
ja 0xb224e0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb223e5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb2250e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb223e5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10