joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100833e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100c6868]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.1005df20
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.100828a0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1008344a
mov al, byte [edi + ecx]
test al, al
je 0x1008344a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10083431
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x1008346b
inc eax
sub ecx, 1
jne 0x10083460
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x100834c0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x100834b5
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x100834b4
mov bl, byte [edi + ecx]
test bl, bl
je 0x100834b4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x100834a0
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.1005df20
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x100b5a0c
push str.SoftwareComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x1008357a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10083544
test cl, cl
je 0x10083540
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10083544
add eax, 2
add esi, 2
test cl, cl
jne 0x10083524
xor eax, eax
jmp 0x10083549
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008357a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083556
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083583
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x100b5a0c
push str.SoftwareComMaster
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10041044
mov esp, ebp
pop ebp
ret
Function at 0x10085c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092a78
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100c6868]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.100868d0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x10085c97
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10085d15
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.100868d0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10085cdb
mov ecx, eax
call fcn.10006030
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10085d15
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10085d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085e1d
push edx
push ecx
call fcn.10040cc5
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x10085d40
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x100a5aa8
mov word [edi], ax
call fcn.100091b0
jmp 0x10085df6
call fcn.10007010
mov ecx, eax
test ecx, ecx
je 0x10085e22
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10011d00
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10045f20
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10085da7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10085dc2
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.100091b0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10085df6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10006030
mov eax, edi
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.10041044
mov esp, ebp
pop ebp
ret 8
call fcn.100613b9
push 0x80004005
call fcn.1000bf90
int3
Function at 0x10088980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093002
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x100c6868]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x10088ab0
test eax, eax
je 0x10088ab0
test ebx, ebx
je 0x10088ab0
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10088a9f
cmp dword [ebp - 0x818], eax
je 0x10088ab0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1005df20
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10088a9f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10088a81
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100091b0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x10088ab0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041044
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1008a900
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10093260
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100c6868]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x1008aa49
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1008aa49
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008aa49
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1008aa49
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push 0x80000000
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x1008aa35
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1008aa2e
cmp dword [ebp - 0x1c], ebx
jne 0x1008aa2e
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x1008a9cd
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x1008a9c7
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x1008a9d9
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10008c50
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.100236c5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x1008aa2e
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul ebx
inc edx
not ebx
imul eax
imul esi
add esi, 0x43
mov eax, 0xf3
inc esi
or edx, 0x70
bswap esi
not eax
not eax
dec edi
dec edx
inc ebx
not esi
inc eax
not edx
dec edx
not ebx
bswap edi
rcr esi, 0xfa
bswap edi
rcr ebx, 0xb2
mov esi, 0x37
mov edi, 0xdb
sub edx, 0xda
imul ebx
add esi, 0xc6
and ebx, 0xff
sub esi, 0x9c
inc edx
mov edi, 0x63
ror eax, 0xc3
dec eax
and edi, 0x7a
neg edi
bswap eax
ror ebx, 0xab
sbb edi, 0x29
imul ebx
mov edi, 0x49
not esi
neg eax
dec esi
mov edx, 0x77
imul eax
inc edi
not esi
bswap edx
xor ecx, ecx
xor edi, edi
imul edx
rcl esi, 0x4e
sub eax, 0xbc
add ebx, 0xb7
mov eax, 0xdd
neg edi
imul esi
rcr edi, 0x8c
dec esi
mov eax, 0xed
rcr eax, 0xa5
not edi
bswap edi
neg edx
ror eax, 0x3f
add edi, 0x9b
ror edi, 0xa2
imul eax
ror ebx, 0x16
imul edi
inc edx
sub esi, 0xc9
sub esi, 0x4f
rcl esi, 0xf6
dec edx
bswap eax
neg ebx
dec ebx
dec edx
sbb ebx, 0xdc
bswap eax
bswap esi
and esi, 0x43
neg eax
sub edx, 0xdd
add edx, 0xcd
inc ebx
bswap edi
sbb ebx, 0x4c
sbb esi, 0x46
dec ebx
sbb edx, 0xc2
neg edi
rcr ebx, 0xee
inc edi
sbb esi, 0x41
neg ebx
neg edx
or esi, 0x9e
rol eax, 0xba
mov ecx, dword [ebp + 0xc]
neg esi
add edx, 0xc8
inc eax
sbb esi, 0x26
rcl ebx, 0x57
imul ebx
imul ebx
rcr ebx, 0xf2
neg eax
inc eax
inc ebx
or esi, 0x72
and eax, 0x87
bswap edi
neg esi
and edi, 5
sbb eax, 0xc5
neg esi
imul esi
ror eax, 0x5d
neg edx
inc edi
sbb ebx, 0xa
rcl edi, 0x87
mov ebx, 0xc1
not eax
neg esi
or ebx, 0x68
sbb edx, 0xaf
imul edx
or esi, 0x66
sub ebx, 0xfc
not eax
bswap ebx
sbb eax, 0x92
or ebx, 0xb4
bswap edx
not edx
not edx
neg eax
ror eax, 0xf9
sbb ebx, 0xb
not eax
sub ebx, 0xc9
inc edi
neg esi
inc ebx
ror ebx, 0xcb
inc ebx
not edx
mov edi, dword [ebp + 8]
mov esi, ebx
mov esi, eax
xor esi, esi
xor eax, ebx
xor eax, eax
mov ebx, eax
xor esi, esi
mov esi, esi
xor esi, ebx
mov esi, ebx
xor esi, ebx
mov esi, eax
not byte [edi]
xor eax, ebx
xor ebx, esi
xor ebx, ebx
xor ebx, esi
xor eax, ebx
xor eax, ebx
mov ebx, ebx
xor eax, ebx
xor ebx, esi
sub byte [edi], 0x65
xor eax, eax
mov eax, eax
mov ebx, esi
xor eax, esi
xor ebx, eax
xor esi, ebx
xor ebx, esi
mov esi, eax
mov ebx, ebx
add byte [edi], 0x98
mov eax, ebx
xor esi, eax
xor esi, eax
mov ebx, ebx
xor esi, esi
xor ebx, eax
mov ebx, esi
xor ebx, ebx
xor ebx, eax
imul byte [edi]
inc edi
loop 0x4011b6
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a5af0]
jne 0x404c2e
repz ret
jmp fcn.00409125
Function at 0x405593
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.00402ec1
and dword [ebp - 4], 0
cmp dword [0x4a67f4], 0
mov ebx, eax
jne 0x405644
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4056f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4056f5
push eax
call fcn.00402e4f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a67f4], eax
call esi
push eax
call fcn.00402e4f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a67f8], eax
call esi
push eax
call fcn.00402e4f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a67fc], eax
call esi
push eax
call fcn.00402e4f
pop ecx
mov dword [0x4a6804], eax
test eax, eax
je 0x405644
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e4f
pop ecx
mov dword [0x4a6800], eax
mov eax, dword [0x4a6800]
cmp eax, ebx
je 0x40569c
cmp dword [0x4a6804], ebx
je 0x40569c
push eax
call fcn.00402eca
push dword [0x4a6804]
mov esi, eax
call fcn.00402eca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40569c
test edi, edi
je 0x40569c
call esi
test eax, eax
je 0x405693
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405693
test byte [ebp - 0xc], 1
jne 0x40569c
or dword [ebp + 0x10], 0x200000
jmp 0x4056d5
mov eax, dword [0x4a67f8]
cmp eax, ebx
je 0x4056d5
push eax
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056d5
mov eax, dword [0x4a67fc]
cmp eax, ebx
je 0x4056d5
push eax
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a67f4]
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4056f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414de4
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], ecx
push edi
pop eax
add edx, 4
mov edi, eax
add eax, 1
mov eax, 0xd01e07ba
cmp edx, ebx
jne fcn.00414de4
ret

Function at 0x91437c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x914386
pushal
call 0x91438c
pop ebp
sub ebp, 0x10
sub ebp, 0x51437c
jmp 0x9143a2
mov eax, 0x51437c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e9
mov edx, 0x99b9fcd8
xor byte [eax], dl
inc eax
dec ecx
jne 0x9143b9
jmp 0x9143cc
push ebx
adc eax, 0xd8e45153
fcomp st(0)
pop ecx
sbb dword [eax], esp
fcomp st(0)
fcomp st(3)
adc eax, 0xd8d8de60
fsub dword [edx - 0x10]
fcomp st(0)
fsubr dword [edi]
cmp bl, bl
adc byte [ebx + 0x59], dl
aam 0xd8
fcomp st(0)
fistp dword [0xfcbc5588]
and al, 0x51
fdiv st(4), st(0)
mov al, 0x14
jne 0x9143d4
fdiv dword [eax - 0x2765b28b]
fxtract
cld
mov al, 0x10
retf
Function at 0x7ff9a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ff9ae
pushal
call 0x7ff9b4
pop ebp
sub ebp, 0x10
sub ebp, 0x3ff9a4
jmp 0x7ff9ca
mov eax, 0x3ff9a4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e2
mov edx, 0x2c4167ae
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ff9e1
jmp 0x7ff9f4
and eax, 0x92272563
scasb al, byte es:[edi]
scasb al, byte es:[edi]
scasb al, byte es:[edi]
das
outsd dx, dword [esi]
push esi
scasb al, byte es:[edi]
scasb al, byte es:[edi]
scasb al, byte es:[edi]
lodsd eax, dword [esi]
arpl word [esi], dx
test al, 0xae
scasb al, byte es:[edi]
scasb al, byte es:[edi]
adc al, 0x86
scasb al, byte es:[edi]
scasb al, byte es:[edi]
scasb al, byte es:[edi]
pop ecx
dec esp
lodsd eax, dword [esi]
and ax, 0xa22f
scasb al, byte es:[edi]
scasb al, byte es:[edi]
scasb al, byte es:[edi]
lodsd eax, dword [esi]
imul edi, esi, 0x23
retf 0x528a

Function at 0x40d0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40d0e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d0e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d0d8
mov eax, 1
add ebx, ebx
jne 0x40d0fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d0f0
jne 0x40d10c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d0f0
xor ecx, ecx
sub eax, 3
jb 0x40d120
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d192
mov ebp, eax
add ebx, ebx
jne 0x40d12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d138
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d15c
inc ecx
add ebx, ebx
jne 0x40d148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d13d
jne 0x40d159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d13d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d17c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d16d
jmp 0x40d0de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d17c
add edi, ecx
jmp 0x40d0de
pop esi
mov edi, esi
mov ecx, 0x1f7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d19a
cmp byte [edi], 0
jne 0x40d19a
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 eax, ebx
loop 0x40d19f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d20e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d1cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd104]
or eax, eax
je 0x40d208
mov dword [ebx], eax
add ebx, 4
jmp 0x40d1e9
call dword [esi + 0xd108]
popal
jmp 0x404670
Function at 0x1000fa61
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1012a23f
call fcn.1011695c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.1000f7d2
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.1000f7d2
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.1000f642
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.1000f4b2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1000f487
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1000fa6c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1012a23f
call fcn.1011695c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.1000f7d2
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.1000f7d2
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.1000f642
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.1000f4b2
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1000f487
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1000fabd
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1012a23f
call fcn.1011695c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000fa24
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.1000fa24
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.1000fa24
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.1000fa38
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.1000fa38
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100180fc
Capabilities:
Create directory

Disassembly:
mov eax, 0x1012af5c
call fcn.1011695c
sub esp, 0x18c
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push esi
push 0
mov dword [ebp - 0x10], eax
push str.ScreenShot
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str..ScreenShotTantra
lea ecx, [ebp - 0x118]
call fcn.1010f770
and dword [ebp - 4], 0
call fcn.10118d93
lea eax, [ebp - 0x18]
push eax
call fcn.10118775
lea eax, [ebp - 0x18]
push eax
call fcn.10118575
push eax
push str.__Y_m_d__H__M__S_
lea eax, [ebp - 0x198]
push 0x80
push eax
call fcn.1011855a
add esp, 0x18
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x118]
call fcn.1010f8c0
push 0x1013895c
lea ecx, [ebp - 0x118]
call fcn.1010f8c0
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x118]
push edx
call dword [eax + 0x30]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
mov esi, eax
call fcn.1010f440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
call fcn.10115a7a
leave
ret