joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413cb0
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x413cee
lea ecx, [esp]
push ecx
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x413cee
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push esi
push 0x428b20
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret

Function at 0x413e40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x46c
push esi
push str.entra_ejec_normal
push 1
call fcn.0040c720
mov eax, dword [esp + 0x47c]
push eax
call fcn.004143b0
add esp, 0xc
test eax, eax
jne 0x413efc
call fcn.00413b70
test eax, eax
je 0x413efc
lea ecx, [esp + 0x388]
push 0xdc
push ecx
push str.DAYSDISCOV
call fcn.0040d2c0
mov esi, eax
call fcn.00415130
push str.arranco_otros
push 1
call fcn.0040c720
add esp, 0x14
call fcn.004121f0
test eax, eax
je 0x414005
push str.si_star_en_0
push 1
call fcn.0040c720
push 0x429438
push 0x42f810
call fcn.0040d430
add esp, 0x10
test eax, eax
jne 0x413ede
push 1
call fcn.004136b0
add esp, 4
push esi
call fcn.00414420
add esp, 4
test eax, eax
je 0x414005
call fcn.00413220
pop esi
add esp, 0x46c
ret
push ebx
push edi
push str.debe_actualiz
push 1
call fcn.0040c720
push 0x429438
lea edx, [esp + 0x18]
push str._schat
push edx
call fcn.00416129
lea eax, [esp + 0x20]
push 0x42ae60
push eax
call fcn.00410600
push str.C:WINDOWSLEVTEMP
lea ecx, [esp + 0x2c]
push str._s_temp
push ecx
call fcn.00416129
lea edx, [esp + 0x34]
push edx
call fcn.004103a0
mov edi, str.SoloDisc.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x42f8d8
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x294]
and ecx, 3
push str._sSoloDisc.exe
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00416129
lea ecx, [esp + 0x44]
lea edx, [esp + 0x170]
push ecx
push 0x429248
push edx
call fcn.00416129
add esp, 0x44
lea eax, [esp + 0x138]
lea ecx, [esp + 0x264]
push eax
push ecx
call fcn.00410920
mov edi, str.__actualiz
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x138]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x138]
and ecx, 3
push 5
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop ebx
pop esi
add esp, 0x46c
ret
Function at 0x414010
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
push edi
xor eax, eax
push ecx
push 0x2001f
push eax
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call esi
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x414079
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareLeverITAgent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4140a4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ebx
push ebp
push edi
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push 0
push str.SoftwareLeverITAgent
push closesocket
call esi
test eax, eax
je 0x4140eb
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareLeverITAgent
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41412d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push ebx
push ebp
push edi
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x41410d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4144c0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x30c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
push ebx
push ebp
mov ebp, dword [esp + 0x318]
push esi
push edi
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x12c]
xor esi, esi
push ecx
call fcn.00417385
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x41454b
mov esi, 1
lea edx, [esp + 0x128]
push edx
push str.Buscara__s
push 1
call fcn.0040c720
add esp, 0xc
test esi, esi
jne 0x414645
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov bl, 0x10
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push str.dect2_s_atrib_d
push 1
call fcn.0040c720
mov al, byte [esp + 0x20]
add esp, 0x10
test bl, al
je 0x4145f3
lea edx, [esp + 0x24]
push 0x42af3c
push edx
call fcn.0041f970
add esp, 8
test eax, eax
je 0x4145f3
lea eax, [esp + 0x24]
push 0x42af38
push eax
call fcn.0041f970
add esp, 8
test eax, eax
je 0x4145f3
lea ecx, [esp + 0x24]
lea edx, [esp + 0x128]
push ecx
push ebp
push 0x4287f4
push edx
call fcn.00416129
lea eax, [esp + 0x138]
push eax
call fcn.004144c0
add esp, 0x14
lea ecx, [esp + 0x128]
push ecx
call esi
jmp 0x41462f
lea edx, [esp + 0x24]
lea eax, [esp + 0x128]
push edx
push ebp
push 0x4287f4
push eax
call fcn.00416129
lea ecx, [esp + 0x138]
push ecx
push str.borrara_s
push 1
call fcn.0040c720
lea edx, [esp + 0x144]
push edx
call fcn.0041737a
add esp, 0x20
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0041744f
add esp, 8
test eax, eax
je 0x414572
push edi
call fcn.00417514
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
Function at 0x414660
Capabilities:
Create directory
Create process on windows
Set file attributes

Disassembly:
sub esp, 0x44c
lea eax, [esp + 0x258]
push esi
push eax
call fcn.00411500
lea ecx, [esp + 0x260]
push ecx
push str.patss_s
push 2
call fcn.0040c720
lea edx, [esp + 0x26c]
lea eax, [esp + 0x14]
push edx
push str._schtdir.bin
push eax
call fcn.00416129
lea ecx, [esp + 0x20]
push ecx
call fcn.00410570
add esp, 0x20
test eax, eax
je 0x4146c7
push str.ya_chtd
push 2
call fcn.0040c720
add esp, 8
pop esi
add esp, 0x44c
ret
lea edx, [esp + 0x25c]
lea eax, [esp + 4]
push edx
push str._schat
push eax
call fcn.00416129
lea ecx, [esp + 0x10]
push ecx
call fcn.004144c0
add esp, 0x10
lea edx, [esp + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41470c
lea eax, [esp + 4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 4]
push 4
push ecx
push str.CACLSPTSP
call fcn.00407cc0
add esp, 0xc
test eax, eax
jne 0x41479c
push 1
lea edx, [esp + 8]
push 4
push edx
push str.CACLSPTSP
mov dword [esp + 0x14], 1
call fcn.00407e40
lea eax, [esp + 0x26c]
lea ecx, [esp + 0x14]
push eax
push str.cacls.exe___sChat___E__G_usuarios:C
push ecx
call fcn.00416129
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x1c
lea edx, [esp + 4]
push 5
push edx
call esi
lea eax, [esp + 4]
push eax
push str.ps_s
push 2
call fcn.0040c720
lea ecx, [esp + 0x268]
lea edx, [esp + 0x10]
push ecx
push str.cacls.exe___sChat___E__G_users:C
push edx
call fcn.00416129
add esp, 0x18
lea eax, [esp + 4]
push 5
push eax
call esi
lea ecx, [esp + 0x25c]
lea edx, [esp + 4]
push ecx
push str._schtdir.bin
push edx
call fcn.00416129
lea eax, [esp + 0x10]
push 0x428250
push eax
call fcn.004163dc
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4147e3
push esi
push 0xa
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004163ef
push esi
call fcn.0041627e
add esp, 0x14
pop esi
add esp, 0x44c
ret
Function at 0x415130
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x258
lea eax, [esp]
push ebp
push 0x429438
push str._sconfig.txt
push eax
call fcn.00416129
lea ecx, [esp + 0x10]
push 0x428954
push ecx
call fcn.004163dc
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x415275
push ebp
lea edx, [esp + 8]
push 0x122
push edx
call fcn.00416798
add esp, 0xc
test eax, eax
je 0x41526c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
push esi
push edi
mov edi, str.EXEC
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
push ecx
push str.EXEC
push eax
call fcn.0041ae30
add esp, 0xc
test eax, eax
jne 0x41524e
mov edi, str.EXEC
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x10], 0x3d
jne 0x41524e
mov edi, str.EXEC
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x13c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x11]
push ecx
push edx
call fcn.00411080
mov al, byte [esp + 0x144]
add esp, 8
cmp al, 0x7e
jne 0x41521d
lea eax, [esp + 0x13d]
lea ecx, [esp + 0x10]
push eax
push 0x429438
push str._s_s
push ecx
call fcn.00416129
add esp, 0x10
jmp 0x415245
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push 5
push ecx
call ebx
push ebp
lea edx, [esp + 0x14]
push 0x122
push edx
call fcn.00416798
add esp, 0xc
test eax, eax
jne 0x41518b
pop edi
pop esi
pop ebx
push ebp
call fcn.0041627e
add esp, 4
pop ebp
add esp, 0x258
ret

Function at 0x415380
Capabilities:
Get disk information

Disassembly:
sub esp, 0x190
mov eax, dword [0x42a79c]
push edi
mov dword [esp + 4], eax
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
push 0x42f8d8
lea ecx, [esp + 8]
push str._sFILES.DAT
push ecx
call fcn.00416129
lea edx, [esp + 0x10]
push edx
call fcn.00410570
add esp, 0x10
test eax, eax
pop edi
je 0x4153db
push str.existe_el_files.dat
push 1
call fcn.0040c720
add esp, 8
xor eax, eax
add esp, 0x190
ret
cmp byte [esp], 0x43
jne 0x4153f2
cmp byte [esp + 1], 0x3a
jne 0x4153f2
xor eax, eax
add esp, 0x190
ret
push str.no_esta
push 1
call fcn.0040c720
mov al, byte [0x42f8d8]
lea ecx, [esp + 8]
push ecx
push str.path_s
push 1
mov byte [esp + 0x14], al
call fcn.0040c720
add esp, 0x14
lea edx, [esp]
mov byte [esp + 3], 0
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x415448
push str.es_fixed
push 1
call fcn.0040c720
add esp, 8
xor eax, eax
add esp, 0x190
ret
push str.no_es_fixed
push 1
call fcn.0040c720
add esp, 8
mov eax, 1
add esp, 0x190
ret
Function at 0x415470
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x190
lea eax, [esp]
push ebx
push esi
push edi
push str.C:WINDOWSLEVTEMP
push str._s_temp
push eax
call fcn.00416129
lea ecx, [esp + 0x18]
push ecx
call fcn.004103a0
mov eax, dword [0x43083c]
add esp, 0x10
test eax, eax
mov edi, str.SoloDisc.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x42f8d8
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push str._sSoloDisc.exe
and ecx, 3
push 0x42fe34
rep movsb byte es:[edi], byte [esi]
call fcn.00416129
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x429248
push 0x430068
call fcn.00416129
push 0x42fe34
push str.orig_s
push 1
call fcn.0040c720
push 0x430068
push str.dest_s
push 1
call fcn.0040c720
push 0x430068
push 0x42fe34
call fcn.00410920
add esp, 0x2c
push 5
push 0x430068
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
add esp, 0x190
ret
Function at 0x415550
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.2entra_instalar
push 1
call fcn.0040c720
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x1388
call edi
push str.paso_time
push 1
call fcn.0040c720
add esp, 8
push str.DISCOVER_INST
push 1
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x41559c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ecx
ret
push str.paso_open
push 1
call fcn.0040c720
add esp, 8
push str.DISCOVER_INST
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x415712
push str.Buscara_vent_si_esta_act
push 1
call fcn.0040c720
add esp, 8
push str.INSTALL
push str.LEVERIT_INSTALL
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4155fa
push str.ya_win
push 2
call fcn.0040c720
add esp, 8
pop edi
pop esi
pop ecx
ret
push str.llamara_duro
push 1
call fcn.0040c720
add esp, 8
call fcn.00415380
test eax, eax
je 0x415629
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.00415470
pop edi
pop esi
pop ecx
ret
push str.llamara_3_inst
push 1
call fcn.0040c720
add esp, 8
mov dword [0x430834], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.p_nst
push 2
mov dword [0x42f0a0], eax
call fcn.0040c720
push 3
push str.LEVERIT_INSTALL
push 0x415360
call fcn.004152e0
mov eax, dword [0x42f09c]
add esp, 0x14
push 0
push eax
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0
push str.INSTALL
push str.LEVERIT_INSTALL
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [esp + 8]
mov dword [0x430ab8], eax
push ecx
push 0
push 0x42f0a0
push 0x40c620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4156c8
push str.No_th2
push 2
call fcn.0040c720
add esp, 8
push 0
call fcn.00415280
push str.ped_mes
push 2
call fcn.0040c720
push str.exit
push 2
call fcn.0040c720
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x430ab8]
test eax, eax
je 0x41570b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x430ab8], 0
push 0x1388
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x415720
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x41fdde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.0040bce0
mov ecx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x1ac]
mov dword [esi], 0x4252f8
push ecx
mov dword [0x430abc], esi
mov ecx, edi
mov dword [esp + 0x1a8], 0
mov dword [esi + 0x884], eax
call fcn.0040bd70
mov edx, dword [esi + 0x110]
mov ecx, 0x42f668
push edx
call fcn.0040b690
mov al, byte [esi + 0x115]
test al, al
je 0x4157b3
mov eax, dword [0x4252d8]
mov edx, dword [0x4252e0]
or eax, edx
mov ecx, 0x42f668
push eax
call fcn.0040b630
mov al, byte [esi + 0x114]
test al, al
je 0x4157d0
lea ecx, [esi + 0x116]
push 0
push ecx
mov ecx, 0x42f668
call fcn.0040b6a0
lea edx, [esp + 0xc]
lea edi, [esi + 0x888]
mov ecx, 0x80
xor eax, eax
push edx
push 0x101
rep stosd dword es:[edi], eax
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x41580f
push 0x10
push str.NetDAC_info_3
push str.Error_initialising_sockets_library
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0xc]
and eax, 0xffff
push eax
push str.Started_and_Winsock__v__d__initialised_n
push 3
push 0x42f668
call fcn.00405580
mov ecx, dword [esp + 0x1ac]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1a0
ret 8

Function at 0x41c6cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42bc68
cmp edx, dword [eax]
je 0x41c6ef
add eax, 8
inc ecx
cmp eax, 0x42bcf8
jl 0x41c6e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42bc68]
jne 0x41c81d
mov eax, dword [0x430b34]
cmp eax, 1
je 0x41c7f7
test eax, eax
jne 0x41c720
cmp dword [0x42b484], 1
je 0x41c7f7
cmp edx, 0xfc
je 0x41c81d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c757
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041beb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041ad80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41c79a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041ad80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x425778
push edi
call fcn.004175d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041beb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041bec0
lea eax, [ebp - 0xa0]
push 0x425758
push eax
call fcn.0041bec0
push dword [esi + 0x42bc6c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041bec0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041e37f
add esp, 0x2c
pop edi
jmp 0x41c81d
lea eax, [ebp + 8]
lea esi, [esi + 0x42bc6c]
push 0
push eax
push dword [esi]
call fcn.0041ad80
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
Function at 0x41fa3a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41fa65
test byte [esp + 8], 0x80
je 0x41fa54
and al, 0xfe
jmp 0x41fa56
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x41fa76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041be42
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x402a30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7c5830]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402ac4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a81
cmp dword [ebp + 0x10], ebx
jne 0x402ab8
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a30
test eax, eax
jne 0x402a93
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a68
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d97
cmp eax, ebx
je 0x402acb
push ebx
push dword [0x7c5830]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ac4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7c5830], ebx
jne 0x402ac1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac1
jmp 0x402ac4
Function at 0x402edf
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f0c
mov ecx, dword [0x7c57d8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x79e52c], eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.0040300a
cmp eax, edi
jl 0x403003
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409018]
call ebx
test eax, eax
je 0x403000
cmp dword [ebp - 4], esi
jne 0x403000
push dword [ebp + 8]
add dword [0x79e52c], esi
call fcn.0040300a
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403003
cmp dword [ebp + 0x10], edi
jne 0x402fcf
cmp dword [ebp + 8], edi
jle 0x402ffb
mov esi, 0x79a4e8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x402f7f
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x409018]
call ebx
test eax, eax
je 0x403000
cmp edi, dword [ebp - 4]
jne 0x403000
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fcb
cmp dword [ebp + 0x14], edi
jne 0x402fcb
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x79e52c], eax
cmp dword [ebp + 8], 0
jg 0x402f72
jmp 0x402ffb
push 0xfffffffffffffffe
jmp 0x403002
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x402fda
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409018]
call ebx
test eax, eax
je 0x403000
mov eax, dword [ebp - 4]
add dword [0x79e52c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403003
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10