joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 1
cmp dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 8]
mov dword [esp + 8], 0
jb 0x425c1d
cmp dword [esp + 0x14], eax
jb 0x425c1d
mov ecx, dword [ebx]
test ecx, ecx
je 0x425b69
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
mov dword [ebx], 0
movzx ecx, word [esp + 0xc]
push esi
push 0x45f4b4
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x425b99
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x425ba0
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
xor eax, eax
pop ebp
ret 0x10
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x425bc5
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov edi, eax
call fcn.00425970
add esp, 4
test eax, eax
mov dword [ebx], eax
je 0x425c08
mov esi, eax
call fcn.004178d0
mov esi, dword [ebx]
mov dword [ebx + 0x10], eax
call fcn.00417900
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
ret 0x10
xor eax, eax
pop ebp
ret 0x10
Function at 0x428130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45619b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
xor edi, edi
push 0x34
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.0042d7bd
add esp, 4
cmp eax, edi
je 0x42819c
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4281c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456768
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push edi
push ebp
push str.open_pack_file_fileName_s
push 1
push str..ResPackFile.cpp
call fcn.00440480
xor ebx, ebx
add esp, 0x10
cmp dword [esi], ebx
jne 0x4281ff
cmp dword [esi + 4], ebx
je 0x42822e
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x428210
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x428223
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x42822e
push eax
call edi
mov dword [esi], ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x428262
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push ebx
push 4
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
mov dword [esi + 8], edi
je 0x42824c
mov dword [esp + 0xc], vtable.minilib::CMemFile.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esi + 0xc]
push ebx
call fcn.0042df74
mov ecx, dword [esi + 0x10]
add esp, 4
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call fcn.00427f90
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4281e5
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456768
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push edi
push ebp
push str.open_pack_file_fileName_s
push 1
push str..ResPackFile.cpp
call fcn.00440480
xor ebx, ebx
add esp, 0x10
cmp dword [esi], ebx
jne 0x4281ff
cmp dword [esi + 4], ebx
je 0x42822e
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x428210
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x428223
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x42822e
push eax
call edi
mov dword [esi], ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x428262
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push 2
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push ebx
push 4
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
mov dword [esi + 8], edi
je 0x42824c
mov dword [esp + 0xc], vtable.minilib::CMemFile.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esi + 0xc]
push ebx
call fcn.0042df74
mov ecx, dword [esi + 0x10]
add esp, 4
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call fcn.00427f90
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x42a4c8
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x42a4fa
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x42a4f7
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x42a51b
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x42cd6f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042ccae
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042d5f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42cdbe
cmp dword [ebp - 0x1c], 5
jb 0x42cdd6
jmp 0x42cdd2
cmp dword [ebp - 0x10], 1
jne 0x42cdd6
cmp dword [ebp - 0x1c], 4
ja 0x42cdd2
jne 0x42cdd6
cmp dword [ebp - 0x18], 0
jbe 0x42cdd6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x458658
call fcn.0042cb61
test eax, eax
jge 0x42cdf7
mov byte [0x46bedc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042d168
add ebp, 0x78
leave
ret

Function at 0x42d168
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46831c]
jne 0x42d172
repz ret
jmp fcn.00432d7b
Function at 0x436e3b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x468da0]
je 0x436e56
inc edi
cmp edi, 0x17
jb 0x436e47
cmp edi, 0x17
jae 0x436fd6
push ebp
push 3
call fcn.0043df98
cmp eax, 1
pop ecx
je 0x436fa2
push 3
call fcn.0043df98
test eax, eax
pop ecx
jne 0x436e8a
cmp dword [0x468160], 1
je 0x436fa2
cmp ebx, 0xfc
je 0x436fd5
push 0x459700
mov ebx, 0x314
push ebx
mov ebp, 0x46ad70
push ebp
call fcn.00432d16
add esp, 0xc
test eax, eax
je 0x436ec0
push esi
push esi
push esi
push esi
push esi
call fcn.0042d674
add esp, 0x14
push 0x104
mov esi, 0x46ad89
push esi
push 0
mov byte [0x46ae8d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x436f04
push 0x4596e8
push 0x2fb
push esi
call fcn.00432d16
add esp, 0xc
test eax, eax
je 0x436f04
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042d674
add esp, 0x14
push esi
call fcn.0042d1e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x436f49
push esi
call fcn.0042d1e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46b084
push 0x4596e4
sub ecx, eax
push ecx
push eax
call fcn.0042f92e
add esp, 0x14
test eax, eax
je 0x436f49
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042d674
add esp, 0x14
jmp 0x436f4b
xor esi, esi
push 0x4596e0
push ebx
push ebp
call fcn.0043ab8d
add esp, 0xc
test eax, eax
je 0x436f6b
push esi
push esi
push esi
push esi
push esi
call fcn.0042d674
add esp, 0x14
push dword [edi*8 + 0x468da4]
push ebx
push ebp
call fcn.0043ab8d
add esp, 0xc
test eax, eax
je 0x436f8d
push esi
push esi
push esi
push esi
push esi
call fcn.0042d674
add esp, 0x14
push 0x12010
push 0x4596b8
push ebp
call fcn.0043dddb
add esp, 0xc
jmp 0x436fd5
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x436fd5
cmp ebp, 0xffffffff
je 0x436fd5
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x468da4]
push dword [esi]
call fcn.0042d1e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43dddb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043352b
xor ebx, ebx
cmp dword [0x46b30c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43deb1
push 0x45a874
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43df91
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45a868
push edi
call esi
cmp eax, ebx
je 0x43df91
push eax
call fcn.004334bd
mov dword [esp], 0x45a858
push edi
mov dword [0x46b30c], eax
call esi
push eax
call fcn.004334bd
mov dword [esp], 0x45a844
push edi
mov dword [0x46b310], eax
call esi
push eax
call fcn.004334bd
mov dword [0x46b314], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00433d24
test eax, eax
pop ecx
pop ecx
je 0x43de7f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d674
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43deb1
push 0x45a828
push edi
call esi
push eax
call fcn.004334bd
cmp eax, ebx
pop ecx
mov dword [0x46b31c], eax
je 0x43deb1
push 0x45a810
push edi
call esi
push eax
call fcn.004334bd
pop ecx
mov dword [0x46b318], eax
mov eax, dword [0x46b318]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43df36
cmp dword [0x46b31c], ecx
je 0x43df36
push eax
call fcn.00433534
push dword [0x46b31c]
mov esi, eax
call fcn.00433534
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43df36
cmp edi, ebx
je 0x43df36
call esi
cmp eax, ebx
je 0x43df03
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43df03
test byte [ebp - 0x18], 1
jne 0x43df36
lea eax, [ebp - 0x10]
push eax
call fcn.00433d5b
test eax, eax
pop ecx
je 0x43df1e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d674
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43df2d
or dword [ebp + 0x10], 0x200000
jmp 0x43df71
or dword [ebp + 0x10], 0x40000
jmp 0x43df71
mov eax, dword [0x46b310]
cmp eax, dword [ebp - 8]
je 0x43df71
push eax
call fcn.00433534
cmp eax, ebx
pop ecx
je 0x43df71
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43df71
mov eax, dword [0x46b314]
cmp eax, dword [ebp - 8]
je 0x43df71
push eax
call fcn.00433534
cmp eax, ebx
pop ecx
je 0x43df71
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46b30c]
call fcn.00433534
cmp eax, ebx
pop ecx
je 0x43df91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43df93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44063a
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x44063a
mov dword [ebp - 8], 1
jmp 0x440641
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x444080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455560
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x46831c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
push 0
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x3c]
call fcn.0041b000
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xb8]
call fcn.00440ea0
call fcn.00409eb0
mov dword [ebp - 0x10], eax
push 1
mov ecx, dword [ebp - 0x10]
call fcn.00449cb0
push 2
call fcn.00405c60
mov ecx, eax
call fcn.00450440
mov ecx, dword [ebp - 0x10]
call fcn.0044d440
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
test edx, edx
jne 0x444145
lea ecx, [ebp - 0xb4]
call fcn.00446760
mov dword [ebp - 4], 0
push 0x190
push 0x1f4
push 0x45b784
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0xb4]
call fcn.0041ecf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00446740
mov ecx, dword [ebp - 0xb8]
call fcn.00440e40
push 0
push 0
push 0x10
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x3c]
call fcn.0041b000
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x445f70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x445fbc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445fab
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x10], eax
jmp 0x445fb2
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
call fcn.0041f590
push eax
call fcn.0041f6c0
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.0040b800
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x447530
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x447589
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x447596
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
Function at 0x4475f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x14], 0
jne 0x447610
xor eax, eax
jmp 0x447724
mov dword [ebp - 0xc], 0
push 0x45c4a4
mov eax, dword [ebp + 8]
push eax
call fcn.0040cb00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x447638
mov dword [ebp - 0xc], htonl
jmp 0x447657
push 0x45c4b0
mov edx, dword [ebp + 8]
push edx
call fcn.0040cb00
add esp, 8
movzx eax, al
test eax, eax
je 0x447657
mov dword [ebp - 0xc], 0x80000001
mov dword [ebp - 8], 0
call fcn.004475a0
neg eax
sbb eax, eax
and eax, 0x200
add eax, 0x20019
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x447722
cmp dword [ebp - 8], 0
je 0x447722
mov word [ebp - 0x228], 0
push 0x20a
push 0
lea edx, [ebp - 0x226]
push edx
call fcn.0042d5f0
add esp, 0xc
mov dword [ebp - 0x10], 0x20b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x447714
push 0x103
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0042de70
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x447724
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x447724
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x4479d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454150
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], 0
push 0x103
lea eax, [ebp - 0x23c]
push eax
push 0x45c4c8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x447a46
push 0x45c4e4
mov ecx, dword [ebp + 8]
call fcn.00401c70
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov eax, dword [ebp + 8]
jmp 0x447a89
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401c70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405a30
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x447c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454413
mov eax, dword fs:[0]
push eax
mov eax, 0x1144
call fcn.0043f230
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1150], 0
lea ecx, [ebp - 0x2c]
call fcn.0040d550
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 0xc]
call fcn.004059e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x447dd3
lea eax, [ebp - 0x114c]
push eax
call fcn.00448670
add esp, 4
mov dword [ebp - 0x58], 0x1000
mov byte [ebp - 0x105c], 0
push 0xfff
push 0
lea ecx, [ebp - 0x105b]
push ecx
call fcn.0042d5f0
add esp, 0xc
mov dword [ebp - 0x54], 0
push 0
lea edx, [ebp - 0x34]
push edx
push 0x1000
lea eax, [ebp - 0x105c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x447d22
cmp dword [ebp - 0x34], 0
jbe 0x447d22
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x105c]
push eax
lea ecx, [ebp - 0x114c]
push ecx
call fcn.00449ae0
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x447d2e
cmp dword [ebp - 0x34], 0
ja 0x447cdd
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x106c], 0
xor eax, eax
mov dword [ebp - 0x106b], eax
mov dword [ebp - 0x1067], eax
mov dword [ebp - 0x1063], eax
mov word [ebp - 0x105f], ax
mov byte [ebp - 0x105d], al
lea ecx, [ebp - 0x106c]
push ecx
lea edx, [ebp - 0x114c]
push edx
call fcn.004499a0
add esp, 8
mov byte [ebp - 0x10ac], 0
push 0x3f
push 0
lea eax, [ebp - 0x10ab]
push eax
call fcn.0042d5f0
add esp, 0xc
push 0x3f
lea ecx, [ebp - 0x10ac]
push ecx
lea edx, [ebp - 0x106c]
push edx
call fcn.004485b0
add esp, 0xc
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x50]
call fcn.00405b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401c50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00405b70
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405ab0
mov eax, dword [ebp - 0x1150]
or eax, 1
mov dword [ebp - 0x1150], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405b70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret
Function at 0x447e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x46831c]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0042d5f0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x447f0e
cmp dword [ebp - 4], 0x104
ja 0x447f0e
mov word [ebp - 0xe], 0
mov word [ebp - 0x630], 0
push 0x410
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.0042d5f0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x208
ja 0x447ed7
cmp dword [ebp - 0x634], 0
jne 0x447ee8
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.00409e70
jmp 0x447f07
mov eax, dword [ebp - 0x634]
mov word [ebp + eax*2 - 0x630], 0
lea ecx, [ebp - 0x630]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409e70
mov eax, 1
jmp 0x447f10
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042d168
mov esp, ebp
pop ebp
ret

Function at 0x448670
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret