joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba3b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4e5db8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x557510]
cmp eax, 0xffffffff
jne 0x4ba3e5
xor ebx, ebx
jmp 0x4ba3ee
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x4ba431
mov edi, edi
cmp dword [ebx + 0x18], 0
jne 0x4ba477
cmp dword [ebx + 0xc], 0
jne 0x4ba480
push 0x4b9ab0
push 0x567760
call fcn.004b9d00
mov eax, dword [0x557510]
add esp, 8
cmp eax, 0xffffffff
je 0x4ba431
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x4ba463
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4ba463
mov edx, dword [ebx]
mov eax, dword [edx]
push 0
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebx + 0xc], 0
je 0x4ba4c8
lea ecx, [ecx]
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4ba4b2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x4ba480
mov ebp, dword [ebx + 0x14]
mov esi, dword [ebp]
cmp esi, ebp
je 0x4ba400
cmp byte [esi + 0x1d], 0
mov edi, esi
jne 0x4ba518
mov eax, dword [esi + 8]
cmp byte [eax + 0x1d], 0
jne 0x4ba4fd
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
jne 0x4ba518
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
je 0x4ba4f1
jmp 0x4ba518
mov eax, dword [esi + 4]
cmp byte [eax + 0x1d], 0
jne 0x4ba516
cmp esi, dword [eax + 8]
jne 0x4ba516
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x4ba506
mov esi, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4ba52e
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4ba52e
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0x10]
call fcn.0044c8a0
cmp esi, ebp
jne 0x4ba4d6
jmp 0x4ba400
Function at 0x4ba5e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x4ba550
push 0
push 0
call fcn.0049bced
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4ba609
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x4ba62d
cmp eax, 0xffffffff
je 0x4ba62d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x4bc550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6098
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.004bc690
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], vtable.boost::serialization::typeid_system::extended_type_info_typeid_arg.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
call sym.NVNetworkService.exe__get_instance___singleton_V__multiset_PBVextended_type_info_typeid_0_typeid_system_serialization_boost__U
mov esi, eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0x30], ecx
push eax
mov ecx, esi
call fcn.004bc140
mov esi, dword [esi + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
cmp esi, eax
jne 0x4bc5fa
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], vtable.boost::serialization::typeid_system::extended_type_info_typeid_0.0
call fcn.004bc6b0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], vtable.boost::serialization::typeid_system::extended_type_info_typeid_0.0
call fcn.004bc6b0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4

Function at 0x4bf2f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e630b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push esi
call fcn.004c0d80
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
push 0x18
mov dword [esp + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0049ad6c
add esp, 8
cmp eax, ebx
je 0x4bf39b
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], al
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.0049aed8
push 0x531f60
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], vtable.std::bad_alloc.0
call fcn.004a1366
int3
Function at 0x4c1770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e666b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5564b0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
cmp edx, esi
je 0x4c18eb
xor ebx, ebx
lea eax, [ebx + 1]
mov cl, byte [edx]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x10100
mov dword [esp + 0x3c], 0x1010101
mov dword [esp + 0x40], 0x1010101
mov dword [esp + 0x44], 0x101
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x1010100
mov dword [esp + 0x50], 0x1010101
mov dword [esp + 0x54], 0x1010101
mov dword [esp + 0x58], 0x1010101
mov dword [esp + 0x5c], 0x1010101
mov dword [esp + 0x60], 0x1010101
mov dword [esp + 0x64], 0x10101
mov dword [esp + 0x68], 0x1000000
mov dword [esp + 0x6c], 0x1010100
mov dword [esp + 0x70], 0x1010101
mov dword [esp + 0x74], 0x1010101
mov dword [esp + 0x78], 0x1010101
mov dword [esp + 0x7c], 0x1010101
mov dword [esp + 0x80], 0x1010101
mov dword [esp + 0x84], 0x10101
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
cmp cl, 0x7f
ja 0x4c18e1
movsx ecx, cl
cmp byte [esp + ecx + 0xc], bl
je 0x4c1918
add edx, eax
cmp edx, esi
jne 0x4c17c4
mov al, byte [esp + 0xc8]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0049ab39
add esp, 0xb0
ret
push eax
push ebx
push ebx
push 2
lea ecx, [esp + 0x1c]
call fcn.004e2b00
push eax
mov dword [esp + 0xbc], ebx
call fcn.004c1550
int3
Function at 0x4c2c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e6949
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x2c]
push 1
push eax
lea ecx, [esi + 0x18]
call fcn.004cc370
mov ebp, dword [esp + 0x30]
xor ebx, ebx
push ebp
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.004be710
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
mov byte [esp + 0x24], 1
mov dword [esi], vtable.boost::archive::xml_woarchive_impl_class_boost::archive::xml_woarchive_.0
test ebp, 2
jne 0x4c2d59
push 0x10
call fcn.0049ad6c
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x4c2cb1
push ebx
mov ecx, eax
call fcn.004c1600
mov dword [esp + 0x2c], eax
jmp 0x4c2cb5
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x24], 1
call fcn.00499c68
push 4
mov ebp, eax
call fcn.0049ad6c
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x4c2ce7
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
mov ecx, eax
call fcn.004c1940
jmp 0x4c2ce9
xor eax, eax
mov ecx, dword [esi + 0x38]
push ecx
mov byte [esp + 0x28], 1
mov dword [esi + 0x38], eax
call fcn.004c0fb0
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x18]
add esp, 4
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.004c1400
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
je 0x4c2d59
push ebx
lea ecx, [esp + 0x18]
call fcn.00499d70
mov eax, dword [ebp + 4]
cmp eax, ebx
jbe 0x4c2d37
cmp eax, 0xffffffff
jae 0x4c2d37
dec eax
mov dword [ebp + 4], eax
mov edi, dword [ebp + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x14]
and edi, ebp
call fcn.00499d98
cmp edi, ebx
je 0x4c2d59
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
test dword [esp + 0x30], 1
jne 0x4c2d6a
mov ecx, esi
call fcn.004c2b20
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x4ca720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7506
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x10
mov dword [esp + 0xc], 0
call fcn.0049ad6c
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x4ca778
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004c65d0
mov eax, esi
jmp 0x4ca77a
xor eax, eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 4]
mov dword [esi], eax
mov dword [ecx], 0
push ecx
push eax
push esi
mov dword [esp + 0x20], 1
call fcn.004c8660
mov cl, byte [esp + 0x30]
add esp, 0xc
mov byte [esi + 8], cl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4cda50
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e7e40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5564b0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp eax, 1
jne 0x4cdaab
test edi, edi
je 0x4cdaa4
mov dword [edi], 0
call fcn.004b8d00
mov dword [edi + 4], eax
xor al, al
jmp 0x4cdbaa
cmp eax, 3
je 0x4cdb34
cmp eax, 0xb
je 0x4cdb34
push 0x19
push str.boost::filesystem::remove
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00408570
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], 1
jb 0x4cdaf0
mov eax, dword [esi]
jmp 0x4cdaf2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
lea ecx, [esp + 0x10]
push ecx
sete dl
push edi
movzx eax, dl
push esi
push eax
call fcn.004cd910
add esp, 0x10
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x4cdb2c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049acb7
add esp, 4
test bl, bl
je 0x4cdba8
xor al, al
jmp 0x4cdbaa
push 0x19
xor ebx, ebx
push str.boost::filesystem::remove
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00408570
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], ebx
jb 0x4cdb64
mov eax, dword [esi]
jmp 0x4cdb66
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
lea edx, [esp + 0x2c]
push edx
test al, al
sete al
push edi
movzx ecx, al
push esi
push ecx
call fcn.004cd910
add esp, 0x10
cmp dword [esp + 0x40], 0x10
mov bl, al
jb 0x4cdba0
mov edx, dword [esp + 0x2c]
push edx
call fcn.0049acb7
add esp, 4
test bl, bl
jne 0x4cdaa4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0049ab39
add esp, 0x48
ret

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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x14], 8
push edi
jb 0x4cdd03
mov eax, dword [ebx]
jmp 0x4cdd05
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4cdd2e
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ebx
push ecx
call fcn.004cdbd0
mov eax, dword [eax]
add esp, 0xc
pop edi
pop ebx
add esp, 8
ret
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4cdd45
mov dword [esi], 0
call fcn.004b8d00
mov dword [esi + 4], eax
pop esi
test edi, 0x400
je 0x4cdd7e
push ebx
call fcn.004cc610
add esp, 4
test al, al
je 0x4cdd73
mov edx, edi
and dl, 0x10
movzx eax, dl
neg eax
sbb eax, eax
and eax, 7
pop edi
add eax, 4
pop ebx
add esp, 8
ret
pop edi
mov eax, 9
pop ebx
add esp, 8
ret
mov eax, edi
and eax, 0x10
or eax, 0x20
pop edi
shr eax, 4
pop ebx
add esp, 8
ret
Function at 0x4ce010
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4e7e78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5564b0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
push 0x19
xor ebx, ebx
push str.boost::filesystem::rename
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00408570
mov eax, 8
mov dword [esp + 0x74], ebx
cmp dword [esi + 0x14], eax
jb 0x4ce088
mov ecx, dword [esi]
jmp 0x4ce08a
mov ecx, esi
cmp dword [edi + 0x14], eax
jb 0x4ce093
mov eax, dword [edi]
jmp 0x4ce095
mov eax, edi
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4ce0b4
cmp ebp, ebx
je 0x4ce0f4
mov dword [ebp], ebx
call fcn.004b8d00
mov dword [ebp + 4], eax
jmp 0x4ce0f4
call fcn.004b8d00
cmp ebp, ebx
jne 0x4ce0e6
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
push esi
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.004cd750
push 0x530634
lea ecx, [esp + 0x34]
push ecx
call fcn.004a1366
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp], eax
mov dword [ebp + 4], esi
cmp dword [esp + 0x28], 0x10
jb 0x4ce108
mov edx, dword [esp + 0x14]
push edx
call fcn.0049acb7
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0049ab39
add esp, 0x64
ret
Function at 0x4ce130
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e7f20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5564b0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
jb 0x4ce17c
mov eax, dword [edi]
jmp 0x4ce17e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4ce19c
push esi
push edi
push ebp
call fcn.004cdbd0
add esp, 0xc
jmp 0x4ce2ef
test ebx, 0x400
je 0x4ce2ab
cmp dword [edi + 0x14], 8
jb 0x4ce1b2
mov edx, dword [edi]
jmp 0x4ce1b4
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ce1d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.0040a420
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0x4ce201
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0x4ce236
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0049acb7
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, 0xffffffff
jne 0x4ce266
mov eax, dword [esp + 0x1c]
push eax
push edi
push ebp
call fcn.004cdbd0
add esp, 0xc
jmp 0x4ce2ef
push edi
call fcn.004cc610
add esp, 4
test al, al
jne 0x4ce298
push ebx
push edi
call fcn.004ccb00
add esp, 8
push esi
mov dword [ebp], 9
mov dword [ebp + 4], eax
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4ce2ef
push esi
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4ce2bd
mov dword [esi], 0
call fcn.004b8d00
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x1c], 3
test bl, 0x10
jne 0x4ce2d4
mov dword [esp + 0x1c], 2
call fcn.004ccb00
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049ab39
add esp, 0x38
ret
Function at 0x4ce5d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4e7fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5564b0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564b0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x90]
jb 0x4ce61a
mov eax, dword [edi]
jmp 0x4ce61c
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4ce63f
cmp esi, ebx
je 0x4ce638
mov dword [esi], ebx
call fcn.004b8d00
mov dword [esi + 4], eax
mov al, 1
jmp 0x4ce6e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.004b8d00
mov dword [esp + 0x18], eax
cmp ebp, 0xb7
jne 0x4ce68a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.004ce130
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x20], edx
cmp ecx, 3
jne 0x4ce68a
cmp esi, ebx
je 0x4ce6e4
mov dword [esi], ebx
call fcn.004b8d00
jmp 0x4ce6e1
cmp esi, ebx
jne 0x4ce6da
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00408570
mov dword [esp + 0x84], ebx
call fcn.004b8d00
push eax
push ebp
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.004cd650
push 0x530634
lea ecx, [esp + 0x44]
push ecx
call fcn.004a1366
call fcn.004b8d00
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0049ab39
add esp, 0x74
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x402ac0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x402b30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x402bad
cmp al, 9
je 0x402ba0
cmp al, 0x20
je 0x402ba0
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x402c00
cmp al, 0x22
je 0x402c10
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x402bad
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x402b60
test edi, 1
jne 0x402b60
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x402ba0
cmp al, 0x20
je 0x402ba0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x402bc8
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x402b77
and dword [ebp - 0x54], 1
jne 0x402b70
xor edi, 1
jmp 0x402b77

Function at 0x4025bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x4025c3
mov dword [ecx*4 + 0x49eea0], eax
inc ecx
cmp ecx, 0x100
jb 0x4025be
mov edx, 0x800
jmp 0x402610
mov eax, dword [ecx*4 + 0x49eaa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49eea0]
inc ecx
mov dword [ecx*4 + 0x49ee9c], eax
cmp ecx, edx
jb 0x4025ef
mov dword [0x49d3b8], 0x402633
call fcn.004149b9
test eax, eax
jne 0x402631
mov dword [0x49d3b8], 0x4026cf
pop esi
ret

Function at 0x411fb7
Capabilities:
Encode data using xor

Disassembly:
cdq
cli
fnsave dword [eax - 0x6f]
out 0x37, al
pushal
push 0xffffffffffffff83
xchg edi, eax
cmp ecx, edx
inc eax
push esi
daa
xchg ebp, eax
invalid
jg 0x411f99
dec edi
and al, 0xa
pushal
add ch, byte [ebp + 0x670bfb7d]
je 0x412024
xor byte [ecx - 0x62], ch
or al, 0x73
invalid
jmp dword [edx - 0x1f]