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

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4759bc]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x436a5d
xor eax, eax
jmp 0x436be6
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x479ca0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x436a99
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00437d29
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x436b74
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x436bb2
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x436afd
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x436aee
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x436ace
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436b3d
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x436b46
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x436abf
jmp 0x436b48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x436be1
cmp dword [ebp - 0x6c], edi
je 0x436bb2
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x436ba7
call fcn.0042f76d
mov dword [eax], 9
call fcn.0042f776
mov dword [eax], esi
jmp 0x436bdc
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436b9c
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x436b48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x436b48
push dword [ebp - 0x6c]
call fcn.0042f77f
pop ecx
jmp 0x436bdc
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x436bca
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x436bca
xor eax, eax
jmp 0x436be4
call fcn.0042f76d
mov dword [eax], 0x1c
call fcn.0042f776
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x436be4
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.004359f3
add ebp, 0x3a0
leave
ret
Function at 0x436f96
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x478c00], ebx
push esi
push edi
jne 0x437016
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x437051
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d324
push edi
call esi
test eax, eax
mov dword [0x478c00], eax
je 0x437051
push 0x46d314
push edi
call esi
push 0x46d300
push edi
mov dword [0x478c04], eax
call esi
cmp dword [0x478778], 2
mov dword [0x478c08], eax
jne 0x437016
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x478c10], eax
je 0x437016
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x478c0c], eax
mov eax, dword [0x478c0c]
test eax, eax
je 0x43705b
call eax
test eax, eax
je 0x437042
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x478c10]
test eax, eax
je 0x437042
test byte [ebp - 8], 1
jne 0x43705b
cmp dword [0x478784], 4
jb 0x437055
or byte [ebp + 0x12], 0x20
jmp 0x43707a
xor eax, eax
jmp 0x43708a
or byte [ebp + 0x12], 4
jmp 0x43707a
mov eax, dword [0x478c04]
test eax, eax
je 0x43707a
call eax
mov ebx, eax
test ebx, ebx
je 0x43707a
mov eax, dword [0x478c08]
test eax, eax
je 0x43707a
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x478c00]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438635
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 0x43864e
or eax, 0xffffffff
jmp 0x4386af
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4386ab
push 0x3d
push esi
call fcn.00438953
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4386ab
cmp esi, eax
je 0x4386ab
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x478798]
sete cl
cmp eax, dword [0x47879c]
mov dword [ebp - 8], ecx
jne 0x438691
mov edi, eax
call fcn.004385d4
mov dword [0x478798], eax
cmp eax, ebx
jne 0x4386ea
cmp dword [ebp + 0xc], ebx
je 0x4386b3
cmp dword [0x4787a0], ebx
je 0x4386b3
call fcn.00437ffe
test eax, eax
je 0x4386ea
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4386bc
xor eax, eax
jmp 0x4386ae
push 4
call fcn.0042f2a2
cmp eax, ebx
pop ecx
mov dword [0x478798], eax
je 0x4386ab
mov dword [eax], ebx
cmp dword [0x4787a0], ebx
jne 0x4386ea
push 4
call fcn.0042f2a2
cmp eax, ebx
pop ecx
mov dword [0x4787a0], eax
je 0x4386ab
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x478798]
call fcn.00438587
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x43874b
cmp dword [esi], ebx
je 0x43874b
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0042f2b4
cmp dword [ebp - 8], ebx
pop ecx
jne 0x43872e
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x43878c
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x438725
mov eax, edi
shl eax, 2
push eax
push dword [0x478798]
call fcn.004310ff
cmp eax, ebx
pop ecx
pop ecx
je 0x43878c
jmp 0x438787
cmp dword [ebp - 8], ebx
jne 0x4387f7
cmp edi, ebx
jge 0x43875a
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x478798]
call fcn.004310ff
cmp eax, ebx
pop ecx
pop ecx
je 0x4386ab
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 [0x478798], eax
cmp dword [ebp + 0xc], ebx
je 0x4387e1
push dword [ebp - 4]
call fcn.00432170
inc eax
inc eax
push eax
call fcn.0042f2a2
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4387e1
push dword [ebp - 4]
push esi
call fcn.00433a00
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 0x4387da
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0042f2b4
pop ecx
cmp dword [ebp - 8], ebx
je 0x4387ef
push dword [ebp - 4]
call fcn.0042f2b4
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4386ae
push dword [ebp - 4]
call fcn.0042f2b4
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4386b8
Function at 0x43ceb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
push edi
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call fcn.00459240
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x43cf0d
call fcn.00459240
mov ecx, dword [esi + 0x38]
mov ebx, dword [eax + 0xc]
push 5
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43cf1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x43cf36
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00459240
mov eax, dword [eax + 4]
test eax, eax
je 0x43cf4b
push 0
mov ecx, eax
call fcn.0044bc50
mov eax, dword [esi + 0x48]
test eax, eax
je 0x43cf55
mov eax, dword [eax + 0x1c]
lea edx, [esi + 0x4c]
push edx
push eax
call fcn.0044bc90
mov edi, eax
push esi
mov dword [ebp - 0x20], edi
call fcn.0043fd20
call fcn.0043eb40
test edi, edi
mov dword [ebp - 0x1c], 0
je 0x43cf95
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43cf95
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 1
push esi
mov dword [ebp - 4], 0
call fcn.0043fd20
push edi
call fcn.0043d430
push ebx
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0043cc40
test eax, eax
je 0x43d01f
test byte [esi + 0x24], 0x10
je 0x43cfe2
mov ecx, dword [esi + 0x1c]
push 0xfffffffffffffff0
push ecx
mov ebx, 4
call dword [sym.imp.USER32.dll_GetWindowLongA]
test ah, 1
je 0x43cfda
mov ebx, 5
push ebx
mov ecx, esi
call fcn.0043e720
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x43d01f
push 0x97
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x43d01f
mov eax, dword [ebp - 0x1c]
test eax, eax
mov dword [ebp - 4], 0xffffffff
je 0x43d036
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x43d04c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x43d04c
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, esi
call fcn.0043ce60
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d5a0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, dword [esp + 0xc]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00441e00
mov edx, dword [esi + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00441dc0
pop edi
pop esi
ret 4
Function at 0x43de80
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
push 0x47803c
mov ecx, esi
call fcn.00441b80
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x43ded7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edx, [eax + 1]
push edx
push eax
mov ecx, esi
call fcn.00441e00
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00441dc0
mov eax, dword [esi]
mov eax, dword [eax - 8]
pop edi
pop esi
ret 8
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
pop edi
pop esi
ret 8
Function at 0x440f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
mov ebp, ecx
je 0x440fd5
call fcn.00459240
mov esi, dword [eax + 0xc]
push 0xf0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x440fd5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x440fcc
pop edi
pop esi
pop ebp
pop ebx
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00440dc0
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4420a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45de51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
xor eax, eax
mov dword [esp + 0xc], eax
mov ebp, dword [0x47559c]
push esi
push edi
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x30]
cmp edi, eax
mov dword [esp + 0x20], 1
je 0x4420e2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esi - 8]
lea eax, [ecx + ebx]
test eax, eax
je 0x44213e
push eax
lea ecx, [esp + 0x18]
call fcn.00441820
test esi, esi
mov ebp, dword [esp + 0x14]
je 0x442123
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44213e
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edi, [ebx + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xc]
test eax, eax
mov esi, dword [esp + 0x2c]
lea edi, [ebp - 0xc]
pop ebx
jl 0x442158
push edi
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x442168
mov ecx, dword [0x47559c]
mov dword [esi], ecx
push ebp
mov ecx, esi
call fcn.00441b80
mov eax, dword [0x4755a0]
add ebp, 0xfffffff4
cmp ebp, eax
mov dword [esp + 0x14], 1
mov byte [esp + 0x20], 0
je 0x442193
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x442193
mov ecx, edi
call fcn.00441710
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x443130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0xc]
push eax
push str.CLSID
push 0x80000000
mov dword [esp + 0x18], 0
xor esi, esi
call edi
test eax, eax
jne 0x4431f6
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push edx
push eax
call edi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4431ee
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push str.InProcServer32
push edx
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x4431e7
mov esi, dword [esp + 0x20]
push 0x104
mov ecx, esi
call fcn.00441d40
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x45f743
push eax
mov dword [esp + 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, esi
mov edi, eax
call fcn.00441dc0
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
sete cl
push edx
mov esi, ecx
call ebx
mov eax, dword [esp + 0xc]
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebx
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret 8

Function at 0x443480
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
push esi
mov esi, ecx
jne 0x44348f
pop esi
ret 8
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4434ba
mov esi, dword [esi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004441c0
mov eax, dword [esp + 0xc]
pop esi
ret 8

Function at 0x4434d0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
je 0x44351a
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x443507
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004441c0
cmp dword [esp + 0x10], edi
je 0x44351a
mov eax, dword [esi + 0xc]
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00444150
pop edi
pop esi
ret 8

Function at 0x443730
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x443775
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x443767
mov esi, dword [esi + 0xc]
push esi
call edi
push eax
call fcn.004441c0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 8]
pop esi
add esp, 8
ret
Function at 0x4438b0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45e35b
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x16c]
lea eax, [esp + 0x10]
push eax
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x443905
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x4439b6
mov ecx, dword [0x47559c]
mov dword [esp + 8], ecx
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x168], 0
call fcn.00443200
mov edx, dword [esp + 8]
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x443960
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.004419e0
xor eax, eax
jmp 0x4439b6
test byte [esp + 0xc], 2
jne 0x44396e
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [esp + 0xc], 4
jne 0x44399d
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x44399d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.004419e0
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret 8
Function at 0x443cf0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov dword [ebp - 4], 0
je 0x443e3b
mov edi, dword [ebp + 0xc]
push 0x800
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x443e3b
test dword [ebp - 0x15c], 0x10000
je 0x443e3b
lea edx, [ebp - 4]
push edx
push 0x46a0c4
push 0
push 0x46a0d4
lea ecx, [ebp + 8]
call fcn.00443c80
test eax, eax
jl 0x443e3b
mov eax, dword [ebp - 4]
test eax, eax
je 0x443e3b
lea edx, [ebp + 0xc]
push edx
push 0x46d5bc
mov dword [ebp + 0xc], 0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x443e32
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x443e32
test edi, edi
jne 0x443da3
xor eax, eax
jmp 0x443dc8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.0042e150
mov eax, esp
push esi
push edi
push eax
call fcn.004417e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push 0
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x443e25
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push 2
push eax
push ecx
call dword [edx + 0x4c]
test eax, eax
jl 0x443e25
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
lea esp, [ebp - 0x16c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443e32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
lea esp, [ebp - 0x16c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4467c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
mov edi, dword [esp + 0x114]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [esp + 0x110]
mov esi, eax
cmp esi, 0x100
ja 0x44680d
push 0x100
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x44680d
push edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x446815
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
add esp, 0x100
ret 8

Function at 0x44c0c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [0x477fb8]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x1c]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
ret
Function at 0x44c1d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x44c224
mov eax, dword [esp + 0x18]
push eax
call fcn.00458b60
mov esi, eax
test esi, esi
jne 0x44c1f4
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
push edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x46269c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
add esp, 0x10
ret 0xc

Function at 0x44c1d3
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x44c224
mov eax, dword [esp + 0x18]
push eax
call fcn.00458b60
mov esi, eax
test esi, esi
jne 0x44c1f4
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
push edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x46269c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
add esp, 0x10
ret 0xc

Function at 0x44c260
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x44c2f5
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
push esi
push edi
jne 0x44c297
call fcn.00458aa0
mov esi, eax
test esi, esi
jne 0x44c289
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x44c2df
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x44c2b9
mov edx, dword [esp + 0x10]
push edx
call fcn.00458b60
mov esi, eax
test esi, esi
je 0x44c281
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x44c2df
mov eax, dword [esp + 0x10]
push eax
call fcn.00458b60
mov esi, eax
test esi, esi
je 0x44c281
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
ret 0xc
mov ecx, dword [ecx + 0x90]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
ret 0xc