joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 0x18]
lea esi, [edi + 0x18]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 0
test al, al
jne 0x4279a6
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [esi], al
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.00403270
test eax, eax
je 0x427b18
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push dword [edi + 0x24]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push str.Logger::SetLogFile___s___while_OLD_path_is:_s
push eax
call fcn.00422e30
mov esi, dword [ebp - 0x14]
add esp, 0x10
call fcn.00403270
test eax, eax
je 0x427b18
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
test esi, esi
je 0x427a41
test esi, 0xffff0000
jne 0x427a28
movzx eax, si
lea ecx, [ebp - 0x10]
push eax
call fcn.00404b50
jmp 0x427a4d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427a30
sub ecx, edx
sar ecx, 1
jmp 0x427a43
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00404e30
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427a79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x34], 0
je 0x427abf
mov eax, dword [edi + 0x24]
test eax, eax
je 0x427b18
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x427ab6
test dx, dx
je 0x427ab2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x427ab6
add ecx, 4
add eax, 4
test dx, dx
jne 0x427a90
xor eax, eax
jmp 0x427abb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x427aca
push dword [ebp + 8]
lea ecx, [edi + 0x24]
call fcn.00405ad0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x427ae6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x18]
test al, al
jne 0x427b04
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x18]
xchg byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402f30
int3
Function at 0x428ab0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, eax
cmp eax, 0x208
jae 0x428c65
xor ecx, ecx
lea esi, [ebp - 0x218]
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], cx
je 0x428b28
nop dword [eax + eax]
add esi, 2
cmp word [esi], cx
jne 0x428b20
mov ecx, str.ADVINST_LOGS
mov eax, 0x41
sub ecx, esi
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428b34
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428b7a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452869
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x28]
mov eax, 0x5c
mov word [esi], ax
add esi, 2
cmp dword [ecx - 0xc], 0
jne 0x428bfe
lea ecx, [ebp - 0x21c]
call fcn.00428f70
mov dword [ebp - 4], 0
cmp word [esi], 0
mov ecx, dword [eax]
je 0x428bb9
nop dword [eax + eax]
add esi, 2
cmp word [esi], 0
jne 0x428bb0
movzx eax, word [ecx]
test ax, ax
je 0x428bd2
sub ecx, esi
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428bc3
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428c34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x428c34
cmp word [esi], 0
je 0x428c0d
add esi, 2
cmp word [esi], 0
jne 0x428c04
movzx eax, word [ecx]
test ax, ax
je 0x428c2f
sub ecx, esi
nop word [eax + eax]
mov word [esi], ax
add esi, 2
movzx eax, word [ecx + esi]
test ax, ax
jne 0x428c20
xor eax, eax
mov word [esi], ax
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x428c40
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00404e30
mov al, 1
jmp 0x428b5c
call fcn.00452a03
int3
Function at 0x4362f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x47b9ae
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x214]
lea eax, [ebp]
push eax
push 0
push 0
push 0x25
mov dword [ebp - 0x14], esi
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4363cd
push str.WindowsPowerShell_v1.0powershell.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4363cd
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4363cd
call fcn.00403270
test eax, eax
je 0x436415
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea eax, [ebp]
test eax, 0xffff0000
jne 0x4363a9
movzx eax, ax
mov ecx, esi
push eax
call fcn.00404b50
jmp 0x4363cb
lea ecx, [ebp]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4363b0
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404e30
jmp 0x4363e2
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x436415
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x20c]
pop ebp
ret 4
push 0x80004005
call fcn.00402f30
int3
Function at 0x439ce0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c46d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
or ebx, 0xffffffff
cmp byte [0x4a89dc], 0
je 0x439d8a
call fcn.00403270
test eax, eax
je 0x439ed0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
mov edx, dword [edi]
test edx, edx
je 0x439d5e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439d42
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00404870
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov ecx, 0x4a89a4
push eax
call fcn.00427b30
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439d8a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x4a6ac0], 0
je 0x439eb6
call fcn.00403270
test eax, eax
je 0x439ed0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 6
mov esi, dword [edi]
call fcn.00403270
test eax, eax
je 0x439ed0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test esi, esi
je 0x439e08
test esi, 0xffff0000
jne 0x439df2
movzx eax, si
lea ecx, [ebp - 0x14]
push eax
call fcn.00404b50
jmp 0x439e14
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439df7
sub ecx, edx
sar ecx, 1
jmp 0x439e0a
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00404e30
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
mov byte [ebp - 0xd], 0
test edi, edi
jne 0x439e34
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x18]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov ecx, eax
cmp dword [eax - 0xc], edx
cmove ecx, edx
mov edx, 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.004461f0
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x439e6a
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439e85
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x439ebe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 dword [edi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
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 0x80004005
call fcn.00402f30
int3
Function at 0x43ee70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.004538c0
push 0xffffffffffffffff
push 0x47d55d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp + 0x8000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [esi + 4], 0
mov eax, dword [ebp + 0x800c]
mov dword [ebp - 0x20], eax
jne 0x43eec8
xor al, al
jmp 0x43ef9f
mov ecx, eax
call fcn.0041b5f0
xor ebx, ebx
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0x3fff
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43ef8e
mov edi, dword [ebp - 0x10]
call fcn.00403270
test eax, eax
je 0x43efc4
mov ecx, dword [eax]
push 2
push edi
mov edx, dword [ecx]
mov ecx, eax
call edx
test eax, eax
je 0x43efd8
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
test edi, edi
js 0x43efce
cmp edi, dword [esi - 8]
jg 0x43efce
mov dword [esi - 0xc], edi
xor eax, eax
add edi, edi
mov word [edi + esi], ax
test edi, edi
je 0x43ef56
push edi
lea eax, [ebp]
push eax
push esi
call fcn.004546c0
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0041b690
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ef88
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
inc ebx
test eax, eax
je 0x43eed1
cmp eax, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8000]
xor ecx, ebp
call fcn.00452869
lea esp, [ebp + 0x8004]
pop ebp
ret 8
push 0x80004005
call fcn.00402f30
push 0x80070057
call fcn.00402f30
call fcn.00404d70
int3
Function at 0x43f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d62d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a6024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x10], 0xc8
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00421e10
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [edi]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x43f3ad
nop dword [eax + eax]
add dword [ebp - 0x10], 2
push esi
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00421e10
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [edi]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x43f370
test eax, eax
jne 0x43f3df
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x43f3e6
cmp eax, 2
je 0x43f3e6
cmp eax, 7
je 0x43f3e6
cmp eax, 4
jne 0x43f3df
push dword [esi]
push 0x4907e4
push dword [ebp + 8]
call fcn.00422e30
add esp, 0xc
jmp 0x43f4b6
xor bl, bl
jmp 0x43f4b8
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x10], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
cmp word [esi + eax*2], cx
jne 0x43f40a
nop dword [eax]
dec eax
mov dword [ebp - 0x10], eax
cmp word [esi + eax*2], cx
je 0x43f400
lea edi, [eax + 1]
mov dword [ebp - 0x10], edi
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x43f4ed
test esi, esi
jne 0x43f42b
test edi, edi
jne 0x43f4e3
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
test eax, eax
je 0x43f4f7
add eax, 0x10
mov dword [ebp - 0x18], eax
test edi, edi
js 0x43f4e3
cmp edi, dword [eax - 8]
jg 0x43f4e3
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x18]
add edi, edi
mov word [edi + eax], cx
test edi, edi
je 0x43f49a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43f48a
push edi
test esi, esi
je 0x43f47b
push esi
push eax
call fcn.004546c0
add esp, 0xc
jmp 0x43f49a
push 0
push eax
call fcn.00454440
add esp, 0xc
test esi, esi
jne 0x43f49a
call fcn.00457d9b
mov dword [eax], 0x16
call fcn.00457a2f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 8]
push eax
call fcn.00405ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403440
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x14], 0
mov al, bl
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 0x80070057
call fcn.00402f30
push 0x80004005
call fcn.00402f30
call fcn.00404d70
int3
Function at 0x44e3d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 1
push esi
push edi
push dword [ebp + 8]
lea eax, [ebx - 0x40]
neg ebx
sbb ebx, ebx
and ebx, eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
js 0x44e4cc
mov esi, dword [ebp + 0xc]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x44e42e
push edi
mov ecx, esi
call fcn.00404dc0
mov ecx, dword [esi]
cmp edi, dword [ecx - 8]
jg 0x44e4cc
mov dword [ecx - 0xc], edi
xor edx, edx
mov eax, dword [esi]
mov word [eax + edi*2], dx
test ecx, ecx
je 0x44e493
lea eax, [edi + 1]
push eax
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, eax
mov eax, dword [esi]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x44e467
xor ecx, ecx
jmp 0x44e47d
push dword [eax - 8]
push eax
call fcn.00457f54
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44e4cc
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x44e4cc
mov dword [eax - 0xc], ecx
mov eax, dword [esi]
xor esi, esi
mov word [eax + ecx*2], si
cmp edx, edi
jge 0x44e4bf
push 0xffffffffffffffff
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp + 8]
lea ecx, [ebx + 0x40]
neg ecx
sbb ecx, ecx
and ecx, ebx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x80070057
call fcn.00402f30
int3
Function at 0x1005e40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1005e76
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005e7a
xor eax, eax
jmp 0x1005e90
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x10070a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10070e3
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x10070c0
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10070ff
dec esi
je 0x10070f8
dec esi
jne 0x1007104
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

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 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 0x865bcb
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf08554e4
jmp 0x865bf2
mov dword [esp], esi
mov word [esp + 1], si
mov dword [esp + 4], esi
push dx
lea esp, [esp + 1]
jmp 0x865c0d
lea esp, [esp + 1]
mov dword [esp], edi
pushfd
jmp 0x863fe7

Function at 0x872637
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x8590a2
pushfd
or dword [esp], reloc.MSVCRT.dll_strncpy
popfd
cpuid
nop
jmp 0x8590b9
pop ebx
ret
jmp 0x859096

Function at 0x8f283c
Capabilities:
Encode data using xor

Disassembly:
sahf
or bl, byte [ebp - 0x5c]
cmp ch, bh
lodsd eax, dword [esi]
xchg esp, eax
pushal
sub dword [edi + 0x52], edx
lea edx, reloc.MSVCRT.dll_strncpy
pop esi
pop esi
faddp st(2)
add dword [eax - 0x77], edx
sti
or eax, 0xf0f7c328
push 0xffffffffffffffae
loop 0x8f27f1
aam 0x94
sub dword [eax + 0x26], esp
cmp dword [edx], ebx
inc edx
in al, dx
mov dh, 0x18
sub byte [ebx - 0x1e], cl
sbb eax, 0xe7208dee
inc ecx
adc edi, dword [ecx + 0x77]
ficom word [ecx]
push edx
push edx
fadd dword [edi - 0x3d8acd18]
xor dh, byte [ebp - 0x3e]
sbb eax, 0x798c426e
push eax
pop ebx
in al, 0xa7
dec eax
in al, dx
mov dh, 0xe1
jge 0x8f2796
jl 0x8f27c5
test byte [ebp + 0x7f], 0x46
int1
wait
or al, 0x87
out dx, al
jo 0x8f2767
mov byte [ebx + 0x2d28d1e0], bl
sti
ljmp 0xb67a
ret
mov cl, byte [ebx]
jne 0x8f2756
int1
mov dword [reloc.MSVCRT.dll_strncpy], eax
push esi
xor bh, dh
and al, 0x21
std
adc al, 0xde
push cs
ja 0x8f27cb
imul edi, dword [ecx - reloc.MSVCRT.dll_strncpy], 0xffffffd2
out dx, eax
sbb al, 0xce
pop ecx
mov eax, 0x4bdbf09b
and al, 0x19
jns 0x8f2849
sbb dword [ecx + 0x55], edi
loopne 0x8f2825
cmp ah, byte [ecx - 0x2bbbf326]
push 0x46
aaa
mov byte [eax - 0x45], bl
push edi
int3
salc
mov edi, 0xf55002b3
cmc
mov bl, 0xa0
mov ah, 0xa8
rcr dword [edi + 0x43], 0x23
sti
xlatb
shr bl, 0x74
ror byte [edi - 0x30236d6a], 1
push esi
rol dword [eax + reloc.MSVCRT.dll_strncpy], 0xa8
mov dword [esp], reloc.MSVCRT.dll_strncpy
call fcn.008642d0
mov dword [esp], reloc.MSVCRT.dll_strncpy
push ecx
call fcn.008642d0
inc ebx
cli
aad 0x44
in eax, 0x6d
scasd eax, dword es:[edi]
inc edx
jne 0x8f27dd
or byte [edi + ebx*8 + 0xc], ch
xchg ebp, eax
add bh, ch
mov ah, 0x13
shl byte [edx], 0x57
std
pop edx
stosb byte es:[edi], al
xchg ebx, eax
pop ecx
xor al, 0x9f
rcr byte [ecx - 6], 1
salc
xor dword [edx + 0x60], 0xfffffff7
fisubr word [ecx]
dec eax
movsd dword es:[edi], dword [esi]
salc
mov cl, 0xf5
dec edi
cli
ja 0x8f2820
outsb dx, byte [esi]
stc
outsd dx, dword [esi]
call [edx + 0x1402c769]
stosd dword es:[edi], eax
sbb ecx, dword [edi]
movsd dword es:[edi], dword [esi]
fidivr word [edx + edx + 0x4a]
sub al, byte [edx]
fimul word [esi]
loope 0x8f2842
dec esp
in al, dx
mov dh, 0x67
sub bl, byte [ebx - 0x4d]
dec eax
sbb eax, 0x7a2d1eee
dec edi
xchg esi, eax
outsb dx, byte [esi]
pushfd
int1
hlt
Function at 0x1003c7ff
Capabilities:
Encode data using xor

Disassembly:
test eax, 0xe56165a2
and byte [ecx - 0x62dd958d], dl
mov fs, word [ebx - 0x36]
push ds
mov dword [0x91c7bcff], eax
fild qword [eax + 0x43ac24c0]
add al, 0x39
pushfd
bound ecx, qword [eax + 0x53]
xor dword [edi + 0xe], ecx
pop esi
bound eax, qword [edi - 0x2d]
push eax
fidivr dword [ecx - 0xd]
push ebx
mov dword [0x6c99b9e1], eax
scasd eax, dword es:[edi]
test byte [edi - 0x38], ch
jae 0x1003c89b
inc ebx
sbb dword [eax + ecx*8 + 0x71ed1fc1], ecx
push 0x6b
cmp dword [esi], 0x94dea9f7
ljmp 0xb0a9
mov edi, 0xc839485f
fisub word ds:[edx]
jbe 0x1003c921
movsb byte es:[edi], byte [esi]
pop ecx
cwde
mov al, byte [0x9398f5f1]
neg dword [ebp + edi*2 + 0x69ac71ff]
sti
adc byte [edx + 0x137a984f], al
fistp word [esp + eax*4 + 0x76762b7]
retf
jb 0x1003c955
call 0xfbf1a2ba
retf
add al, 0xb7
invalid
mov bh, 0xc6
pop edi
adc esi, dword [edi + ebx*8]
xchg ecx, eax
xor ah, byte [edi - 0x2b5f667f]
cmp esp, dword [ebp + 0x35e8e0ef]
pop edx
inc edx
cwde
pop ebx
cld
jp 0x1003c954
invalid
pop es
lahf
sar byte [edi + 0x2871a524], cl
mov edx, 0x7e63908f
mov esp, 0xf82fc2a3
fsub dword [eax + 0x51e47db1]
mov byte [eax + 0x13], ch
lahf
ja 0x1003c9af
xchg byte [esi - 0x506e247b], al
invalid
sbb bh, byte [eax + 0x48]
enter 0xffffffffffffa577, 0xffffffffffffffef
push esp
mov esi, 0x2b54ce96
in eax, 0x21
mov ah, 0x57
mov byte [eax - 0x2fd33f2b], dh
adc ecx, dword [ebx - 0x617d1342]
or eax, 0x150f085e
in eax, 0x3a
mov ebx, 0x452e5522
into
mov ah, 0xb
int3

Function at 0x1004f870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051def
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1005ea90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CMemAllocator.0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], vtable.CMemAllocator.1.0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.10004930
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.100513d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret