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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d551
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x493014]
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.00403bb0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x418e0d
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x418e24
mov eax, edx
cmp word [eax], 0x25
je 0x418e58
add eax, 2
sub ecx, 1
jne 0x418e16
push edi
mov ecx, esi
call fcn.00403ac0
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.00434f3f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x418e24
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x418e24
push edi
lea ecx, [ebp - 0x28]
call fcn.00403ac0
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x418eab
push edi
mov ecx, esi
call fcn.00403ac0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004039b0
jmp 0x418e3a
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435935
mov edx, dword [ebp - 0x2c]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x418eff
cmp eax, dword [ebp - 0x2c]
ja 0x418eff
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.00403fd0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push ebx
call fcn.00403ce0
push ebx
call fcn.00435735
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00403bb0
push eax
call fcn.00404030
add esp, 4
mov ecx, esi
push eax
call fcn.00404040
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00404030
add esp, 4
mov ecx, esi
push eax
call fcn.00403ed0
jmp 0x418e96
Function at 0x41ec80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x493014]
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 0x41ecb7
xor al, al
jmp 0x41ed1a
and esi, 0xffffb1af
push esi
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41ecd2
mov al, 1
jmp 0x41ed1a
lea ecx, [ebp - 0x28]
call fcn.00403aa0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0041f010
test al, al
je 0x41ed07
push esi
lea ecx, [ebp - 0x28]
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41ed07
mov bl, 1
jmp 0x41ed09
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039b0
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.00434f3f
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x493014]
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.00403970
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41edbe
lea ecx, [ebp - 0x28]
call fcn.00403aa0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.0041f010
test al, al
je 0x41edad
lea ecx, [ebp - 0x28]
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039b0
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.00434f3f
mov esp, ebp
pop ebp
ret
Function at 0x41ede0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e200
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x493014]
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.00403970
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x41ee26
mov al, 1
jmp 0x41ef1b
mov ecx, esi
call fcn.00403970
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041ed40
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039b0
cmp ebx, 0xffffffff
jne 0x41ee65
xor al, al
jmp 0x41ef1b
mov ecx, esi
call fcn.00403970
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a50
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.0041ec80
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039b0
test bl, bl
je 0x41ee5e
mov ecx, esi
call fcn.00403970
push eax
call edi
test eax, eax
jne 0x41ee1f
lea ecx, [ebp - 0x28]
call fcn.00403aa0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041f010
test al, al
je 0x41eedd
lea ecx, [ebp - 0x28]
call fcn.00403970
push eax
call edi
test eax, eax
je 0x41eedd
mov bl, 1
jmp 0x41ef0a
mov ecx, esi
call fcn.00403970
push eax
lea ecx, [ebp - 0x44]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x2c]
call fcn.0041ec80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004039b0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004039b0
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.00434f3f
mov esp, ebp
pop ebp
ret

Function at 0x41ef60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x493014]
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.0044bf20
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.00403970
push eax
mov ecx, edi
call fcn.00403970
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41eff5
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.00403fd0
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00403ce0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00434f3f
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434f3f
add esp, 0x210
ret
Function at 0x41f0d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x493014]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.00434f50
mov dword [esi], eax
push pe_nt_image_headers32
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.0044bf20
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 0x41f12c
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.00434f3f
add esp, 0x120
ret
Function at 0x421790
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x46e620
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x493014]
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 0x421857
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 0x42187c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435935
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 0x421843
cmp eax, ebx
ja 0x421843
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x4218a0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x421857
push edi
call fcn.00435735
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.00434f3f
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x421913
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x421913
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x4218f8
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x4218ed
cmp ecx, edi
je 0x4218ed
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403a50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00409830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004039b0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x4218b3
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42190c
push esi
call fcn.00435735
add esp, 4
mov al, 1
jmp 0x421859
call fcn.0043585b
int3
Function at 0x423250
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x493014]
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 0x4232d2
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 0x4232d2
test ecx, ecx
je 0x4232ce
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x423290
xor eax, eax
jmp 0x4232d7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4232e1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00434f3f
add esp, 0xc
ret 0xc

Function at 0x423af0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x493014]
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 0x423b55
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 0x423b30
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x423b55
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.00434f3f
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00434f3f
add esp, 8
ret 4

Function at 0x42efe7
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.0044bf20
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 0x42f036
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x42f04d
cmp ebx, 0x3e5
je 0x42f04d
push 0xa
mov ecx, edi
call fcn.0042f28b
jmp 0x42f057
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432340
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x493014]
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 0x432385
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x432397
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.00434f3f
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x14], esi
jne 0x4323c8
push dword [ebp - 0x18]
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x4323c5
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 0x4323a0
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00434f3f
mov esp, ebp
pop ebp
ret
Function at 0x432430
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x47036a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x493014]
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 0x432475
call fcn.00432680
cmp byte [0x49739c], 0
jne 0x432488
mov eax, 0x80000001
jmp 0x432651
mov eax, dword [esi]
test eax, eax
jne 0x4324f3
push 8
call fcn.00434f50
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
push 1
call fcn.00434f50
mov dword [edi + 4], eax
push pe_nt_image_headers32
push 0
mov byte [eax], 0
lea eax, [ebp + 8]
push eax
call fcn.0044bf20
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 0x4324e2
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 0x432640
call fcn.0041fc30
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x4325e6
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 0x481620
mov dword [ebp - 0x14], eax
call fcn.00403a50
mov dword [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
call fcn.00421920
mov ecx, eax
call fcn.004219e0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004039b0
test edi, edi
je 0x432640
push str.OpenProcessToken
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x432640
push dword [ebp - 0x18]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x432640
lea eax, [ebp]
mov dword [ebp], 0
push eax
push 0x20008
push edi
call ebx
test eax, eax
je 0x4325b3
push dword [ebp]
mov ecx, dword [ebp - 0x14]
call fcn.0041fdc0
mov bl, al
jmp 0x4325b6
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 0x4325c9
push ecx
call edi
test bl, bl
je 0x432640
mov ecx, dword [esi]
add ecx, 4
call fcn.0041f750
call fcn.0041fc30
test al, al
je 0x432640
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x481620
lea ecx, [ebp - 0x30]
call fcn.00403a50
mov dword [ebp - 4], 3
lea eax, [ebp - 0x30]
push eax
call fcn.00421920
mov ecx, eax
call fcn.004219e0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004039b0
test edi, edi
je 0x432640
push str.RegOpenCurrentUser
push edi
call ebx
test eax, eax
je 0x432640
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x432640
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x43264f
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.00434f3f
lea esp, [ebp + 0x124]
pop ebp
ret 4
Function at 0x432840
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x640]
sub esp, 0x640
push 0xffffffffffffffff
push 0x470420
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x493014]
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.00403aa0
mov dword [ebp - 4], 0
mov eax, dword [0x497488]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], 0x497488
test eax, eax
je 0x4328b5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ecx, 0x497464
call fcn.00403bb0
mov edx, eax
mov esi, dword [edx + 0x10]
test esi, esi
je 0x4328f0
mov ecx, 0x497464
call fcn.00403bb0
lea ecx, [ebp]
cmp ecx, eax
je 0x4329a5
cmp dword [edx + 0x14], 8
jb 0x4328e9
mov edx, dword [edx]
push esi
push edx
jmp 0x43299d
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.0044bf20
add esp, 0xc
lea eax, [ebp + 0x430]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x432a44
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x1c]
push eax
call fcn.0044bf20
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 0x432986
test eax, eax
je 0x432986
add eax, eax
cmp eax, 0x412
jae 0x432a97
xor ecx, ecx
mov word [ebp + eax + 0x1c], cx
lea eax, [ebp + 0x1c]
push eax
call fcn.00403fd0
add esp, 4
push eax
lea eax, [ebp + 0x1c]
jmp 0x43299c
lea eax, [ebp + 0x430]
push eax
call fcn.00403fd0
add esp, 4
push eax
lea eax, [ebp + 0x430]
push eax
lea ecx, [ebp]
call fcn.00403ce0
mov byte [ebp - 4], 0
mov eax, dword [0x497488]
test eax, eax
je 0x4329b9
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.004327d0
test al, al
je 0x4329db
mov bl, 1
jmp 0x432a61
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.0044bf20
add esp, 0xc
lea eax, [ebp + 0x430]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x432a5f
xor eax, eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x430]
push eax
call fcn.00403fd0
add esp, 4
lea ecx, [ebp]
push eax
lea eax, [ebp + 0x430]
push eax
call fcn.00403ce0
push esi
push ebx
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.004327d0
mov bl, al
jmp 0x432a61
mov byte [ebp - 4], 0
mov eax, dword [0x497488]
test eax, eax
je 0x432a58
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.004039b0
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.00434f3f
lea esp, [ebp + 0x640]
pop ebp
ret 8
call fcn.0043585b
int3
Function at 0x437975
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 0x4f7360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa1000]
push edi
or ebp, 0xffffffff
jmp 0x4f7382
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f7389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f7378
mov eax, 1
add ebx, ebx
jne 0x4f739b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f73ac
jne 0x4f73cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73cb
dec eax
add ebx, ebx
jne 0x4f73b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f7390
add ebx, ebx
jne 0x4f73c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f741d
xor ecx, ecx
sub eax, 3
jb 0x4f73e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f7452
sar eax, 1
mov ebp, eax
jmp 0x4f73ee
add ebx, ebx
jne 0x4f73ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73bc
inc ecx
add ebx, ebx
jne 0x4f73fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f73bc
add ebx, ebx
jne 0x4f7409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f73fe
jne 0x4f741a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f73fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f743c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f742e
jmp 0x4f737e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f743c
add edi, ecx
jmp 0x4f737e
pop esi
mov edi, esi
mov ecx, 0x7ae4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f745a
cmp byte [edi], 0x1e
jne 0x4f745a
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 0x4f745f
lea edi, [esi + 0xf4000]
mov eax, dword [edi]
or eax, eax
je 0x4f74d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfea1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfeb34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f748c
mov ecx, edi
jns 0x4f74bb
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 + 0xfeb38]
or eax, eax
je 0x4f74d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4f74a9
call dword [esi + 0xfeb40]
mov ebp, dword [esi + 0xfeb3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4f750b
sub esp, 0xffffff80
jmp 0x486da9