joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c5d0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x49a2e4]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x49abc0]
je 0x43c605
inc eax
cmp eax, 0x13
jb 0x43c5f6
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x49abc0]
jne 0x43c72b
mov eax, dword [0x49e1a0]
cmp eax, 1
je 0x43c703
cmp eax, edx
jne 0x43c635
cmp dword [0x49a324], 1
je 0x43c703
cmp ecx, 0xfc
je 0x43c72b
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x43c66b
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.0043d7c0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00435530
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43c69f
mov eax, edi
push eax
call fcn.00435530
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x47be2c
push edi
call fcn.00433c70
add esp, 0x10
push edi
call fcn.00435530
push dword [esi + 0x49abc4]
mov ebx, eax
call fcn.00435530
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00433af0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0043d7c0
push edi
push ebx
call fcn.0043d7d0
push 0x484560
push ebx
call fcn.0043d7d0
push dword [esi + 0x49abc4]
push ebx
call fcn.0043d7d0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043dae8
add esp, 0x2c
jmp 0x43c72b
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x49abc4]
push dword [esi]
call fcn.00435530
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0043291f
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret

Function at 0x43d5c1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x43d5ef
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
test eax, eax
je 0x43d5f4
cmp eax, 1
je 0x43d5f4
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43d5f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x49a2e4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x43d670
push ebx
call fcn.0043d5c1
test eax, eax
pop ecx
jne 0x43d63f
call fcn.004359b8
mov dword [eax], 0xf
call fcn.004359af
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0043291f
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameA]
jmp 0x43d682
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
test eax, eax
je 0x43d632
inc eax
cmp eax, 0x104
ja 0x43d632
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x43d6ba
cmp eax, dword [ebp + 0x10]
jg 0x43d69d
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043450d
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43d6cf
call fcn.004359af
mov dword [eax], 0xc
jmp 0x43d632
cmp eax, dword [ebp + 0x10]
jle 0x43d6cf
call fcn.004359af
mov dword [eax], 0x22
jmp 0x43d632
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.0043d7c0
pop ecx
pop ecx
jmp 0x43d634

Function at 0x43dae8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x49e5a0], ebx
push esi
push edi
jne 0x43db68
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43dba3
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x485424
push edi
call esi
test eax, eax
mov dword [0x49e5a0], eax
je 0x43dba3
push 0x485414
push edi
call esi
push 0x485400
push edi
mov dword [0x49e5a4], eax
call esi
cmp dword [0x49e148], 2
mov dword [0x49e5a8], eax
jne 0x43db68
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x49e5b0], eax
je 0x43db68
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x49e5ac], eax
mov eax, dword [0x49e5ac]
test eax, eax
je 0x43dbad
call eax
test eax, eax
je 0x43db94
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x49e5b0]
test eax, eax
je 0x43db94
test byte [ebp - 8], 1
jne 0x43dbad
cmp dword [0x49e154], 4
jb 0x43dba7
or byte [ebp + 0x12], 0x20
jmp 0x43dbcc
xor eax, eax
jmp 0x43dbdc
or byte [ebp + 0x12], 4
jmp 0x43dbcc
mov eax, dword [0x49e5a4]
test eax, eax
je 0x43dbcc
call eax
mov ebx, eax
test ebx, ebx
je 0x43dbcc
mov eax, dword [0x49e5a8]
test eax, eax
je 0x43dbcc
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x49e5a0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f22e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00433af0
mov eax, dword [0x49a2e4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0043b8cc
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x43f361
push 2
push esi
push dword [ebp + 8]
call fcn.0043b8cc
add esp, 0xc
cmp eax, ebx
je 0x43f361
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43f301
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00435170
push 0x8000
push dword [ebp + 8]
call fcn.0043fd31
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x43f2b7
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0043be65
add esp, 0xc
cmp eax, 0xffffffff
je 0x43f2d7
sub edi, eax
test edi, edi
jg 0x43f2af
jmp 0x43f2ef
call fcn.004359b8
cmp dword [eax], 5
jne 0x43f2ec
call fcn.004359af
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0043fd31
pop ecx
pop ecx
jmp 0x43f349
jge 0x43f349
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b8cc
push dword [ebp + 8]
call fcn.00435b2f
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x43f349
call fcn.004359af
mov dword [eax], 0xd
call fcn.004359b8
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0043b8cc
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43f363
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0043291f
leave
ret
Function at 0x4404a3
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4404bc
or eax, 0xffffffff
jmp 0x44051d
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x440519
push 0x3d
push esi
call fcn.00433d94
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x440519
cmp esi, eax
je 0x440519
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x49e168]
sete cl
cmp eax, dword [0x49e16c]
mov dword [ebp - 8], ecx
jne 0x4404ff
mov edi, eax
call fcn.00440442
mov dword [0x49e168], eax
cmp eax, ebx
jne 0x440558
cmp dword [ebp + 0xc], ebx
je 0x440521
cmp dword [0x49e170], ebx
je 0x440521
call fcn.0043fc37
test eax, eax
je 0x440558
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x44052a
xor eax, eax
jmp 0x44051c
push 4
call fcn.0043450d
cmp eax, ebx
pop ecx
mov dword [0x49e168], eax
je 0x440519
mov dword [eax], ebx
cmp dword [0x49e170], ebx
jne 0x440558
push 4
call fcn.0043450d
cmp eax, ebx
pop ecx
mov dword [0x49e170], eax
je 0x440519
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x49e168]
call fcn.004403f5
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4405b9
cmp dword [esi], ebx
je 0x4405b9
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0043451f
cmp dword [ebp - 8], ebx
pop ecx
jne 0x44059c
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4405fa
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x440593
mov eax, edi
shl eax, 2
push eax
push dword [0x49e168]
call fcn.004356e3
cmp eax, ebx
pop ecx
pop ecx
je 0x4405fa
jmp 0x4405f5
cmp dword [ebp - 8], ebx
jne 0x440665
cmp edi, ebx
jge 0x4405c8
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x49e168]
call fcn.004356e3
cmp eax, ebx
pop ecx
pop ecx
je 0x440519
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x49e168], eax
cmp dword [ebp + 0xc], ebx
je 0x44064f
push dword [ebp - 4]
call fcn.00435530
inc eax
inc eax
push eax
call fcn.0043450d
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x44064f
push dword [ebp - 4]
push esi
call fcn.0043d7c0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
test eax, eax
jne 0x440648
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0043451f
pop ecx
cmp dword [ebp - 8], ebx
je 0x44065d
push dword [ebp - 4]
call fcn.0043451f
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x44051c
push dword [ebp - 4]
call fcn.0043451f
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x440526
Function at 0x444a30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x444a7f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x444a54
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x444a91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x444aa5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x444aeb
xor ecx, ecx
cmp edi, 0x100
jb 0x444ac8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4452ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x49ea3c], 0
je 0x4452c5
mov eax, dword [0x49b940]
leave
ret
push edi
push esi
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x445387
xor eax, eax
cmp dword [ebp - 0x84], 2
sete al
test eax, eax
mov dword [0x49b940], eax
je 0x445356
push str.ntdll.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x445387
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
test eax, eax
mov dword [0x49ea24], eax
je 0x44533a
mov dword [0x49b938], 0x4000
push str.NtOpenFile
push edi
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x49ea28], eax
call esi
mov dword [0x49ea2c], eax
jmp 0x445387
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x445387
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x486358
push edi
call esi
push 0x486348
push edi
mov dword [0x49ea30], eax
call esi
mov dword [0x49ea34], eax
mov eax, dword [0x49b940]
pop esi
mov dword [0x49ea3c], 1
pop edi
leave
ret

Function at 0x4453a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4453ec
jle 0x4453e7
cmp eax, 3
jg 0x4453e7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4453de
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x4453cc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.004463e0
mov eax, 1
ret 0x10

Function at 0x445960
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x4459ac
jle 0x4459a7
cmp eax, 3
jg 0x4459a7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x44599e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x44598c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00446850
mov eax, 1
ret 0x10
Function at 0x445e80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x445fc2
dec eax
je 0x445ec6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.00445410
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x445f04
push esi
push 1
push ebp
call fcn.00445410
test eax, eax
je 0x445f04
mov eax, 1
jmp 0x445f06
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x445f77
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x445f64
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00445790
test eax, eax
je 0x445f64
push esi
push ebp
push ebp
push ebp
call fcn.00445790
test eax, eax
je 0x445f64
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00445800
test eax, eax
je 0x445f64
mov eax, 1
jmp 0x445f66
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x445f1a
test eax, eax
je 0x445eb7
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.00445800
test eax, eax
je 0x445eb7
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004454d0
test eax, eax
je 0x445eb7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x446019
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x445fd1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x447240
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x447274
sub eax, 0x64
je 0x447274
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x447274
push 0xc
call fcn.0044d020
add esp, 0x24
ret
push 4
call fcn.0044d020
add esp, 0x24
ret
Function at 0x44ba15
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.0044ba58
test eax, eax
je 0x44ba54
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8
Function at 0x44c570
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x44c595
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x44c79c
cmp ebx, 0x40
ja 0x44c79c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x44c5c3
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.0044b040
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.0044b040
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x44c73e
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x44c730
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.0044ae30
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x44c6c2
push ebx
push edx
call fcn.0044b040
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44c714
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.0044ae30
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x44c707
jmp 0x44c718
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x44c69b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x44c654
mov edi, dword [esp + 0x544]
test edi, edi
je 0x44c75b
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44c78a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x44f2c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x4548c1
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x46f9bb
call fcn.004351d0
sub esp, 0x9c
mov eax, dword [0x49a2e4]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa8], esi
call fcn.00456e1e
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.004019e0
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x454952
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00435170
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], edi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x45494b
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x454952
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0043450d
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x454967
call fcn.00454641
push dword [ebp + 0x20]
push ebx
push eax
call fcn.00435170
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1c0], ebx
lea ecx, [esi + 0x7c]
mov byte [ecx], bl
lea edi, [esi + 0xbc]
mov byte [edi], bl
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x4549e4
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00469602
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x454c82
je 0x454a10
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x454a46
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.00402920
push ebx
mov ecx, edi
call fcn.00401a00
jmp 0x454a2f
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.00433d94
cmp eax, ebx
pop ecx
pop ecx
jne 0x454a2c
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043291f
leave
ret 0x1c
Function at 0x4571c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4571ff
call fcn.00469602
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x457210
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x457249
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x45722e
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x457236
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x457247
test ax, ax
jne 0x457247
test si, si
je 0x457249
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x457258
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret