joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af2b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov ecx, dword [ebp + 8]
call int.00429490
lea eax, [ebp - 0x11c]
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], 0x100
jbe 0x4af306
mov dword [ebp - 0x238], 0x100
jmp 0x4af30f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
lea ecx, [ebp + eax*2 - 0x11c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jae 0x4af407
lea eax, [ebp - 0x18d]
mov dword [ebp - 0x18c], eax
push 0
push 0
lea ecx, [ebp - 0x138]
call fcn.0040a880
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x4af38c
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x4af38c
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x1a8], dx
movzx eax, word [ebp - 0x1a8]
push eax
push 1
lea ecx, [ebp - 0x138]
call fcn.004191f0
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x4af34d
lea edx, [ebp - 0x1b1]
mov dword [ebp - 0x1b0], edx
push 0
push 0
lea ecx, [ebp - 0x154]
call fcn.00402c20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x138]
push ecx
call int.00418cb0
add esp, 8
lea edx, [ebp - 0x154]
push edx
mov ecx, dword [ebp + 8]
call fcn.00423f90
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x154]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x138]
call fcn.0040a880
jmp 0x4af31f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b5d40
push 0x71
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b5d5d
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x4b5d66
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x4b5db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13
ja case.0x4b5d9b.2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x4b5dc4]
jmp dword [edx*4 + 0x4b5dbc]
xor al, al
jmp 0x4b5db7
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4b5de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b5e13
push 0x87
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b5e30
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x4b5e39
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x4b5e70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
je 0x4b5e5d
jmp 0x4b5e61
xor al, al
jmp 0x4b5e72
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b5eb3
push 0x9a
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b5ed0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x4b5ed9
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x4b5efb
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
mov eax, dword [ebp - 4]
and eax, 1
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b6053
push 0xb2
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b6070
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x4b6079
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x4b609b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
mov eax, dword [ebp - 4]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x4b61f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b6223
push 0xd1
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b6240
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x4b6249
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x4b626b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
mov eax, dword [ebp - 4]
and eax, 2
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x4b66d0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b6703
push 0x11e
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x4b6720
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x4b6729
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4b674b
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.004b6c40
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4b675e
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x4b6767
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 8
jb 0x4b6784
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
jmp 0x4b678d
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4b67ae
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call fcn.004b6c40
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4b6a10
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b6a43
push 0x14e
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov ecx, dword [ebp - 0xc]
call fcn.004b6020
movzx eax, al
test eax, eax
je 0x4b6a97
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 8
jb 0x4b6a6f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x4b6a78
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b6a95
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.004b6c40
add esp, 4
jmp 0x4b6ada
mov edx, dword [ebp - 0xc]
add edx, 0x20
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 8
jb 0x4b6ab4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
jmp 0x4b6abd
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b6ada
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.004b6c40
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4b6ba0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x4b6bd3
push 0x171
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00419590
add esp, 0xc
mov ecx, dword [ebp - 8]
call fcn.004b5d10
movzx eax, al
test eax, eax
je 0x4b6bf5
mov ecx, dword [ebp - 8]
call fcn.004b6020
movzx ecx, al
test ecx, ecx
je 0x4b6bf5
xor al, al
jmp 0x4b6c3c
mov edx, dword [ebp - 8]
add edx, 0x20
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 8
jb 0x4b6c12
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
jmp 0x4b6c1b
mov eax, dword [ebp - 4]
add eax, 4
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 0x4b6c3a
mov edx, dword [ebp - 8]
add edx, 4
push edx
call fcn.004b6c40
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4bd390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x68], 0xffffffff
je 0x4bd3b3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x4bd3b8
or eax, 0xffffffff
jmp 0x4bd42c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x4bd3d6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4bd410
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
call fcn.004b8130
add esp, 4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
adc eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x4bd440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x68], 0xffffffff
je 0x4bd463
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
and eax, 2
jne 0x4bd46b
or eax, 0xffffffff
jmp 0x4bd528
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x4bd4d2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 2
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4bd4c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4bd4c3
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
push edx
call fcn.004b8130
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x74], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4bd50c
mov edx, dword [ebp - 0x1c]
add edx, 0x4c
push edx
call fcn.004b8130
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x70]
mov edx, dword [edx + 0x74]
adc edx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4ce430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb839
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x14]
push ecx
push 0
call fcn.004f0883
add esp, 0x18
mov edx, dword [ebp - 0x128]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0xc], 0
jne 0x4ce53d
lea ecx, [ebp - 0xb1]
mov dword [ebp - 0xb0], ecx
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402c20
mov dword [ebp - 0x12c], str.cannot_create_thread
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x12c]
mov cl, byte [eax]
mov byte [ebp - 0x131], cl
add dword [ebp - 0x12c], 1
cmp byte [ebp - 0x131], 0
jne 0x4ce4c3
mov edx, dword [ebp - 0x12c]
sub edx, dword [ebp - 0x130]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
push eax
push str.cannot_create_thread
lea ecx, [ebp - 0x5c]
call fcn.004039e0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414860
push 0x52c3e4
lea edx, [ebp - 0x40]
push edx
call fcn.00491f98
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402c20
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x10], 0
je 0x4ce62c
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x4ce62c
lea edx, [ebp - 0xed]
mov dword [ebp - 0xec], edx
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.00402c20
mov dword [ebp - 0x13c], str.cannot_set_thread_priority
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x13c]
mov dl, byte [ecx]
mov byte [ebp - 0x141], dl
add dword [ebp - 0x13c], 1
cmp byte [ebp - 0x141], 0
jne 0x4ce5a3
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
push str.cannot_set_thread_priority
lea ecx, [ebp - 0xa8]
call fcn.004039e0
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00414860
push 0x52c3e4
lea eax, [ebp - 0x8c]
push eax
call fcn.00491f98
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf420
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
cmp dword [edx], 0xffffffff
jne 0x4cf506
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00402c20
mov dword [ebp - 0xbc], str.cannot_allocate_thread_context_key
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
mov al, byte [edx]
mov byte [ebp - 0xc1], al
add dword [ebp - 0xbc], 1
cmp byte [ebp - 0xc1], 0
jne 0x4cf48c
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x58]
call fcn.004039e0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414860
push 0x52c3e4
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00491f98
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00402c20
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4dfb80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x1c], 0xffffffff
jne 0x4dfba6
mov ecx, dword [ebp - 0xa0]
call fcn.004dfde0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4dfbc9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xa4], edx
jmp 0x4dfbd5
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0xa4], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4dfc21
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call int.004177d0
push 0x51ce38
lea ecx, [ebp - 0x38]
push ecx
call fcn.00491f98
push 0
lea edx, [ebp - 8]
push edx
push 2
push 0x50a348
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4dfc66
push 0
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x68]
call int.004177d0
push 0x51ce38
lea eax, [ebp - 0x68]
push eax
call fcn.00491f98
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4dfca4
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x98]
call int.004177d0
push 0x51ce38
lea ecx, [ebp - 0x98]
push ecx
call fcn.00491f98
mov esp, ebp
pop ebp
ret 4
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a1b0a2c
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a3e12bb
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10dd370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10dd38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x1106074
push ecx
mov edi, eax
call fcn.010f1198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10dd3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.010f102e
push esi
call fcn.010f0fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x10e0850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x10e08ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x110b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10e08ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.010f11e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x10e08ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x110b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10e092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.010f2082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x10e0957
mov word [eax], si
add eax, 2
push eax
call fcn.010f2030
add esp, 4
jmp 0x10e0959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x10e08ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10e08b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x10e0ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret