joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a340
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f671
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x495014]
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, edx
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], esi
mov ecx, edi
mov dword [ebp - 0x30], 0
call fcn.00403bd0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x41a38d
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41a3a4
mov eax, edx
cmp word [eax], 0x25
je 0x41a3d8
add eax, 2
sub ecx, 1
jne 0x41a396
push edi
mov ecx, esi
call fcn.00403ae0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, esi
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.00436e3f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41a3a4
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x41a3a4
push edi
lea ecx, [ebp - 0x28]
call fcn.00403ae0
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x41a42b
push edi
mov ecx, esi
call fcn.00403ae0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004039d0
jmp 0x41a3ba
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437835
mov edx, dword [ebp - 0x2c]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41a47f
cmp eax, dword [ebp - 0x2c]
ja 0x41a47f
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push ebx
call fcn.00403d00
push ebx
call fcn.00437635
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00403bd0
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00404060
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00403ef0
jmp 0x41a416
Function at 0x4207b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x495014]
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, edx
mov ebx, ecx
cmp esi, 0xffffffff
jne 0x4207e7
xor al, al
jmp 0x42084a
and esi, 0xffffb1af
push esi
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x420802
mov al, 1
jmp 0x42084a
lea ecx, [ebp - 0x28]
call fcn.00403ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00420b40
test al, al
je 0x420837
push esi
lea ecx, [ebp - 0x28]
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x420837
mov bl, 1
jmp 0x420839
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039d0
mov al, bl
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.00436e3f
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4208ee
lea ecx, [ebp - 0x28]
call fcn.00403ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00420b40
test al, al
je 0x4208dd
lea ecx, [ebp - 0x28]
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039d0
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.00436e3f
mov esp, ebp
pop ebp
ret
Function at 0x420910
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470390
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x495014]
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 esi, ecx
call fcn.00403990
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x420956
mov al, 1
jmp 0x420a4b
mov ecx, esi
call fcn.00403990
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00420870
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039d0
cmp ebx, 0xffffffff
jne 0x420995
xor al, al
jmp 0x420a4b
mov ecx, esi
call fcn.00403990
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a70
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.004207b0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039d0
test bl, bl
je 0x42098e
mov ecx, esi
call fcn.00403990
push eax
call edi
test eax, eax
jne 0x42094f
lea ecx, [ebp - 0x28]
call fcn.00403ac0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00420b40
test al, al
je 0x420a0d
lea ecx, [ebp - 0x28]
call fcn.00403990
push eax
call edi
test eax, eax
je 0x420a0d
mov bl, 1
jmp 0x420a3a
mov ecx, esi
call fcn.00403990
push eax
lea ecx, [ebp - 0x44]
call fcn.00403a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.004207b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004039d0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039d0
mov al, bl
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.00436e3f
mov esp, ebp
pop ebp
ret

Function at 0x420a90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x495014]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.0044de20
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00403990
push eax
mov ecx, edi
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x420b25
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.00403ff0
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00403d00
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00436e3f
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436e3f
add esp, 0x210
ret
Function at 0x420c00
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x495014]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.00436e50
mov dword [esi], eax
push pe_nt_image_headers32
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.0044de20
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x420c5c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.00436e3f
add esp, 0x120
ret
Function at 0x4236a0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x470820
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x423767
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x42378c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437835
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x423753
cmp eax, ebx
ja 0x423753
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x4237b0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x423767
push edi
call fcn.00437635
add esp, 4
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 + 0x804]
xor ecx, ebp
call fcn.00436e3f
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x423823
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x423823
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x423808
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x4237fd
cmp ecx, edi
je 0x4237fd
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403a70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0040a210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004039d0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x4237c3
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42381c
push esi
call fcn.00437635
add esp, 4
mov al, 1
jmp 0x423769
call fcn.0043775b
int3
Function at 0x425160
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x495014]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x4251e2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x4251e2
test ecx, ecx
je 0x4251de
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x4251a0
xor eax, eax
jmp 0x4251e7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4251f1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00436e3f
add esp, 0xc
ret 0xc

Function at 0x425a00
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x495014]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x425a65
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425a40
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x425a65
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00436e3f
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00436e3f
add esp, 8
ret 4

Function at 0x430ee7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x34
push ebx
mov dword [ebp - 8], ebx
lea esi, [edi + 0xa0]
push esi
call fcn.0044de20
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x34
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x430f36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x430f4d
cmp ebx, 0x3e5
je 0x430f4d
push 0xa
mov ecx, edi
call fcn.0043118b
jmp 0x430f57
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434240
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
push 4
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x434285
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x434297
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436e3f
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x14], esi
jne 0x4342c8
push dword [ebp - 0x18]
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x4342c5
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
call ebx
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4342a0
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00436e3f
mov esp, ebp
pop ebp
ret
Function at 0x434330
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x47256a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x434375
call fcn.00434580
cmp byte [0x4993ac], 0
jne 0x434388
mov eax, 0x80000001
jmp 0x434551
mov eax, dword [esi]
test eax, eax
jne 0x4343f3
push 8
call fcn.00436e50
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
push 1
call fcn.00436e50
mov dword [edi + 4], eax
push pe_nt_image_headers32
push 0
mov byte [eax], 0
lea eax, [ebp + 8]
push eax
call fcn.0044de20
add esp, 0x14
mov dword [ebp + 4], 0x11c
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4343e2
cmp dword [ebp + 8], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x434540
call fcn.00421760
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x4344e6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
add eax, 4
mov byte [ebp - 0xd], 0
push 0x483b98
mov dword [ebp - 0x14], eax
call fcn.00403a70
mov dword [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
call fcn.00423830
mov ecx, eax
call fcn.004238f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004039d0
test edi, edi
je 0x434540
push str.OpenProcessToken
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x434540
push dword [ebp - 0x18]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434540
lea eax, [ebp]
mov dword [ebp], 0
push eax
push 0x20008
push edi
call ebx
test eax, eax
je 0x4344b3
push dword [ebp]
mov ecx, dword [ebp - 0x14]
call fcn.00421cd0
mov bl, al
jmp 0x4344b6
mov bl, byte [ebp - 0xd]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ecx, dword [ebp]
test ecx, ecx
je 0x4344c9
push ecx
call edi
test bl, bl
je 0x434540
mov ecx, dword [esi]
add ecx, 4
call fcn.00421280
call fcn.00421760
test al, al
je 0x434540
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x483b98
lea ecx, [ebp - 0x30]
call fcn.00403a70
mov dword [ebp - 4], 3
lea eax, [ebp - 0x30]
push eax
call fcn.00423830
mov ecx, eax
call fcn.004238f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004039d0
test edi, edi
je 0x434540
push str.RegOpenCurrentUser
push edi
call ebx
test eax, eax
je 0x434540
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x434540
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x43454f
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.00436e3f
lea esp, [ebp + 0x124]
pop ebp
ret 4
Function at 0x434740
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x640]
sub esp, 0x640
push 0xffffffffffffffff
push 0x472620
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp + 0x63c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x64c]
lea ecx, [ebp]
mov ebx, dword [ebp + 0x648]
mov dword [ebp - 0x10], eax
call fcn.00403ac0
mov dword [ebp - 4], 0
mov eax, dword [0x49949c]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], 0x49949c
test eax, eax
je 0x4347b5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x499478
call fcn.00403bd0
mov edx, eax
mov esi, dword [edx + 0x10]
test esi, esi
je 0x4347f0
mov ecx, 0x499478
call fcn.00403bd0
lea ecx, [ebp]
cmp ecx, eax
je 0x4348a5
cmp dword [edx + 0x14], 8
jb 0x4347e9
mov edx, dword [edx]
push esi
push edx
jmp 0x43489d
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp + 0x430]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x434944
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x1c]
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp + 0x1c]
push 0x208
push eax
lea eax, [ebp + 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x434886
test eax, eax
je 0x434886
add eax, eax
cmp eax, 0x412
jae 0x434997
xor ecx, ecx
mov word [ebp + eax + 0x1c], cx
lea eax, [ebp + 0x1c]
push eax
call fcn.00403ff0
add esp, 4
push eax
lea eax, [ebp + 0x1c]
jmp 0x43489c
lea eax, [ebp + 0x430]
push eax
call fcn.00403ff0
add esp, 4
push eax
lea eax, [ebp + 0x430]
push eax
lea ecx, [ebp]
call fcn.00403d00
mov byte [ebp - 4], 0
mov eax, dword [0x49949c]
test eax, eax
je 0x4348b9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push esi
push ebx
push eax
mov ecx, edi
mov dword [ebp + 0x18], 0
call fcn.004346d0
test al, al
je 0x4348db
mov bl, 1
jmp 0x434961
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp + 0x430]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x43495f
xor eax, eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x430]
push eax
call fcn.00403ff0
add esp, 4
lea ecx, [ebp]
push eax
lea eax, [ebp + 0x430]
push eax
call fcn.00403d00
push esi
push ebx
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.004346d0
mov bl, al
jmp 0x434961
mov byte [ebp - 4], 0
mov eax, dword [0x49949c]
test eax, eax
je 0x434958
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x18], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004039d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x63c]
xor ecx, ebp
call fcn.00436e3f
lea esp, [ebp + 0x640]
pop ebp
ret 8
call fcn.0043775b
int3
Function at 0x439875
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40480e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x40480e
lcall 0x5de5, 0x8b10c483
jmp loc.007737cc
Function at 0x9115b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x346000]
push edi
or ebp, 0xffffffff
jmp 0x9115d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9115d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9115c8
mov eax, 1
add ebx, ebx
jne 0x9115eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9115fc
jne 0x91161b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91161b
dec eax
add ebx, ebx
jne 0x911608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9115e0
add ebx, ebx
jne 0x911617
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x91166d
xor ecx, ecx
sub eax, 3
jb 0x911633
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9116a2
sar eax, 1
mov ebp, eax
jmp 0x91163e
add ebx, ebx
jne 0x91163e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91160c
inc ecx
add ebx, ebx
jne 0x91164c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91160c
add ebx, ebx
jne 0x911659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91164e
jne 0x91166a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91164e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91168c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91167e
jmp 0x9115ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91168c
add edi, ecx
jmp 0x9115ce
pop esi
mov edi, esi
mov ecx, 0x6d79
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9116aa
cmp byte [edi], 0x3d
jne 0x9116aa
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 0x9116af
lea edi, [esi + 0x50e000]
mov eax, dword [edi]
or eax, eax
je 0x911727
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x515eb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x515fd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9116dc
mov ecx, edi
jns 0x91170b
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 + 0x515fdc]
or eax, eax
je 0x911721
mov dword [ebx], eax
add ebx, 4
jmp 0x9116f9
call dword [esi + 0x515fd8]
mov ebp, dword [esi + 0x515fe0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x91175b
sub esp, 0xffffff80
jmp 0x4ecb14