joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458d38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004469a9
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x458d70
xor eax, eax
jmp 0x458d9c
cmp esi, dword [ebp - 4]
je 0x458d99
cmp dword [ebp + 0xc], 0
je 0x458d99
push dword [edi + 0x9c]
call fcn.00458946
push dword [edi + 0x9c]
mov esi, eax
call fcn.004451fa
pop ecx
pop ecx
cmp esi, eax
je 0x458d6c
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x45d2db
mov dword [ebp - 0x14], 1
jmp 0x45d2e2
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x45d2fe
push 0x74
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 8
jb 0x45d320
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x45d326
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x45d375
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
ja case.0x45d35b.2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x45d384]
jmp dword [edx*4 + 0x45d37c]
xor al, al
jmp 0x45d377
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x45d3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x45d3bb
mov dword [ebp - 0x10], 1
jmp 0x45d3c2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x45d3e1
push 0x8a
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x45d403
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x45d409
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45d440
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
je 0x45d42d
jmp 0x45d431
xor al, al
jmp 0x45d442
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x45d46b
mov dword [ebp - 0x10], 1
jmp 0x45d472
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x45d491
push 0x9d
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x45d4b3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x45d4b9
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45d4db
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 1
jne 0x45d4ec
mov dword [ebp - 0x18], 1
jmp 0x45d4f3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x45d600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x45d61b
mov dword [ebp - 0x10], 1
jmp 0x45d622
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x45d641
push 0xb5
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x45d663
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x45d669
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45d68b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 0x10
je 0x45d69c
mov dword [ebp - 0x18], 1
jmp 0x45d6a3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x45d81b
mov dword [ebp - 0x10], 1
jmp 0x45d822
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x45d841
push 0xd4
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x45d863
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x45d869
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45d88b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 2
je 0x45d89c
mov dword [ebp - 0x18], 1
jmp 0x45d8a3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x45dd50
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x45dd6b
mov dword [ebp - 0x1c], 1
jmp 0x45dd72
mov dword [ebp - 0x1c], 0
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x45dd91
push 0x121
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 0x1c
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 8
jb 0x45ddb3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x45ddb9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x45dddb
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x45ddee
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x45ddf7
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x45de19
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x45de1f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x45de40
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x45de60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x45de90
mov dword [ebp - 0x20], 1
jmp 0x45de97
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x45deb6
push 0x137
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0040be90
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004626e0
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x45defb
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x45df01
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x45df23
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x45df29
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45df65
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.0045cf60
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x74]
call fcn.0045dd50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0045d100
jmp 0x45df74
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.0045e310
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040be90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45dfa0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b38a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x45dfd0
mov dword [ebp - 0x20], 1
jmp 0x45dfd7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x45dff6
push 0x146
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0040be90
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004626e0
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x45e03b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x45e041
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x45e063
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x45e069
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45e08a
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040be90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e0b0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x45e0cb
mov dword [ebp - 0x18], 1
jmp 0x45e0d2
mov dword [ebp - 0x18], 0
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x45e0f1
push 0x151
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.0045d600
movzx edx, al
test edx, edx
je 0x45e147
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 8
jb 0x45e122
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x45e128
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x45e145
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0045e310
add esp, 4
jmp 0x45e18c
mov edx, dword [ebp - 4]
add edx, 0x1c
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x45e169
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x45e16f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45e18c
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0045e310
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x45e260
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x45e27b
mov dword [ebp - 0x10], 1
jmp 0x45e282
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x45e2a1
push 0x174
push str.c:jenkinsworkspaceclientbuild_sonicunleashedhappycloudservicepoco_1.4.1p1_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00438ad0
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.0045d2c0
movzx edx, al
test edx, edx
je 0x45e2c3
mov ecx, dword [ebp - 4]
call fcn.0045d600
movzx eax, al
test eax, eax
je 0x45e2c3
xor al, al
jmp 0x45e30c
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x45e2e5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x45e2eb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45e30a
mov edx, dword [ebp - 4]
add edx, 4
push edx
call fcn.0045e310
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x467b00
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x47bafa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 0x70]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
je 0x467ba6
push 0
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x467b97
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.cannot_kill_process
lea ecx, [ebp + 0x30]
call fcn.00403fb0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.00432530
push 0x4996b0
lea ecx, [ebp - 0x38]
push ecx
call fcn.0043e6d5
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.004054b0
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x467c98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 5
je 0x467bc3
cmp dword [ebp + 0x60], 0x490
je 0x467c0c
jmp 0x467c4f
push str.cannot_kill_process
lea ecx, [ebp + 0x18]
call fcn.00403fb0
mov dword [ebp - 4], 1
push 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.004333a0
push 0x495c48
lea ecx, [ebp - 0x90]
push ecx
call fcn.0043e6d5
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.004054b0
push str.cannot_kill_process
lea ecx, [ebp + 0x48]
call fcn.00403fb0
mov dword [ebp - 4], 2
push 0
lea edx, [ebp + 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00431f00
push 0x495a48
lea eax, [ebp - 0x64]
push eax
call fcn.0043e6d5
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.004054b0
push str.cannot_kill_process
lea ecx, [ebp]
call fcn.00403fb0
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00432530
push 0x4996b0
lea edx, [ebp - 0xbc]
push edx
call fcn.0043e6d5
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp]
call fcn.004054b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x68
mov esp, ebp
pop ebp
ret
Function at 0x46d9c0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x47c01c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0x7fff
xor ecx, ecx
mov eax, 0x7fff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004397c5
add esp, 4
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x50], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x1c], ecx
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x38], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp + 0x2c], eax
cmp dword [ebp + 0x2c], 0
jbe 0x46db5f
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
push 0
push 0
lea ecx, [ebp + 4]
call fcn.004054b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x40], edx
lea eax, [ebp + 4]
push eax
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.00462c70
add esp, 8
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x28], edx
cmp dword [ebp + 0x18], 0x10
jb 0x46da91
mov eax, dword [ebp]
mov dword [ebp + 0x54], eax
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x54], ecx
jmp 0x46da97
lea edx, [ebp + 4]
mov dword [ebp + 0x54], edx
mov eax, dword [ebp + 0x54]
add eax, dword [ebp + 0x28]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x46dafc
movsx edx, byte [0x48f8ac]
test edx, edx
jne 0x46daba
mov dword [ebp + 0x44], 0
jmp 0x46daeb
mov dword [ebp + 0x58], 0x48f8ac
mov eax, dword [ebp + 0x58]
add eax, 1
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x58]
mov dl, byte [ecx]
mov byte [ebp + 0x5f], dl
add dword [ebp + 0x58], 1
cmp byte [ebp + 0x5f], 0
jne 0x46daca
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x44], ecx
mov edx, dword [ebp + 0x44]
push edx
push 0x48f8ac
lea ecx, [ebp + 4]
call fcn.0040b0e0
mov eax, dword [ebp + 0x68]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x68]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 0x68]
call fcn.004054b0
lea edx, [ebp + 4]
push edx
mov ecx, dword [ebp + 0x68]
call fcn.004051e0
mov eax, dword [ebp + 0x48]
or eax, 1
mov dword [ebp + 0x48], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp + 4]
call fcn.004054b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x3c], ecx
mov edx, dword [ebp + 0x3c]
push edx
call fcn.0043d95c
add esp, 4
mov eax, dword [ebp + 0x68]
jmp 0x46dbb5
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x24]
call fcn.00403fb0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
call fcn.00432530
push 0x4996b0
lea ecx, [ebp - 0x50]
push ecx
call fcn.0043e6d5
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004054b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x50]
mov dword [ebp + 0x34], edx
mov eax, dword [ebp + 0x34]
push eax
call fcn.0043d95c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x60
mov esp, ebp
pop ebp
ret
Function at 0x46de60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406870
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x150]
push ecx
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x150]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x1c], 0x100
jbe 0x46decb
mov dword [ebp - 0x18], 0x100
jmp 0x46ded1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx*2 - 0x150]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jae 0x46dfac
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0040be90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x46df41
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x46df41
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x12], dx
movzx eax, word [ebp - 0x12]
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.0041d9a0
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x46df0b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.004054b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00462a90
add esp, 8
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00428320
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.004054b0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.0040be90
jmp 0x46dede
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret