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

Disassembly:
push 0x54
mov eax, 0x489093
call fcn.0045cc20
mov edi, ecx
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x38], edi
je 0x43c852
cmp byte [edi + 0x41], 0
je 0x43c852
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x43c77a
xor al, al
jmp 0x43c854
lea eax, [ebp - 0x30]
call fcn.0043c57f
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.0043c5df
mov esi, eax
call fcn.0043cebe
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.0043c5df
mov esi, eax
call fcn.0043cebe
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x43c7ea
dec eax
je 0x43c7ee
dec eax
dec eax
je 0x43c84e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00414455
mov al, bl
jmp 0x43c854
mov byte [edi + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.0043c5df
mov esi, eax
call fcn.0043cebe
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x43c82c
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.0043c5df
mov esi, eax
call fcn.0043cebe
push dword [edi + 0x4c]
push ebx
push 1
push eax
call fcn.00458017
add esp, 0x10
cmp ebx, eax
jne 0x43c7d8
cmp byte [edi + 0x41], 0
je 0x43c84e
test ebx, ebx
jne 0x43c78c
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.0043c59b
mov edi, dword [ebp - 0x38]
jmp 0x43c78c
mov bl, 1
jmp 0x43c7da
mov al, 1
call fcn.0045cca3
ret

Function at 0x43edd7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
xor edi, edi
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x43ee5e
mov eax, dword [esi]
mov dword [ebp - 4], edi
cmp dword [eax - 4], 1
push ebx
mov ebx, dword [eax - 0xc]
jle 0x43ee16
push ebx
push esi
call fcn.00430533
mov eax, dword [esi]
push edi
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
cmp eax, edi
jne 0x43ee35
xor eax, eax
jmp 0x43ee3c
push eax
call fcn.00454db0
pop ecx
mov edx, esi
call fcn.004304a4
cmp dword [ebp - 0x10], edi
je 0x43ee54
cmp dword [ebp - 4], ebx
jne 0x43ee54
mov dword [ebp - 0xc], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
leave
ret
Function at 0x43fafd
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x488e22
call fcn.0045cbb7
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401860
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fb3d
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, esi
call fcn.0045cc8f
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43fb27
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x43fb27
lea ecx, [ebp - 0x10]
call fcn.0043fb92
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43fb74
xor esi, esi
jmp 0x43fb2a
push eax
call fcn.0043fafd
test eax, eax
pop ecx
je 0x43fb70
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43fb27
call edi
cmp eax, ebx
jne 0x43fb70
jmp 0x43fb27

Function at 0x43fc06
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x48baa1
call fcn.0045cbb7
mov edi, ecx
and dword [ebp - 0x20], 0
test edi, edi
je 0x43fd38
cmp word [edi], 0
je 0x43fd38
mov ebx, 0x400000
lea ecx, [ebp - 0x14]
call fcn.00441ae3
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00440677
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00437341
lea ecx, [ebp - 0x1c]
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004373b2
lea ecx, [ebp - 0x10]
push 0x49a4e4
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004373b2
add esp, 0x18
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040154a
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040154a
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43fcd9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004016be
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040154a
jmp 0x43fd43
mov eax, dword [0x4afd74]
mov ecx, 0x4afd74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push edi
push str.http:__pcmgrcdn.imeitools.com_softicons48__s.png
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00438ef3
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
push edi
call fcn.0043fd4b
add esp, 0x10
test eax, eax
jne 0x43fd26
push 0x494d44
push esi
call fcn.00401860
lea eax, [edi - 0x10]
call fcn.0040154a
jmp 0x43fcc1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004016be
add eax, 0x10
mov dword [esi], eax
jmp 0x43fd1c
push 0x494d44
push esi
call fcn.00401860
mov eax, esi
call fcn.0045cc8f
ret
Function at 0x4407b5
Capabilities:
Get common file path

Disassembly:
call fcn.00440af3
test eax, eax
mov dword [esi + 0x418], eax
je 0x4407f5
push edi
lea edi, [esi + 0x410]
mov eax, dword [edi]
test eax, eax
jne 0x4407e2
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [edi], eax
je 0x4407f4
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x414], eax
pop edi
and word [esi], 0
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x440836
movzx ecx, word [esi + eax*2 - 2]
cmp cx, 0x2f
je 0x44081a
cmp cx, 0x5c
jne 0x440820
and word [esi + eax*2 - 2], 0
mov ecx, 0x103
sub ecx, eax
push ecx
push str.explorer.exe
push esi
call fcn.00458b76
add esp, 0xc
push esi
call fcn.00440a5f
xor eax, eax
inc eax
ret

Function at 0x440a5f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
test byte [0x4b0f0c], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], vtable.CKANRegisterKey.0
jne 0x440a8d
or dword [0x4b0f0c], 1
call esi
mov dword [0x4b0f08], eax
call esi
mov ecx, eax
sub ecx, dword [0x4b0f08]
cmp ecx, 0x493e0
jb 0x440ae6
mov esi, dword [ebp + 8]
add esi, 0x208
and word [esi], 0
cmp dword [ebp - 4], 0
mov dword [0x4b0f08], eax
je 0x440ac4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.Control_PanelDesktop
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x440ae6
push esi
lea eax, [ebp - 8]
push eax
call fcn.00441840
lea ecx, [ebp - 8]
call fcn.00441823
pop esi
leave
ret 4

Function at 0x440af3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4ab1a4]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x440b49
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x440b52
cmp dword [ebp - 0x7c], 6
jb 0x440b52
xor edi, edi
inc edi
mov ecx, dword [ebp + 0x9c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045447b
add ebp, 0xa0
leave
ret

Function at 0x440cc5
Capabilities:
Read .ini file

Disassembly:
push ebp
xor ebp, ebp
cmp dword [ebx], ebp
push esi
push edi
jge 0x440cd3
xor eax, eax
inc eax
jmp 0x440d1c
lea edi, [ebx + 0xc]
mov esi, str.poptime
mov edx, edi
call fcn.00443687
push edx
push eax
call fcn.00441671
test eax, eax
je 0x440d04
push dword [edi]
push ebp
push str.count
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
jmp 0x440d15
push ebp
push str.count
push str.info
push edi
call fcn.00443796
xor eax, eax
cmp ebp, dword [ebx]
setl al
pop edi
pop esi
pop ebp
ret
Function at 0x440d20
Capabilities:
Read .ini file

Disassembly:
push ebp
xor ebp, ebp
cmp dword [ebx], ebp
push esi
push edi
jge 0x440d2e
xor eax, eax
inc eax
jmp 0x440d77
lea edi, [ebx + 0xc]
mov esi, str.poptime_rcmd
mov edx, edi
call fcn.00443687
push edx
push eax
call fcn.00441671
test eax, eax
je 0x440d5f
push dword [edi]
push ebp
push str.count_rcmd
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
jmp 0x440d70
push ebp
push str.count_rcmd
push str.info
push edi
call fcn.00443796
xor eax, eax
cmp ebp, dword [ebx]
setl al
pop edi
pop esi
pop ebp
ret

Function at 0x440edf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, eax
add edi, 0xc
push dword [edi]
mov ebx, str.info
push 0
push str.count
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, str.poptime
mov edx, edi
mov dword [esp + 0xc], eax
call fcn.00443687
push edx
push eax
call fcn.00441671
test eax, eax
je 0x440f26
mov eax, dword [esp + 0xc]
inc eax
push eax
jmp 0x440f28
push 1
push str.count
push ebx
push edi
call fcn.00443796
push 0
call fcn.0045448a
pop ecx
push edx
push eax
push esi
push edi
call fcn.004437f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440f4c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489f3f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ab1a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
add edi, 0xc
push dword [edi]
mov ebx, str.info
push 0
push str.count_rcmd
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, str.poptime_rcmd
mov edx, edi
mov dword [esp + 0x10], eax
call fcn.00443687
push edx
push eax
call fcn.00441671
test eax, eax
je 0x440fb5
mov eax, dword [esp + 0x10]
inc eax
push eax
jmp 0x440fb7
push 1
push str.count_rcmd
push ebx
push edi
call fcn.00443796
push 0
call fcn.0045448a
pop ecx
mov ebx, eax
mov eax, dword [0x4afd74]
mov ecx, 0x4afd74
mov dword [esp + 0x18], edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
and dword [esp + 0x28], 0
push esi
lea eax, [esp + 0x14]
call fcn.00438ef3
mov esi, dword [esp + 0x14]
pop ecx
push dword [esp + 0x18]
push ebx
push esi
push edi
call fcn.004437f4
lea eax, [esi - 0x10]
call fcn.0040154a
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441352
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x488e22
call fcn.0045cbb7
mov edi, ecx
mov eax, dword [0x4afd74]
mov ecx, 0x4afd74
xor ebx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call fcn.0043abf2
push eax
call fcn.0043ac2e
test al, al
jne 0x44139c
xor esi, esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, esi
call fcn.0045cc8f
ret
call fcn.004416a6
test eax, eax
je 0x4413c9
push 0x11
pop esi
call fcn.00440b99
push 1
push 3
push esi
push dword [eax + 8]
push ebx
push 2
push 0x494d44
call fcn.004406f0
add esp, 0x1c
mov esi, ebx
jmp 0x441389
push dword [edi + 0xc]
push ebx
push str.center_rcmd_ignore
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x4413e6
push 0x12
jmp 0x4413a7
call fcn.0043abf2
push eax
call fcn.0043ac8e
test al, al
jne 0x4413f9
push 0xa
jmp 0x4413a7
call fcn.0043abf2
push eax
call fcn.0043ae25
test al, al
je 0x44140c
push 0xc
jmp 0x4413a7
call fcn.0043abf2
push eax
call fcn.0043b053
test al, al
je 0x44141f
push 0xf
jmp 0x4413a7
call fcn.0043abf2
call fcn.0043b2c7
test al, al
je 0x441434
push 0x10
jmp 0x4413a7
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.0043abf2
call fcn.0043b324
test al, al
je 0x441470
lea eax, [ebp - 0x10]
call fcn.0040643a
push str.winmaster
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.004376c9
mov esi, eax
inc esi
neg esi
sbb esi, esi
and esi, 0xfffffff6
add esi, 0xd
jmp 0x4413a8
call fcn.0043abf2
call fcn.0043b3e7
test al, al
je 0x441485
push 0xb
jmp 0x4413a7
call fcn.00440e84
test eax, eax
jne 0x441495
push 6
jmp 0x4413a7
push edi
call fcn.00440dd0
test eax, eax
jne 0x4414a6
push 5
jmp 0x4413a7
xor ebx, ebx
inc ebx
jmp 0x4413c5

Function at 0x4416a6
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x489f1c
call fcn.0045cbb7
mov ebx, 0x400000
lea ecx, [ebp - 0x14]
call fcn.00441ae3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.datagaiacache.dat
push ecx
mov ecx, eax
call fcn.004373b2
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040154a
push dword [ebp - 0x10]
push 1
push str.rcmd_switch
push str.rcmd
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x10]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
call fcn.0040154a
mov eax, esi
call fcn.0045cc8f
ret

Function at 0x4417ce
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x4b0d14]
test eax, eax
jne 0x441804
mov eax, dword [esp + 4]
push dword [eax + 0xc]
push 0
push str.rcmd_pop_cur
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jg 0x4417fa
push 7
pop eax
jmp 0x441804
cmp eax, 7
jl 0x441803
push 4
jmp 0x4417f7
inc eax
ret 4
Function at 0x441840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
and dword [ebp - 8], 0
test eax, eax
je 0x4418fc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edi, str.SCRNSAVE.EXE
push edi
push eax
mov dword [ebp - 4], 0x208
call esi
xor ecx, ecx
inc ecx
cmp dword [ebp - 0xc], ecx
jne 0x4418f9
test eax, eax
jne 0x441897
and word [ebx + 0x206], ax
mov dword [ebp - 8], ecx
jmp 0x4418f9
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.004570b7
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4418f9
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push edi
push dword [eax + 4]
call esi
test eax, eax
jne 0x4418f2
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
push 0x103
push ebx
shr eax, 1
and word [ebx + eax*2], 0
push 0x104
push esi
call fcn.00457b68
add esp, 0x10
and word [esi + 0x206], 0
mov dword [ebp - 8], 1
push ebx
call fcn.004551da
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x441bef
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x488e22
call fcn.0045cbb7
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401860
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441c2f
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, esi
call fcn.0045cc8f
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x441c19
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x441c19
lea ecx, [ebp - 0x10]
call fcn.00441ba6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x441c66
xor esi, esi
jmp 0x441c1c
push eax
call fcn.00441bef
test eax, eax
pop ecx
je 0x441c62
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x441c19
call edi
cmp eax, ebx
jne 0x441c62
jmp 0x441c19

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441cd6
test al, 0x10
jne 0x441cd6
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x4420de
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x442176
push edi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 4], ebx
mov edi, eax
jne 0x44216c
cmp edi, 0x200000
ja 0x44216c
lea eax, [edi + 2]
push esi
push eax
call fcn.00453739
pop ecx
push ebx
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push dword [ebp - 8]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44216b
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x44216b
mov byte [eax + esi], bl
mov eax, dword [ebp + 8]
mov byte [eax + esi + 1], bl
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp - 0xc], 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret 0xc

Function at 0x443687
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4ab1a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 9
pop ecx
push dword [edx]
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x2c], bx
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
push 0x14
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push eax
push 0x494d44
push esi
push str.info
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4436df
push 0xa
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004590d5
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0045447b
leave
ret

Function at 0x4436f2
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x488d53
call fcn.0045cbb7
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 0xc]
mov ecx, 0x4afd74
call fcn.0040183b
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mov eax, 0x104
mul edx
seto cl
mov dword [ebp - 0x10], 1
neg ecx
or ecx, eax
push ecx
call fcn.00453739
mov esi, eax
test esi, esi
pop ecx
je 0x44377e
push 0x208
push 0
push esi
call fcn.00455160
mov eax, dword [ebp + 8]
add esp, 0xc
push dword [eax]
push 0x104
push esi
push 0x494d44
push str.ruleid
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push dword [ebp + 0xc]
call fcn.00401937
push esi
call fcn.004572a5
pop ecx
jmp 0x44378b
push 0x494d44
push dword [ebp + 0xc]
call fcn.00401937
mov eax, dword [ebp + 0xc]
call fcn.0045cc8f
ret 0xc
Function at 0x443858
Capabilities:
Create directory

Disassembly:
push 0x40
mov eax, 0x489e6d
call fcn.0045cc20
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.0043c29b
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x5c
call fcn.00443585
cmp eax, 0xffffffff
je 0x443942
push eax
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x4c]
call fcn.00443558
cmp dword [eax + 0x18], 8
jb 0x4438a8
mov eax, dword [eax + 4]
jmp 0x4438ab
add eax, 4
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
push 1
lea esi, [ebp - 0x4c]
mov edi, eax
call fcn.0040884a
cmp edi, ebx
je 0x4438f7
cmp edi, 0x50
je 0x4438f7
cmp edi, 0xb7
je 0x4438f7
cmp edi, ebx
jle 0x4438e2
and edi, 0xffff
or edi, 0x80070000
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040884a
mov eax, edi
call fcn.0045cca3
ret 4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x443903
lea eax, [ebp - 0x28]
push ebx
push 0x80
push 1
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x443937
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x443933
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x4438e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x4438e2
mov edi, 0x80070057
jmp 0x4438e2

Function at 0x443a00
Capabilities:
Get disk information

Disassembly:
push 0x2f8
mov eax, 0x489e3d
call fcn.0045cc20
mov eax, dword [ebp + 8]
xor esi, esi
push 0xd2
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0xe6]
push esi
push eax
mov word [ebp - 0xe8], si
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, esi
jne 0x443a50
xor eax, eax
jmp 0x443b37
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [ebp - 0x2f6]
push esi
push eax
sar edi, 2
mov word [ebp - 0x2f8], si
call fcn.00455160
mov word [ebp - 0xf0], si
mov esi, dword [ebp - 0x2fc]
add esp, 0xc
add esi, 4
lea ebx, [ebp - 0xe8]
call fcn.0043c332
test edi, edi
jle 0x443b34
mov dword [ebp - 0x2fc], edi
and word [ebx + 4], 0
push 0x104
lea eax, [ebp - 0x2f8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x443b25
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00401860
and dword [ebp - 4], 0
lea eax, [ebp - 0x304]
push eax
mov edi, esi
call fcn.0043c2d7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x304]
add eax, 0xfffffff0
call fcn.0040154a
push ebx
lea eax, [ebp - 0x300]
push eax
call fcn.00401860
lea eax, [ebp - 0x300]
push eax
mov dword [ebp - 4], 1
call fcn.0043c2d7
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x300]
add eax, 0xfffffff0
call fcn.0040154a
add ebx, 8
dec dword [ebp - 0x2fc]
jne 0x443aa0
xor eax, eax
inc eax
call fcn.0045cca3
ret 4
Function at 0x443b65
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x443be6
push 0x49ab94
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x443be6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push 0x49abe0
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push str.GetProcessImageFileNameW
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x443be1
cmp dword [esi + 4], ebx
je 0x443be1
cmp dword [esi + 8], ebx
je 0x443be1
cmp dword [esi + 0xc], ebx
je 0x443be1
cmp eax, ebx
je 0x443be1
xor eax, eax
inc eax
jmp 0x443be3
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret

Function at 0x443dab
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x4a20c0
call fcn.0045c5b4
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x443e30
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x443e30
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x443e30
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.00443e47
mov eax, dword [ebp - 0x20]
call fcn.0045c5f9
ret