joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42101a
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x42117a
push dword [esp + 0xc]
lea ecx, [esi + 0x64]
call fcn.0041e314
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x42117e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MP3Close
push eax
call edi
push str.MP3DeInit
mov dword [esi], eax
push dword [esi + 0x60]
call edi
push str.MP3GetCurrentPos
mov dword [esi + 4], eax
push dword [esi + 0x60]
call edi
push str.MP3GetLength
mov dword [esi + 8], eax
push dword [esi + 0x60]
call edi
push str.MP3GetMPEG_Args
mov dword [esi + 0xc], eax
push dword [esi + 0x60]
call edi
push str.MP3GetPlayer
mov dword [esi + 0x10], eax
push dword [esi + 0x60]
call edi
push str.MP3GetPlayerMode
mov dword [esi + 0x14], eax
push dword [esi + 0x60]
call edi
push str.MP3Init
mov dword [esi + 0x18], eax
push dword [esi + 0x60]
call edi
push str.MP3Open
mov dword [esi + 0x1c], eax
push dword [esi + 0x60]
call edi
push str.MP3Pause
mov dword [esi + 0x20], eax
push dword [esi + 0x60]
call edi
push str.MP3Play
mov dword [esi + 0x24], eax
push dword [esi + 0x60]
call edi
push str.MP3SetDevice
mov dword [esi + 0x28], eax
push dword [esi + 0x60]
call edi
push str.MP3SetExternalValues
mov dword [esi + 0x2c], eax
push dword [esi + 0x60]
call edi
push str.MP3SetPriority
mov dword [esi + 0x30], eax
push dword [esi + 0x60]
call edi
push str.MP3Stop
mov dword [esi + 0x34], eax
push dword [esi + 0x60]
call edi
push str.MP3Resume
mov dword [esi + 0x38], eax
push dword [esi + 0x60]
call edi
push str.MP3Suspend
mov dword [esi + 0x40], eax
push dword [esi + 0x60]
call edi
cmp dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], eax
pop edi
je 0x42117e
cmp dword [esi + 0x20], ebx
je 0x42117e
cmp dword [esi + 0x34], ebx
je 0x42117e
cmp dword [esi + 0x28], ebx
je 0x42117e
cmp dword [esi], ebx
je 0x42117e
cmp dword [esi + 0x10], ebx
je 0x42117e
cmp dword [esi + 0x14], ebx
je 0x42117e
cmp dword [esi + 8], ebx
je 0x42117e
cmp dword [esi + 0xc], ebx
je 0x42117e
cmp dword [esi + 0x18], ebx
je 0x42117e
cmp dword [esi + 4], ebx
je 0x42117e
cmp dword [esi + 0x1c], ebx
je 0x42117e
cmp dword [esi + 0x30], ebx
je 0x42117e
cmp dword [esi + 0x24], ebx
je 0x42117e
cmp eax, ebx
je 0x42117e
cmp dword [esi + 0x40], ebx
je 0x42117e
mov al, 1
jmp 0x421180
xor al, al
pop esi
pop ebx
ret 4
Function at 0x421ce8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
push str.RAM:_t
lea ecx, [ebp - 0xc]
call fcn.0041e237
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x14
test bl, 1
je 0x421d1d
inc ebx
mov esi, str._d_MB_t
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [0x4817f8], ebx
call fcn.0041e869
mov eax, dword [0x481204]
add esp, 0xc
test eax, eax
jne 0x421d4f
push eax
push 0x4307b8
lea ecx, [ebp - 0xc]
call fcn.0041e449
jmp 0x421d65
push eax
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0041e869
add esp, 0xc
cmp ebx, dword [0x481204]
jb 0x421d6c
push 0x481a14
jmp 0x421d77
inc dword [0x481388]
push 0x4819fc
lea ecx, [ebp - 0xc]
call fcn.0041e4c7
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.00421858
lea ecx, [ebp - 0xc]
mov dword [0x48138c], ebx
call fcn.0041e2fd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422337
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
push edi
je 0x4223cd
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4223cd
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp + 0xc], eax
jbe 0x4223c6
push eax
call fcn.00427869
mov esi, eax
pop ecx
test esi, esi
jne 0x422375
mov eax, 0x8007000e
jmp 0x4223d2
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4223bf
and dword [ebp + 8], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x42eb7c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4223bf
mov eax, dword [ebp + 8]
test eax, eax
je 0x4223bf
mov ecx, dword [eax + 8]
push esi
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
call fcn.0042785e
pop ecx
xor eax, eax
jmp 0x4223d2
push esi
call fcn.0042785e
pop ecx
mov eax, 0x80004005
jmp 0x4223d2
mov eax, 0x80070057
pop edi
pop esi
leave
ret
Function at 0x4224ec
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push 0x481084
lea ecx, [ebp - 0x14]
call fcn.0041e29b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041e3e5
cmp al, 0x5c
je 0x42251d
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041e3fa
push ebx
xor ebx, ebx
push edi
push ebx
push str.Microsoft.NETFramework_
lea ecx, [ebp - 0x14]
call fcn.0041e449
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041e29b
push ebx
push 0x42eed4
lea ecx, [ebp - 0x2c]
call fcn.0041e449
push 0x140
lea eax, [ebp - 0x16c]
push ebx
push eax
call fcn.00426f90
add esp, 0xc
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x422674
test byte [ebp - 0x16c], 0x10
je 0x42264e
cmp byte [ebp - 0x140], 0x2e
je 0x42264e
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041e29b
lea eax, [ebp - 0x140]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0041e449
push ebx
push str._system.dll
lea ecx, [ebp - 0x20]
call fcn.0041e449
lea ecx, [ebp - 0x20]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422646
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 4
jb 0x422646
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x26f]
mov byte [ebp - 0x270], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13d]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00427af0
cmp byte [ebp - 0x13f], 0x32
pop ecx
pop ecx
je 0x422665
cmp byte [ebp - 0x13d], 0x31
jne 0x422634
mov dword [ebp - 4], 1
jmp 0x422646
cmp byte [ebp - 0x13d], 0x30
jne 0x422646
cmp dword [ebp - 4], 0xffffffff
jne 0x422646
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
call fcn.0041e2fd
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jmp 0x42257e
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.0041e2fd
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
call fcn.0041e2fd
lea ecx, [ebp - 0x14]
call fcn.0041e2fd
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x422694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x408], 0
push esi
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x407]
and byte [ebp - 0x208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
mov esi, dword [ebp + 8]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x408]
mov dword [ebp + 8], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4226f0
mov eax, esi
jmp 0x42287b
lea eax, [ebp - 0x408]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d8.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00422337
pop ecx
pop ecx
push 4
test eax, eax
pop edi
jl 0x422799
mov eax, dword [ebp - 4]
mov esi, 0x371
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x422766
push esi
push 1
push 8
push edi
call fcn.004223d6
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004223f5
add esp, 0x20
test eax, eax
jge 0x422792
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x422799
push esi
push 0xa28
push 1
push 5
call fcn.004223d6
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004223f5
add esp, 0x20
test eax, eax
jl 0x422799
mov dword [ebp + 8], 0x10008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.dpnet.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00422337
pop ecx
test eax, eax
pop ecx
jl 0x422838
mov eax, dword [ebp - 4]
mov esi, 0x86
mov ecx, eax
shr ecx, 0x10
cmp cx, di
jne 0x422805
push esi
push 0
push 9
push edi
call fcn.004223d6
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004223f5
add esp, 0x20
test eax, eax
jge 0x422831
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jne 0x422838
push esi
push 0xe5d
push 2
push 5
call fcn.004223d6
push edx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004223f5
add esp, 0x20
test eax, eax
jl 0x422838
mov dword [ebp + 8], 0x20008
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push str.d3d9.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00422337
pop ecx
pop ecx
pop ebx
test eax, eax
jl 0x422878
mov dword [ebp + 8], 9
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x422ac2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov dword [ebp - 0x14], ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.0041e1c7
push 0x13c
call fcn.00427869
cmp eax, esi
pop ecx
je 0x422b0d
push 0x1a
lea esi, [eax + 4]
pop ecx
mov edi, esi
mov dword [eax], ecx
mov ebx, ecx
mov ecx, edi
call fcn.0041e1c7
add edi, 0xc
dec ebx
jne 0x422af9
mov dword [ebp - 8], esi
xor esi, esi
jmp 0x422b10
mov dword [ebp - 8], esi
cmp dword [ebp - 8], esi
je 0x422b2e
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
call esi
mov ebx, eax
push ebx
call fcn.00427869
mov edi, eax
pop ecx
test edi, edi
jne 0x422b39
inc dword [0x481390]
jmp 0x422cdf
push edi
push ebx
call esi
push str._HD_space_placeholder_
lea ecx, [ebp - 0x4c]
mov esi, edi
call fcn.0041e237
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.00421858
cmp byte [edi], 0
je 0x422c2b
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push esi
call fcn.0041e314
mov ecx, dword [ebp - 4]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x422c11
inc dword [ebp - 0xc]
push str.
lea ecx, [ebp - 0x28]
call fcn.0041e314
push dword [ebp - 4]
lea ecx, [ebp - 0x28]
call fcn.0041e4c7
push 9
lea ecx, [ebp - 0x28]
call fcn.0041e3fa
mov ecx, dword [ebp - 4]
push 1
call fcn.0041f120
push eax
call fcn.0040eeb8
mov ebx, edx
pop ecx
cmp ebx, dword [0x48175c]
pop ecx
mov dword [ebp - 0x1c], eax
ja 0x422bd9
jb 0x422bd6
cmp eax, dword [0x481758]
jae 0x422bd9
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0041e1c7
lea eax, [ebp - 0x34]
push eax
push ebx
push dword [ebp - 0x1c]
call fcn.0041fe27
add esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041e4c7
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.00421858
lea ecx, [ebp - 0x34]
call fcn.0041e2fd
add dword [ebp - 4], 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x422b67
push edi
call fcn.0042785e
pop ecx
mov ecx, dword [ebp - 8]
push 3
call fcn.0041b212
push 0x481b64
lea ecx, [ebp - 0x28]
call fcn.0041e382
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 0x4309f0
call fcn.0041e449
lea ecx, [ebp - 0x40]
call fcn.0041e1c7
lea eax, [ebp - 0x40]
push eax
push dword [0x48175c]
push dword [0x481758]
call fcn.0041fe27
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041e4c7
push 9
lea ecx, [ebp - 0x28]
call fcn.0041e3fa
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jne 0x422ca4
inc dword [0x481388]
push 0x4819fc
jmp 0x422ca9
push 0x481a14
lea ecx, [ebp - 0x28]
call fcn.0041e4c7
push 1
push esi
push esi
lea ecx, [ebp - 0x28]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041f120
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0041effb
lea ecx, [ebp - 0x40]
call fcn.0041e2fd
lea ecx, [ebp - 0x4c]
call fcn.0041e2fd
lea ecx, [ebp - 0x28]
call fcn.0041e2fd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422cec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 0x24
lea eax, [ebp - 0x30]
push 0
mov esi, ecx
push eax
call fcn.00426f90
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x481c00
lea ecx, [ebp - 0xc]
call fcn.0041e29b
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push 0x430a14
push eax
call fcn.0041e869
add esp, 0xc
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00421858
lea ecx, [ebp - 0xc]
call fcn.0041e2fd
pop esi
leave
ret
Function at 0x424b5e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, ecx
xor cl, cl
cmp byte [edx + 0x93], cl
lea eax, [edx + 0x93]
je 0x424bae
push edi
push 0x40
mov byte [eax], cl
mov byte [ebp - 0x104], cl
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
mov ecx, edx
push eax
call fcn.004254f3
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [0x481638], ebx
push edi
mov edi, dword [eax + 0x34]
jle 0x424ef0
mov esi, 0x48162c
push ebx
mov ecx, esi
call fcn.004211d1
cmp eax, edi
je 0x424ee5
inc ebx
inc ebx
cmp ebx, dword [0x481638]
jl 0x424ecd
jmp 0x424ef0
inc ebx
mov ecx, esi
push ebx
call fcn.004211d1
mov edi, eax
xor esi, esi
cmp dword [0x481624], esi
jle 0x424f91
push esi
mov ecx, 0x481618
call fcn.004211d1
cmp dword [eax], edi
je 0x424f18
inc esi
cmp esi, dword [0x481624]
jl 0x424efe
jmp 0x424f91
add eax, 4
xor esi, esi
cmp eax, esi
je 0x424f91
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
mov ecx, eax
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x424f91
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xc
mov dword [ebp + 8], eax
call fcn.00427869
cmp eax, esi
pop ecx
je 0x424f68
mov ecx, eax
call fcn.0041e1c7
mov ebx, eax
jmp 0x424f6a
xor ebx, ebx
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041ea5e
cmp eax, esi
jne 0x424f9a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x424f91
mov ecx, ebx
call fcn.0041e2fd
push ebx
call fcn.0042785e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 4]
push esi
push ecx
mov dword [ebp - 4], esi
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x424f7f
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x424f7f
mov eax, ebx
jmp 0x424f93
Function at 0x425416
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
xor esi, esi
cmp dword [0x481684], esi
push edi
mov edi, 0x104
jbe 0x4254a3
lea eax, [ebp - 4]
mov ecx, 0x481684
push eax
push 0x20019
push esi
call fcn.0041f120
push eax
push dword [0x481680]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4254a3
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push str.Uninstaller
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42549a
lea eax, [ebp - 0x10c]
push eax
call fcn.0040efbd
test al, al
pop ecx
je 0x42549a
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4254eb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00426f90
push edi
push esi
call fcn.00420af3
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
push esi
call edi
cmp byte [eax + esi - 1], 0x5c
je 0x4254cf
push esi
call edi
mov byte [eax + esi], 0x5c
mov ecx, 0x481430
call fcn.0041f120
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
push esi
call edi
push str._Uninstaller.exe
push esi
call edi
pop edi
mov al, 1
pop esi
leave
ret 4
Function at 0x42572a
Capabilities:
Copy file
Delete directory
Delete file
Get file size
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov esi, ecx
push 0x430c98
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test byte [0x481254], 0x40
jne 0x4258b7
test byte [0x48125a], 2
jne 0x4258b7
xor ebx, ebx
cmp byte [esi + 0x90], bl
je 0x42579a
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.004254f3
lea eax, [ebp - 0x11c]
mov ecx, 0x481080
push eax
push 1
call fcn.00417490
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42585b
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
mov ecx, esi
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 8], eax
je 0x4258ae
cmp eax, ebx
je 0x4258ae
lea ecx, [ebp - 0x18]
mov byte [esi + 0x92], 1
call fcn.0041e1c7
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00424bb0
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041f120
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0041f120
push eax
push 1
mov ecx, 0x481080
call fcn.00417490
mov ecx, esi
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
call fcn.0041e2fd
cmp dword [0x481790], ebx
jbe 0x4258a6
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.00425416
lea eax, [ebp - 0x11c]
mov esi, 0x481790
push ebx
push eax
mov ecx, esi
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x431188
mov ecx, esi
call fcn.0041e314
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4258a6
xor ebx, ebx
push 1
cmp byte [esi + 0x90], bl
jne 0x4258a8
pop edi
push ebx
push dword [esi + 0x20]
call fcn.0040ef8a
pop ecx
pop ecx
cmp eax, ebx
je 0x4258ea
push eax
call fcn.0040e8ad
mov eax, edi
inc edi
push eax
push dword [esi + 0x20]
call fcn.0040ef8a
add esp, 0xc
jmp 0x4258cf
push 1
pop edi
push ebx
push dword [esi + 0x38]
call fcn.0040ef8a
pop ecx
cmp eax, ebx
pop ecx
je 0x4258a6
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
inc edi
push eax
jmp 0x4258ee
Function at 0x425909
Capabilities:
Copy file
Delete file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
test byte [0x48125a], 2
push esi
mov esi, ecx
mov dword [ebp - 4], esi
je 0x425931
test byte [0x481254], 0x40
jne 0x425931
mov al, 1
jmp 0x425a6e
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.004254f3
lea eax, [ebp - 0x11c]
push eax
call fcn.0040efbd
test al, al
pop ecx
je 0x425960
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.0042497a
jmp 0x425969
test byte [0x481254], 0x40
je 0x425975
mov ecx, esi
call fcn.00425a73
jmp 0x425a6e
push ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.0041e1c7
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00424bb0
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
mov ecx, esi
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call fcn.0041f120
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x425a39
cmp eax, ebx
je 0x425a39
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0041f120
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call esi
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
mov byte [ecx + 0x90], 1
call fcn.0042497a
mov bl, 1
jmp 0x425a62
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x11c]
push eax
call esi
push ebx
mov ecx, 0x482050
call fcn.0041f120
push eax
mov ecx, 0x481080
push dword [ebp + 8]
call fcn.0041d5f5
lea ecx, [ebp - 0x18]
call fcn.0041e2fd
mov al, bl
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4296bb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x430fa0
cmp edx, dword [eax]
je 0x4296dd
add eax, 8
inc ecx
cmp eax, 0x431030
jl 0x4296ce
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x430fa0]
jne 0x42980b
mov eax, dword [0x482498]
cmp eax, 1
je 0x4297e5
test eax, eax
jne 0x42970e
cmp dword [0x430ce8], 1
je 0x4297e5
cmp edx, 0xfc
je 0x42980b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x429745
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00427af0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00427400
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x429788
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427400
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42bb5c
push edi
call fcn.0042a1b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00427af0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00427b00
lea eax, [ebp - 0xa0]
push 0x42bb3c
push eax
call fcn.00427b00
push dword [esi + 0x430fa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00427b00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042a127
add esp, 0x2c
pop edi
jmp 0x42980b
lea eax, [ebp + 8]
lea esi, [esi + 0x430fa4]
push 0
push eax
push dword [esi]
call fcn.00427400
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]
pop esi
leave
ret