joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db040
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x4db069
mov eax, edi
jmp 0x4db073
push eax
push edi
call fcn.00491fa0
add esp, 8
test eax, eax
jne 0x4db07b
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x4db099
mov eax, dword [ebp]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x4db083
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x4db0b2
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x4db0a0
mov dword [edi + 4], eax
pop esi
test eax, eax
jle 0x4db0d3
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x4db0d0
dec eax
test eax, eax
jg 0x4db0c2
mov dword [edi + 4], eax
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x51d1b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597659
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x612678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x612124
mov dword [ebp - 4], 0
call fcn.004235f0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x34]
cmp eax, 9
jne 0x51d21d
push 3
push 0x5d726c
jmp 0x51d236
cmp eax, 6
jne 0x51d22b
push 0xd
push str.Intel_Itanium
jmp 0x51d236
test eax, eax
jne 0x51d23d
push 3
push 0x5d7280
mov ecx, esi
call fcn.004243e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51d690
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5977d7
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x612678]
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
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x51d6e7
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
mov eax, ecx
jmp 0x51d86b
sub esp, 0x68
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c8], esp
push str.Amazon::SystemInfo::getMBytesRAM
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [ebp - 0x1cc], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 2
call edi
add esp, 8
mov dword [esi], eax
push 0x349
push ecx
mov dword [ebp - 0x1d0], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 3
call edi
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push 4
push eax
call fcn.0051d650
sub esp, 0xc
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1d4], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push ecx
mov dword [ebp - 0x1d8], esp
mov esi, esp
push 0xffffffffffffffff
push str.error
mov byte [ebp - 4], 6
call edi
mov dword [esi], eax
sub esp, 8
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x1dc], esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_unsigned_int_]
push ecx
mov dword [ebp - 0x1e0], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 8
call edi
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x1e4], esp
mov esi, esp
push 0xffffffffffffffff
push str.getRamSizeFailed
call edi
add esp, 8
mov dword [esi], eax
mov byte [ebp - 4], 0xa
push 0
lea ecx, [ebp - 0xb8]
call fcn.005130e0
mov byte [ebp - 4], 0xb
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00515040
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00515040
push eax
mov ecx, ebx
call fcn.00429600
lea ecx, [ebp - 0x1c0]
call fcn.00429560
lea ecx, [ebp - 0x1c0]
call fcn.00516570
lea ecx, [ebp - 0xb8]
call fcn.005133a0
lea ecx, [ebp - 0x1c4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
or eax, 0xffffffff
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.00556510
mov esp, ebp
pop ebp
ret
Function at 0x51e980
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x612678]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x20c], 0x101
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00556510
mov esp, ebp
pop ebp
ret
Function at 0x51e9e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597c47
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x612678]
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
push 0x105
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x59c], 0xd3fcab12
push eax
push 0
push 0
lea eax, [ebp - 0x59c]
push eax
push 0x105
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x51ebd3
sub esp, 0x68
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x5a4], esp
push str.Amazon::SystemInfo::getVolumeId
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [ebp - 0x5a8], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0
call edi
add esp, 8
mov dword [esi], eax
push 0x35d
push ecx
mov dword [ebp - 0x5ac], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 1
call edi
add esp, 8
mov dword [esi], eax
lea eax, [ebp - 0x5a0]
mov byte [ebp - 4], 2
push 4
push eax
call fcn.0051d650
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x5b0], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push ecx
mov dword [ebp - 0x5b4], esp
mov esi, esp
push 0xffffffffffffffff
push str.error
mov byte [ebp - 4], 4
call edi
mov dword [esi], eax
sub esp, 8
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x5b8], esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_unsigned_int_]
push ecx
mov dword [ebp - 0x5bc], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 6
call edi
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x5c0], esp
mov esi, esp
push 0xffffffffffffffff
push str.getVolumeInformationFailed
call edi
add esp, 8
mov dword [esi], eax
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x490]
call fcn.005130e0
mov byte [ebp - 4], 9
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00515040
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00515040
push eax
mov ecx, ebx
call fcn.00429600
lea ecx, [ebp - 0x598]
call fcn.00429560
lea ecx, [ebp - 0x598]
call fcn.00516570
lea ecx, [ebp - 0x490]
call fcn.005133a0
lea ecx, [ebp - 0x5a0]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, 0xd3fcab12
jmp 0x51ebd9
mov eax, dword [ebp - 0x59c]
xor edx, edx
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.00556510
mov esp, ebp
pop ebp
ret
Function at 0x540a00
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
sub edi, ecx
xor esi, esi
cmp ecx, dword [esp + 0x14]
cmova edi, ebx
test edi, edi
je 0x540a48
nop
movsx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, eax, 0xcc9e2d51
inc edx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
cmp edx, edi
jne 0x540a20
mov eax, 0x4e25
mov ecx, esi
mul esi
pop edi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffd8ee
sub esi, ecx
lea eax, [esi + 0x2710]
pop esi
pop ebx
ret
Function at 0x549cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ac68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x612678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
lea esi, [edi + 0x70]
mov dword [ebp - 0x1c], esi
lea ebx, [edi + 0x6c]
mov dword [ebp - 0x1c], ebx
call fcn.00553130
mov dword [ebx], eax
add eax, 0xffc
mov dword [esi], eax
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x74], 0x400
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
or dword [edi + 0x30], 0x8000
test dword [edi + 0x30], 0x40000
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
jne 0x549d40
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x549d40
mov edx, dword [edx + 0x24]
jmp 0x549d45
mov edx, 1
push dword [edi + 0x10]
mov ecx, dword [edi + 8]
push dword [edi + 0x1c]
call fcn.00550eb0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x24]
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x549d7a
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x24]
push eax
add ecx, 0x1c
call fcn.0046de90
mov byte [ebp - 4], 2
test esi, esi
je 0x549dbd
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x549dbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x549dbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test dword [edi + 0x30], 0x20000
mov byte [ebp - 4], 1
je 0x549dd4
push dword [edi + 8]
mov ecx, dword [edi]
call fcn.00542fb0
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x549de2
mov ecx, dword [ecx + 0x14]
jmp 0x549de4
xor ecx, ecx
mov edx, dword [edi + 0x30]
call fcn.00553230
mov ecx, edi
call fcn.0054a260
test al, al
jne 0x549e1f
mov ecx, dword [ebx]
mov dword [ebp - 4], 3
call fcn.00553190
mov dword [ebx], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
push 0
call fcn.00436b70
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
jne 0x549e44
mov ecx, dword [edi]
push 0
call fcn.00436b70
mov byte [ebp - 0x11], 1
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
je 0x549e48
mov byte [ebp - 0x11], 0
mov ecx, dword [ebx]
mov dword [ebp - 4], 4
call fcn.00553190
mov al, byte [ebp - 0x11]
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5532b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
mov eax, dword [0x612678]
xor eax, esp
mov dword [esp + 0xf0], eax
mov dword [esp], 0x59e1fc
mov dword [esp + 4], str._______
mov dword [esp + 8], 0x5c3d88
mov dword [esp + 0xc], 0x5dccf0
mov dword [esp + 0x10], 0x5dccf4
mov dword [esp + 0x14], 0x59eb4c
mov dword [esp + 0x18], 0x59f65c
mov dword [esp + 0x1c], 0x5a0c70
mov dword [esp + 0x20], 0x5dccf8
mov dword [esp + 0x24], 0x5dccfc
mov dword [esp + 0x28], 0x5dcd00
mov dword [esp + 0x2c], 0x5dcd04
mov dword [esp + 0x30], 0x5c2924
mov dword [esp + 0x34], 0x5c2934
mov dword [esp + 0x38], 0x5a0ba8
mov dword [esp + 0x3c], 0x5dcd08
mov dword [esp + 0x40], 0x5dcd0c
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x5b8244
mov dword [esp + 0x4c], 0x5dc958
mov dword [esp + 0x50], 0x5dcd10
mov dword [esp + 0x54], 0x5d6150
mov dword [esp + 0x58], 0x59e1fc
mov dword [esp + 0x5c], 0x59e1fc
mov dword [esp + 0x60], 0x5dcd14
mov dword [esp + 0x64], 0x5dcd18
mov dword [esp + 0x68], 0x5ba8a4
mov dword [esp + 0x6c], 0x5bac44
mov dword [esp + 0x70], 0x5b8240
mov dword [esp + 0x74], 0x5dc95c
mov dword [esp + 0x78], str.nedpq
mov dword [esp + 0x7c], 0x5b8820
mov dword [esp + 0x80], 0x5bad30
mov dword [esp + 0x84], 0x5dc960
mov dword [esp + 0x88], 0x5dc964
mov dword [esp + 0x8c], 0x5dc968
mov dword [esp + 0x90], 0x5a0bac
mov dword [esp + 0x94], 0x5c2960
mov dword [esp + 0x98], 0x5b8534
mov dword [esp + 0x9c], 0x59e1fc
mov dword [esp + 0xa0], 0x59e1fc
mov dword [esp + 0xa4], 0x59e1fc
mov dword [esp + 0xa8], 0x59e1fc
mov dword [esp + 0xac], 0x59e1fc
mov dword [esp + 0xb0], 0x59e1fc
mov dword [esp + 0xb4], 0x59e1fc
mov dword [esp + 0xb8], 0x59e1fc
mov dword [esp + 0xbc], 0x5dc96c
mov dword [esp + 0xc0], 0x5dc970
mov dword [esp + 0xc4], 0x5dc974
mov dword [esp + 0xc8], 0x5b2764
mov dword [esp + 0xcc], 0x5a0c4c
mov dword [esp + 0xd0], 0x5dc978
mov dword [esp + 0xd4], 0x5dcd1c
mov dword [esp + 0xd8], 0x5b853c
mov dword [esp + 0xdc], 0x5dc97c
mov dword [esp + 0xe0], 0x5c35f0
mov dword [esp + 0xe4], 0x5dcd20
mov dword [esp + 0xe8], 0x5dc980
mov dword [esp + 0xec], 0x5dc984
cmp cl, 0x3c
jb 0x553516
mov eax, 0x59e1fc
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00556510
add esp, 0xf4
ret
movzx eax, cl
mov ecx, dword [esp + 0xf0]
xor ecx, esp
mov eax, dword [esp + eax*4]
call fcn.00556510
add esp, 0xf4
ret
Function at 0x555b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b578
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x612678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x612668]
cmp eax, 0xffffffff
jne 0x555b46
xor ebx, ebx
jmp 0x555b4f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x555b8f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x555bce
test esi, esi
jne 0x555bd2
push 0x554690
push 0x61f7a0
call fcn.004714c0
mov eax, dword [0x612668]
add esp, 8
cmp eax, 0xffffffff
je 0x555b8f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x555bbc
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x555bbc
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x555c14
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x555bfd
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x555bd2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x555b60
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x555c39
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x555c39
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.005548d0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x555c20
jmp 0x555b60

Function at 0x555c60
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x555cc0
push 0
push 0
call fcn.0056a4b4
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x555c89
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x555ca7
cmp eax, 0xffffffff
je 0x555ca7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x559fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bb80
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x612678]
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 eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x29c], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004284a0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test edi, edi
je 0x55a079
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + edi*2 - 2], 0x5c
je 0x55a072
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + edi*2 - 2], 0x2f
je 0x55a072
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + edi*2 - 2], 0x3a
jne 0x55a079
mov edx, 0x5dd4f4
jmp 0x55a07e
mov edx, 0x5dd4ec
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a083
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004679a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x298]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x55a0fa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ecx], 0
call edi
cmp eax, 2
je 0x55a0e2
call edi
cmp eax, 0x12
je 0x55a0e2
call edi
mov edi, eax
jmp 0x55a0e4
xor edi, edi
call fcn.0053de50
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
jmp 0x55a1cf
lea edx, [ebp - 0x264]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x55a103
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x264]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0042f280
mov eax, dword [ebp - 0x290]
mov edi, dword [ebp - 0x294]
test eax, 0x400
je 0x55a146
mov dword [ebx], 0
mov dword [edi], 0
jmp 0x55a1ba
and eax, 0x10
lea ecx, [ebp - 0x264]
or eax, 0x20
lea edx, [ecx + 2]
shr eax, 4
mov dword [ebx], eax
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a170
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0042f280
push dword [ebp - 0x290]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0055ae00
add esp, 8
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0042ef70
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [esi], 0
call fcn.0053de50
mov dword [esi + 4], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0042ef70
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.00556510
mov esp, ebp
pop ebp
ret
Function at 0x55b010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x55b023
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x55b04b
push dword [esp + 0x18]
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0055af00
add esp, 0xc
mov eax, dword [eax]
pop esi
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x55b062
mov dword [edi], 0
call fcn.0053de50
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x55b099
push esi
call fcn.0055aba0
add esp, 4
test al, al
je 0x55b08e
test bl, 0x10
mov eax, 4
mov ecx, 0xb
pop esi
cmovne eax, ecx
pop ebx
add esp, 8
ret
pop esi
mov eax, 9
pop ebx
add esp, 8
ret
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x55b120
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
cmp eax, 1
jne 0x55b144
mov esi, dword [esp + 0x10]
test esi, esi
je 0x55b140
mov dword [esi], 0
call fcn.0053de50
mov dword [esi + 4], eax
xor al, al
pop esi
ret
push edi
cmp eax, 3
je 0x55b166
cmp eax, 0xb
je 0x55b166
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x55b15d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x55b17b
mov esi, dword [esp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x55b174
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x55b1b5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x55b1b5
cmp eax, 3
je 0x55b1b5
cmp eax, 0x7b
je 0x55b1b5
cmp eax, 0xf
je 0x55b1b5
cmp eax, 0x15
je 0x55b1b5
cmp eax, 0x57
je 0x55b1b5
cmp eax, 0xa1
je 0x55b1b5
cmp eax, 0x35
je 0x55b1b5
call edi
jmp 0x55b1b7
xor eax, eax
push str.boost::filesystem::remove
push dword [esp + 0x18]
push esi
push eax
call fcn.0055aa30
add esp, 0x10
test al, al
je 0x55b1d3
pop edi
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x55b1e0
Capabilities:
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x55b1f0
mov eax, dword [esi]
mov edi, dword [esp + 0xc]
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x55b1fe
mov ecx, dword [edi]
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x55b214
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x55b216
xor eax, eax
push str.boost::filesystem::rename
push dword [esp + 0x18]
push esi
push edi
push eax
call fcn.0055a970
add esp, 0x14
pop edi
pop esi
ret