joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bd90
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, ecx
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x44bdd4
sub eax, edi
push eax
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.0044b530
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0044b5d0
mov ecx, dword [esp + 0x78]
add esp, 0x14
pop edi
xor ecx, esp
call fcn.00459ea4
add esp, 0x68
ret
Function at 0x452b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d2a0c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x38], eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], al
jne 0x452b65
mov ebp, 0x4f7180
push ebp
mov ecx, edi
call dword [0x4d71d8]
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x452b7d
mov eax, dword [edi + 4]
jmp 0x452b80
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x452bb2
cmp dword [edi + 0x18], ebx
jb 0x452b96
mov edi, dword [edi + 4]
jmp 0x452b99
add edi, 4
push 0x20
push 0x4eab30
push edi
call dword [sym.imp.MSVCR80.dll__fsopen]
add esp, 0xc
mov dword [esi + 0x20], eax
jmp 0x452c54
cmp dword [edi + 0x18], ebx
jb 0x452bbc
mov eax, dword [edi + 4]
jmp 0x452bbf
lea eax, [edi + 4]
mov ebp, dword [sym.imp.MSVCR80.dll__fsopen]
push 0x20
push 0x4f718c
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x452be3
push 0x53c274
push edi
lea ecx, [esp + 0x1c]
push ecx
jmp 0x452c20
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov ecx, esi
call fcn.00452d70
cmp dword [edi + 0x18], ebx
jb 0x452bfe
mov eax, dword [edi + 4]
jmp 0x452c01
lea eax, [edi + 4]
push 0x20
push 0x4eab30
push eax
call ebp
add esp, 0xc
test eax, eax
mov dword [esi + 0x20], eax
jne 0x452c54
push 0x53c274
push edi
lea edx, [esp + 0x1c]
push edx
mov byte [esi + 0x24], 1
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x452c37
mov eax, dword [eax + 4]
jmp 0x452c3a
add eax, 4
push 0x20
push 0x4eab30
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esi + 0x20], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x4569d0
Capabilities:
Hash data using fnv

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x811c9dc5
jmp 0x4569f0
cmp esi, 0xfffffffe
je 0x456a01
test esi, esi
je 0x4569ff
cmp esi, dword [esp + 0x20]
je 0x456a01
call ebp
cmp edi, dword [esp + 0x24]
je 0x456a69
cmp esi, 0xfffffffe
mov ebx, edi
je 0x456a2d
test esi, esi
jne 0x456a14
call ebp
cmp dword [esi + 0x18], 0x10
jb 0x456a1f
mov eax, dword [esi + 4]
jmp 0x456a22
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x456a2d
call ebp
add edi, 1
cmp esi, 0xfffffffe
je 0x456a54
test esi, esi
jne 0x456a3b
call ebp
cmp dword [esi + 0x18], 0x10
jb 0x456a46
mov eax, dword [esi + 4]
jmp 0x456a49
lea eax, [esi + 4]
mov edx, dword [esi + 0x14]
add edx, eax
cmp ebx, edx
jb 0x456a54
call ebp
mov eax, dword [esp + 0x10]
movsx ecx, byte [ebx]
imul eax, eax, 0x1000193
xor eax, ecx
mov dword [esp + 0x10], eax
jmp 0x4569f0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x459ea4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51501c]
jne 0x459eae
repz ret
jmp fcn.0045a3f0
Function at 0x45cd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c837c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
mov edi, edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edi, dword [esi + 0xc]
mov eax, dword [esp + 0x5c]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 4
cmp dword [esi + 4], edi
mov dword [esp + 0x24], eax
jbe 0x45cdbe
call ebp
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x45cdc8
call ebp
push edi
push esi
push ebx
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00453540
mov edi, dword [esp + 0x2c]
add esp, 0x18
test edi, edi
je 0x45cdec
cmp edi, dword [esp + 0x1c]
je 0x45cdee
call ebp
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x45ce0b
push eax
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, esi
call fcn.00453140
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00459ea4
add esp, 0x44
ret
Function at 0x45e7d0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1020
call fcn.004c7c20
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x1018], eax
mov eax, dword [0x53b820]
push ebx
mov ebx, dword [eax*4 + 0x4dd638]
push esi
push edi
mov edi, dword [0x53b824]
mov esi, ecx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x1e]
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1a]
push esi
push edi
push edx
movzx edx, word [esp + 0x24]
push eax
push ecx
push edx
push ebx
push 0x4f7190
lea eax, [esp + 0x40]
push 0x1000
push eax
call dword [sym.imp.MSVCR80.dll_sprintf_s]
mov eax, dword [0x53c290]
add esp, 0x28
test eax, eax
je 0x45e88c
mov esi, dword [eax + 0x20]
test esi, esi
je 0x45e88c
lea ecx, [esp + 0x20]
push ecx
push 0x4da460
push esi
call dword [sym.imp.MSVCR80.dll_fprintf]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
test eax, eax
jge 0x45e872
push 0x4f71b4
call edi
push esi
call dword [sym.imp.MSVCR80.dll_fflush]
add esp, 4
test eax, eax
je 0x45e887
push 0x4f71d4
call edi
mov eax, dword [0x53c290]
cmp byte [0x53b7ff], 0
jne 0x45e89f
test eax, eax
je 0x45e89f
cmp dword [eax + 0x20], 0
jne 0x45e8bc
lea edx, [esp + 0x20]
push edx
push 0x4da460
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x20
push eax
call dword [sym.imp.MSVCR80.dll_fprintf_s]
add esp, 0xc
mov ecx, dword [esp + 0x1024]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00459ea4
add esp, 0x1020
ret

Function at 0x45ea30
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x53b820]
cmp eax, dword [0x515320]
push edi
jg 0x45ea72
cmp eax, 1
jne 0x45ea51
push esi
call fcn.0045e770
mov eax, dword [0x53b820]
add esp, 4
mov ecx, dword [0x53b828]
test ecx, ecx
je 0x45ea6a
mov edi, dword [0x53b824]
mov edx, dword [ecx]
push esi
push edi
push eax
mov eax, dword [edx]
call eax
mov ecx, esi
pop edi
jmp fcn.0045e7d0
pop edi
ret

Function at 0x45edd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c7fba
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea esi, [edi + 4]
push esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [edi]
add eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x4611d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x51532c]
cmp eax, 0x270
jl 0x4612a0
cmp eax, 0x271
jne 0x4611ec
call fcn.00461190
xor ecx, ecx
mov edi, edi
mov eax, dword [ecx*4 + 0x53ae3c]
xor eax, dword [ecx*4 + 0x53ae38]
add ecx, 1
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x53ae34]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x5378ec]
xor eax, dword [ecx*4 + 0x53b468]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x53ae34], eax
jl 0x4611f0
cmp ecx, 0x26f
jge 0x461271
lea ecx, [ecx*4 + 0x53ae38]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x5378ec]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x53b7f4
mov dword [ecx - 4], edx
jl 0x461240
mov ecx, dword [0x53b7f4]
mov eax, dword [0x53ae38]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x5378ec]
xor eax, dword [0x53b468]
mov dword [0x53b7f4], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x53ae38]
add eax, 1
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [0x51532c], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x461850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c8ae3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
movzx eax, byte [edi]
mov byte [esi], al
movzx ecx, byte [edi + 1]
mov byte [esi + 1], cl
mov dl, byte [edi + 2]
mov byte [esi + 2], dl
movzx eax, byte [edi + 3]
mov byte [esi + 3], al
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x4618ba
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [edi + 0x14]
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x461920
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c8b42
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
push ebp
lea ecx, [esi + 0x14]
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov byte [esp + 0x20], 5
mov eax, 0x10
cmp dword [edi + 0x18], eax
mov dword [0x53b820], 4
mov dword [0x53b824], 0x4f54b4
jb 0x4619cc
mov edi, dword [edi + 4]
jmp 0x4619cf
add edi, 4
cmp dword [ebp + 0x18], eax
jb 0x4619d9
mov ebp, dword [ebp + 4]
jmp 0x4619dc
add ebp, 4
push 0xa
push edi
push ebp
push 0x4eed44
call fcn.0045eb40
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x461aa0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c9a4a
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.004ab480
push 0x4db320
push eax
lea eax, [esp + 0x38]
mov esi, 1
push eax
mov dword [esp + 0x16c], esi
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
mov byte [esp + 0x4c], 0
jae 0x461b33
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0x4db328
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], esi
mov byte [esp + 0x160], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.00459ea4
add esp, 0x15c
ret
Function at 0x463890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb3a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
lea esi, [edi + 4]
mov dword [edi], 0x4f547c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [edi + 0x14]
mov byte [esp + 0x2c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [edi + 0x30]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x2c], 3
push 0x4d9603
mov dword [edi + 0x4c], ebx
mov dword [0x53b820], 4
mov dword [0x53b824], 0x4f5070
call fcn.0045eb40
sub esp, 0xc
mov eax, esp
mov ecx, esi
mov dword [esp + 0x28], esp
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.0044e160
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x46393f
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
jne 0x463945
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 4]
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x463956
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x463964
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
push ebp
push esi
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0044e300
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4646d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cf719
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x4f547c
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x20], 3
call fcn.004642c0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x18], bl
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x464751
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xc]
push ecx
push edx
call fcn.0044ef00
mov eax, dword [esi + 8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0xc
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi], 0x4f5448
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x464a00
Capabilities:
Create directory

Disassembly:
cmp dword [eax + 0x14], 0
je 0x464a33
cmp dword [eax + 0x18], 0x10
jb 0x464a11
mov eax, dword [eax + 4]
jmp 0x464a14
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x464a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
ret
mov al, 1
ret
xor al, al
ret

Function at 0x465030
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x465054
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x465063
mov eax, 1
pop ecx
ret
Function at 0x46a6e0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x46a6e7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.0046a440
Function at 0x46b8c0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x46b902
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x46b8d1
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x46b950
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x46b960
pop esi
pop ebp
pop ebx
ret

Function at 0x46b9b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x46b9c0
pop edi
pop ebx
ret