joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547634
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
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, [esi + 0x30]
mov byte [esp + 0x14], 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_]
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x43b5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547600
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov dword [esp + 0x1c], ebp
mov ecx, edi
mov dword [esi], vtable.TiXmlAttribute.0
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 ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x1c], 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_]
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
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_char_const__]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
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_char_const__]
mov dword [esi + 0x10], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43fa10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [ebx + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [eax]
nop
cmp edi, dword [ebx + 4]
je 0x43fa6c
mov esi, dword [edi + 8]
test esi, esi
je 0x43fa53
cmp dword [esi + 0xc], 0
jne 0x43fa53
call ebp
sub eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jb 0x43fa5d
call ebp
mov ecx, dword [esi]
test ecx, ecx
mov dword [esi + 8], eax
je 0x43fa5d
mov edx, dword [ecx]
mov eax, dword [esi + 0x10]
mov edx, dword [edx]
push eax
call edx
jmp 0x43fa5d
mov eax, dword [esp + 0x14]
push esi
call fcn.0043fa80
cmp edi, dword [ebx + 4]
jne 0x43fa68
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
jmp 0x43fa20
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x442cd0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x5a5084]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0xd], edi
mov dword [esp + 4], edi
je 0x442ddc
cmp word [eax], di
je 0x442ddc
push ebp
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x442dc9
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jbe 0x442dae
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ebp
call ebx
test eax, eax
je 0x442dad
lea ecx, [esp + 0x18]
call fcn.00442e40
test eax, eax
je 0x442dad
add esi, 0xfffffffc
lea ecx, [esi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x442dad
mov edx, dword [esp + 0x14]
push 0
push 0
push 4
push ebp
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
je 0x442dad
mov ecx, edi
call fcn.00442df0
test eax, eax
jge 0x442dad
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, edi
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004726a1
add esp, 0x14
ret
pop ebp
mov eax, edi
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004726a1
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
xor ecx, esp
call fcn.004726a1
add esp, 0x14
ret

Function at 0x442df0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x442e2e
test esi, esi
jbe 0x442e2e
mov edx, esi
shr edx, 2
mov eax, 0
je 0x442e12
xor dword [ecx + eax*4], 0xd321e8e8
add eax, 1
cmp eax, edx
jb 0x442e04
add eax, eax
add eax, eax
cmp eax, esi
jae 0x442e2b
lea ebx, [ebx]
xor byte [eax + ecx], 0xe4
add eax, 1
cmp eax, esi
jb 0x442e20
xor eax, eax
ret
mov eax, 0x80004005
ret
Function at 0x442eb0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x442ee4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov eax, dword [esi]
jne 0x442ec8
push eax
jmp 0x442ed8
test eax, eax
je 0x442ee4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov edx, dword [esp + 4]
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x442f20
push 0
push 0
mov dword [esi + 8], edx
mov dword [esi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi], eax
mov eax, ecx
ret 4
Function at 0x444d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x444d8f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x444e77
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x591e00]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x444da0
pop ebp
test edi, edi
je 0x444e9c
jmp 0x444e80
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x591e00]
add ecx, 1
sub edi, 1
jne 0x444e80
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x444eb0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x591e00]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x591e00]
mov dword [edx + 8], ecx
ret

Function at 0x444f00
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
xor al, bl
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x591e00]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x591e00]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x445670
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x4456a2
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445698
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x4456b5
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call sub.MSVCR80.dll_memcpy
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x445880
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x4458c5
cmp byte [esi + 1], 0
je 0x4458cd
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x4458e2
cmp byte [esi + 1], 0
je 0x4458d4
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x4458eb
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x44589e
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x4458eb
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
cmp ebp, edi
mov dword [esp + 0xc], edi
jae 0x4458ff
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44591e
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
cmp edi, eax
mov dword [esp + 0x18], 0xffffffff
jbe 0x445a43
jmp 0x44594c
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
cmp eax, edi
mov dword [esp + 0x14], edi
ja 0x44595d
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
cmp ebp, 0x404
mov dword [esp + 0x20], eax
jbe 0x445976
mov ebp, 0x404
cmp byte [esi], 0
je 0x44599b
cmp byte [esi + 1], 0
je 0x445a43
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44599e
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x4459c6
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4459c0
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x4459ec
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x4459d7
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x445a43
lea eax, [ebp - 3]
test eax, eax
jl 0x445a2e
lea esp, [esp]
sub eax, 1
cmp byte [eax + ebx], 0x50
jne 0x445a1e
cmp byte [eax + ebx + 1], 0x4b
jne 0x445a1e
cmp byte [eax + ebx + 2], 5
jne 0x445a1e
cmp byte [eax + ebx + 3], 6
je 0x445a24
test eax, eax
jge 0x445a00
jmp 0x445a2e
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x445a43
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x445940
push ebx
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x446160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp ebp, ebx
jne 0x44617a
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [ebp + 0x18], ebx
je 0x44616f
cmp dword [ebp + 0x7c], ebx
je 0x44618d
mov ebx, ebp
call fcn.00446550
xor ebx, ebx
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
mov edi, ebp
call fcn.00445f80
add esp, 0xc
test eax, eax
je 0x4461b7
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
push 0x84
call esi
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4461f9
push 0x4000
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [edi], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], ebx
jne 0x446206
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [edi + 0x40], ebx
mov ecx, dword [ebp + 0x3c]
xor eax, eax
cmp dword [ebp + 0x34], ebx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], ebx
mov edx, dword [ebp + 0x34]
sete al
mov dword [edi + 0x64], edx
mov ecx, dword [ebp]
mov dword [edi + 0x60], ecx
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x68], edx
mov dword [edi + 0x18], ebx
cmp eax, ebx
jne 0x44624f
lea esi, [edi + 4]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00445170
test eax, eax
jne 0x44624f
mov dword [edi + 0x40], 1
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x58], eax
mov ecx, dword [ebp + 0x44]
mov dword [edi + 0x5c], ecx
mov dl, byte [ebp + 0x30]
and dl, 1
mov byte [edi + 0x6c], dl
mov eax, dword [ebp + 0x30]
shr eax, 3
test al, 1
je 0x446279
mov cl, byte [ebp + 0x39]
mov byte [edi + 0x80], cl
jmp 0x446282
mov dl, byte [ebp + 0x3f]
mov byte [edi + 0x80], dl
mov al, byte [edi + 0x6c]
mov esi, dword [esp + 0x20]
neg al
lea edx, [edi + 0x70]
mov dword [edx], 0x12345678
mov dword [edi + 0x74], 0x23456789
mov dword [edi + 0x78], 0x34567890
sbb eax, eax
and eax, 0xc
cmp esi, ebx
mov dword [edi + 0x7c], eax
je 0x4462c0
mov edi, edi
mov cl, byte [esi]
cmp cl, bl
je 0x4462c0
call fcn.00444eb0
add esi, 1
jne 0x4462b0
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx + 0x1e]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], ebx
pop esi
mov dword [ebp + 0x7c], edi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4466b0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [edi], 0
push esi
jne 0x44674f
cmp dword [edi + 4], 0xffffffff
jne 0x44674f
lea esi, [edi + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4466e0
sub eax, edx
sar eax, 1
movzx eax, word [edi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x446717
cmp ax, 0x2f
je 0x446717
push 0x58c7f0
push 0x104
push esi
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
call fcn.004455d0
add esp, 4
test eax, eax
jne 0x446735
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 4
call fcn.00445a60
mov dword [edi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop esi
pop ecx
ret 4
mov eax, 0x1000000
pop esi
pop ecx
ret 4
Function at 0x446cb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x5a5084]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x41c]
test ebx, ebx
push esi
mov esi, dword [esp + 0x424]
je 0x446ced
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x446ced
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [esi]
test ax, ax
je 0x446da2
mov ecx, esi
mov edx, esi
movzx eax, ax
cmp ax, 0x2f
je 0x446d0c
cmp ax, 0x5c
jne 0x446d0e
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x446d00
cmp ecx, esi
je 0x446d52
sub ecx, esi
sar ecx, 1
push edi
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x218]
push esi
push eax
call sub.MSVCR80.dll_memcpy
lea ecx, [esp + 0x220]
push ecx
push ebx
mov word [esp + edi + 0x228], 0
call fcn.00446cb0
add esp, 0x14
pop edi
test ebx, ebx
mov word [esp + 8], 0
je 0x446d71
push ebx
lea edx, [esp + 0xc]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
push esi
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x446da2
push 0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x418]
pop esi
pop ebx
xor ecx, esp
call fcn.004726a1
add esp, 0x414
ret

Function at 0x447820
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x549150
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov esi, ecx
test ebp, ebp
jne 0x447865
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test eax, eax
je 0x44784e
cmp dword [esi + 4], 0
je 0x44784e
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
add edi, 1
push 0x186a0
imul edi, edi, 0x64
call edx
mov esi, eax
test esi, esi
je 0x44784e
mov eax, dword [0x5b06b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5b06b0
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
push 0x593470
lea edi, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.00405800
mov eax, dword [esp + 0x2c]
add esp, 8
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
call fcn.00404ef0
add eax, 0x10
mov dword [edi], eax
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, 0x58bec0
mov byte [esp + 0x2c], 1
call fcn.00412880
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
mov byte [esp + 0x28], 0
call edx
mov dword [ebp + 0xc], esi
lea eax, [esp + 0x24]
mov dword [esi + 0x134], ebp
call fcn.0044dd60
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
Function at 0x4484b0
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
push edi
mov edi, eax
call fcn.00416f60
mov ecx, dword [edi + 0x14]
push ecx
call fcn.00414240
mov esi, eax
test esi, esi
jne 0x4484cd
pop edi
pop esi
pop ecx
ret
mov edx, dword [edi + 0x28]
cmp dword [edx - 0xc], 0
push ebx
lea ebx, [edi + 0x28]
jne 0x4484e1
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004041c0
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 0x2c]
add esp, 8
xor edi, edi
test eax, eax
je 0x44851e
push 5
push edi
push esi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x44851a
mov edi, 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44853a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x449610
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
cmp dword [esi + 0x5b0], 0
push ebx
push ebp
push edi
mov eax, 0x50000100
je 0x449629
mov eax, 0x50002100
cmp dword [esi + 0x5b4], 0
je 0x449639
or eax, 0x1044
jmp 0x44963e
or eax, 0x80
cmp dword [esi + 0x5b8], 0
je 0x44964c
or eax, 0x200000
mov ecx, dword [esi + 4]
push ecx
mov dword [esi + 0x50], ecx
mov ecx, esp
push ecx
mov dword [ecx], 0
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [ecx], edx
mov ecx, dword [esi + 4]
lea edi, [esi + 0x28]
push ecx
call fcn.0044a0d0
mov edx, dword [esi + 0x5bc]
mov eax, dword [esi + 0x2c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edx
push 0xc5
push eax
call ebp
push 1
xor ebx, ebx
call fcn.00420b00
mov ecx, dword [esi + 0x2c]
add esp, 4
push 1
push eax
push 0x30
push ecx
call ebp
mov edx, dword [esi + 0x5ac]
push edx
push edi
call fcn.00449340
mov eax, dword [esi + 4]
lea edi, [esi + 0x68]
mov dword [esi + 0x590], eax
mov ebx, dword [edi + 0x440]
push edi
call fcn.0044a130
mov dword [edi + 0x3e8], closesocket
mov dword [edi + 0x3ec], 0x8000080
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00449ee0
mov edx, dword [esi + 0x6c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
Function at 0x449c10
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x54c350
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [0x5b06b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5b06b0
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ebx, [ebp + 0x2c]
lea edi, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.0044b2d0
call dword [sym.imp.USER32.dll_GetFocus]
xor ecx, ecx
cmp eax, dword [ebx]
lea eax, [ebp + 0x28]
sete cl
lea esi, [esp + 0x18]
mov edi, ecx
call fcn.00449320
lea edx, [esp + 0x2c]
push edx
call fcn.00449e70
movzx esi, al
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
mov ebx, dword [esp + 0x2c]
je 0x449d18
cmp dword [ebx - 0xc], 0
je 0x449d18
test esi, esi
jne 0x449d18
cmp dword [ebp + 0x5cc], esi
jne 0x449d24
lea edi, [ebp + 0x5d0]
lea eax, [esp + 0x2c]
call fcn.00412ba0
push edi
lea ecx, [ebp + 0x68]
push ecx
call fcn.0044bbc0
lea edx, [esp + 0x18]
push edx
mov ecx, 0x58b5ec
call fcn.00413730
push esi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
mov byte [esp + 0x38], 1
call fcn.00431640
add esp, 0x14
lea eax, [esp + 0x18]
call fcn.0044dd60
jmp 0x449d24
mov edx, dword [ebp + 0x6c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx - 0x10]
mov dword [ebp + 0x5cc], 0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449d52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x449e30
Capabilities:
Get graphical window text

Disassembly:
xor eax, eax
cmp ecx, eax
je 0x449e64
mov edx, dword [ecx]
cmp edx, dword [esi + 0x2c]
jne 0x449e64
cmp dword [ecx + 4], 0x100
jne 0x449e64
cmp dword [ecx + 8], 0xd
jne 0x449e64
mov eax, dword [ecx + 0xc]
push eax
push 0xd
push 0x100
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
ret
mov dword [esi + 0x24], eax
ret