joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d14e
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xbb8]
sub esp, 0xc38
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0xbb4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x59e]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x59c], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.0044e570
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x7a6]
push edi
push eax
mov word [ebp + 0x7a4], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x9ae]
push edi
push eax
mov word [ebp + 0x9ac], di
call fcn.0044e570
add esp, 0x48
push edi
push 0x2b
lea eax, [ebp + 0x7a4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x7a4]
push str._shiqiang_
push eax
call fcn.0044e2e2
pop ecx
pop ecx
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d234
push edi
lea eax, [ebp + 0x7a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x7a4]
push eax
lea eax, [ebp + 0x9ac]
push eax
call fcn.0044e30c
lea eax, [ebp + 0x9ac]
push str.wnsoft.ini
push eax
call fcn.0044e2e2
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x59c]
push eax
mov ebx, 0x49da34
push ebx
push str.OnlyIdentifier1
mov edi, str.Globals
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x394]
push eax
push ebx
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp + 0x18c]
push eax
push ebx
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp + 0x9ac]
push eax
push 0x104
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.OnlyIdentifier4
push edi
call esi
lea eax, [ebp + 0x59c]
push eax
call fcn.0044e2cc
mov esi, eax
lea eax, [ebp + 0x394]
push eax
call fcn.0044e2cc
mov edi, eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0044e2cc
mov ebx, eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0044e2cc
add esp, 0x10
test esi, esi
je 0x40d370
test edi, edi
je 0x40d370
test ebx, ebx
je 0x40d370
test eax, eax
je 0x40d370
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x59c]
push eax
push dword [esi]
call fcn.0044e30c
lea eax, [ebp + 0x394]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0044e30c
lea eax, [ebp + 0x18c]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0044e30c
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0044e30c
xor eax, eax
add esp, 0x20
inc eax
jmp 0x40d372
xor eax, eax
mov ecx, dword [ebp + 0xbb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df8c
add ebp, 0xbb8
leave
ret
Function at 0x40d38a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9b8]
sub esp, 0xa38
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x9b4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov dword [ebp - 0x80], ecx
mov word [ebp + 0x5a4], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0044e570
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0044e570
lea eax, [ebp + 0x7ac]
push str.SOFTWARE_
push eax
call fcn.0044e30c
add esp, 0x44
lea eax, [ebp + 0x7ac]
push 0x49da84
push eax
call fcn.0044e2e2
lea eax, [ebp + 0x7ac]
push 0x49da80
push eax
call fcn.0044e2e2
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push edi
lea eax, [ebp + 0x7ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d4d4
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x5a4]
push eax
push edi
push edi
push str.OnlyIdentifier1
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0x104
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x39c]
push eax
push edi
push edi
push str.OnlyIdentifier2
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push str.OnlyIdentifier3
push dword [ebp - 0x7c]
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push edi
push edi
push str.OnlyIdentifier4
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x5a4]
push eax
call fcn.0044e2cc
mov esi, eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0044e2cc
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.0044e2cc
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x194]
push eax
call fcn.0044e2cc
add esp, 0x10
cmp esi, edi
je 0x40d577
cmp ebx, edi
je 0x40d577
cmp dword [ebp - 0x78], edi
je 0x40d577
cmp eax, edi
je 0x40d577
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x5a4]
push eax
push dword [esi]
call fcn.0044e30c
lea eax, [ebp + 0x39c]
push eax
mov eax, dword [esi]
add eax, 0x208
push eax
call fcn.0044e30c
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
add eax, 0x410
push eax
call fcn.0044e30c
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esi]
add eax, 0x618
push eax
call fcn.0044e30c
xor eax, eax
add esp, 0x20
inc eax
jmp 0x40d579
xor eax, eax
mov ecx, dword [ebp + 0x9b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df8c
add ebp, 0x9b8
leave
ret
Function at 0x40d591
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x18a]
push edi
push eax
mov ebx, ecx
mov word [ebp + 0x188], di
call fcn.0044e570
push esi
lea eax, [ebp - 0x7e]
push edi
push eax
mov word [ebp - 0x80], di
call fcn.0044e570
add esp, 0x18
push edi
push 0x2b
lea eax, [ebp + 0x188]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x188]
push str._shiqiang_
push eax
call fcn.0044e2e2
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
jne 0x40d624
push edi
lea eax, [ebp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044e30c
lea eax, [ebp - 0x80]
push str.wnsoft.ini
push eax
call fcn.0044e2e2
add esp, 0x10
lea eax, [ebp + 0x188]
push eax
call esi
test eax, eax
je 0x40d6a7
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
mov edi, str.Globals
push str.OnlyIdentifier1
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push edi
call esi
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push edi
call esi
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df8c
add ebp, 0x394
leave
ret

Function at 0x40d6bf
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov edi, 0xf003f
push edi
xor ebp, ebp
push ebp
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d77f
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
push str.ShiQiang
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40d77f
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov ebx, 0x104
push ebx
push dword [esi]
push 1
push ebp
push str.OnlyIdentifier1
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x208
push eax
push 1
push ebp
push str.OnlyIdentifier2
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x410
push eax
push 1
push ebp
push str.OnlyIdentifier3
push dword [esp + 0x24]
call edi
mov eax, dword [esi]
push ebx
add eax, 0x618
push eax
push 1
push ebp
push str.OnlyIdentifier4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [esp + 0x14]
call esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x40f30d
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.0044e2cc
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044d4ff
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.0044e30c
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x40f37c
cmp word [esi + ebp*2], 0x5c
jne 0x40f373
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f36d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40f37a
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x40f34a
jmp 0x40f37c
xor bl, bl
push esi
call fcn.0044e2c7
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret

Function at 0x40f448
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push ebx
push esi
mov esi, dword [ebp + 0x7b0]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0044e570
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0044e570
push esi
lea eax, [ebp - 0x2c]
push 0x49f7d4
push eax
call fcn.0044e757
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40f4eb
cmp byte [ebp + 0x7b4], bl
je 0x40f4db
mov eax, dword [ebp + 0x7b8]
cmp eax, ebx
jg 0x40f4d1
or eax, 0xffffffff
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df8c
add ebp, 0x7a8
leave
ret

Function at 0x40f502
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0044e570
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0044e570
push edi
lea eax, [ebp - 0x28]
push 0x49f7d4
push eax
call fcn.0044e757
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40f59e
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0044df8c
add ebp, 0x7ac
leave
ret
Function at 0x40f75b
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
mov eax, dword [ebp + 0x5b4]
push ebx
mov ebx, dword [ebp + 0x5b0]
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x196]
push esi
push eax
mov dword [ebp - 0x80], ebx
mov word [ebp + 0x194], si
call fcn.0044e570
push edi
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0044e570
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.0044e30c
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call fcn.0044e30c
lea eax, [ebp + 0x194]
push eax
call fcn.0044e4fd
lea eax, [ebp - 0x74]
push eax
call fcn.0044e4fd
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0044e725
add esp, 0x38
test eax, eax
je 0x40f8bb
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x7c], esi
push edi
lea eax, [ebp + 0x39e]
push esi
push eax
mov word [ebp + 0x39c], si
call fcn.0044e570
add esp, 0xc
cmp dword [ebp - 0x7c], esi
lea eax, [ebp + 0x39c]
jne 0x40f83e
push dword [ebp - 0x78]
push str._s.bak
push eax
call fcn.0044e757
add esp, 0xc
jmp 0x40f852
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push str._s.bak_d
push eax
call fcn.0044e757
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f870
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x78]
call fcn.00451ec0
pop ecx
pop ecx
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push esi
lea eax, [ebp + 0x39c]
push eax
jne 0x40f8b9
call ebx
cmp dword [ebp - 0x7c], 0xa
jge 0x40f8bb
inc dword [ebp - 0x7c]
jmp 0x40f808
call ebx
mov ecx, dword [ebp + 0x5a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df8c
add ebp, 0x5a8
leave
ret

Function at 0x40f8d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0044e2cc
test eax, eax
pop ecx
je 0x40f95c
push ebx
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0044e570
add esp, 0xc
push 1
push ebx
push ebx
mov eax, str.open
push esi
push eax
push ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40f935
push dword [ebp + 0x10]
push 1
push esi
call fcn.0040f448
add esp, 0xc
jmp 0x40f95b
cmp byte [ebp + 0xc], bl
je 0x40f95b
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jg 0x40f944
or eax, 0xffffffff
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
pop ebx
pop esi
leave
ret
Function at 0x40ffc5
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfdc]
sub esp, 0xfdc
push 0xffffffffffffffff
push 0x49a5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0xfd8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xfe4]
push 0x7d0
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4a00d0
call fcn.0044e2cc
pop ecx
lea eax, [ebp + eax*2 + 0x38]
push eax
call fcn.0044e30c
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.0044e2e2
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0044e570
add esp, 0x1c
mov edi, str.open
push esi
lea ecx, [ebp]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 1
call fcn.00402423
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x410079
lea eax, [ebp + 4]
mov ebx, 0x4a00c0
push ebx
push eax
call fcn.0044f4fb
pop ecx
pop ecx
push 0x49da34
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.00402423
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
jne 0x4100aa
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004023ba
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040239d
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4100bf
lea eax, [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
xor esi, esi
push esi
push esi
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4100e7
push 0x7d0
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.0040f448
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00401eb7
push esi
push ebx
lea ecx, [ebp]
call fcn.00401eb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfd8]
xor ecx, ebp
call fcn.0044df8c
add ebp, 0xfdc
leave
ret
Function at 0x410745
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x2c
mov eax, 0x49a6b2
call fcn.0044df9b
mov edi, dword [ebp + 0x128]
lea eax, [ebp - 0x38]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp]
push ebx
push eax
call fcn.0044e570
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x49da34
mov ecx, edi
call fcn.00402423
mov eax, dword [ebp + 4]
xor ecx, ecx
inc ecx
sub eax, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
je 0x4108cf
dec eax
je 0x410897
dec eax
je 0x4107ff
sub eax, 4
je 0x4107e1
push str.Unknown_Operating_System
jmp 0x410905
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x4107f5
push str.Microsoft_Windows_10_Insider_Preview
jmp 0x410907
push str.Microsoft_Windows_Server_Technical_Preview
jmp 0x410907
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x41087f
dec eax
je 0x410861
dec eax
je 0x41082a
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x410820
push str.Microsoft_Windows_8.1
jmp 0x410907
push str.Microsoft_Windows_Server_2012_R2
jmp 0x410907
cmp byte [ebp + 0x11a], cl
jne 0x410857
push 4
push 6
call fcn.00410650
test eax, eax
pop ecx
pop ecx
mov ecx, edi
je 0x41084d
push str.Microsoft_Windows_10
jmp 0x410907
push str.Microsoft_Windows_8
jmp 0x410907
push str.Microsoft_Windows_Server_2012
jmp 0x410905
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x410875
push str.Microsoft_Windows_7
jmp 0x410907
push str.Microsoft_Windows_Server_2008_R2
jmp 0x410907
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x410890
push str.Microsoft_Windows_Vista
jmp 0x410907
push str.Microsoft_Windows_Server_2008
jmp 0x410907
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x4108c8
dec eax
je 0x4108c1
dec eax
jne 0x41090c
cmp byte [ebp + 0x11a], cl
jne 0x4108ba
cmp word [ebp - 0x38], 9
jne 0x4108ba
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x410905
push str.Microsoft_Windows_Server_2003
jmp 0x410905
push str.Microsoft_Windows_XP
jmp 0x410905
push str.Microsoft_Windows_2000
jmp 0x410905
cmp dword [ebp + 8], ebx
je 0x4108ee
cmp dword [ebp + 8], 0xa
je 0x4108e7
cmp dword [ebp + 8], 0x5a
jne 0x41090c
push str.Microsoft_Windows_Me
jmp 0x410905
push str.Microsoft_Windows_98
jmp 0x410905
cmp dword [ebp + 0x10], 2
jne 0x4108fb
push str.Microsoft_Windows_NT_4.0
jmp 0x410905
cmp dword [ebp + 0x10], ecx
jne 0x41090c
push 0x4a0120
mov ecx, edi
call fcn.004023ba
cmp dword [ebp + 0x12c], ebx
je 0x41092b
push 0x4a011c
mov ecx, edi
call fcn.0040239d
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.0040239d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.0044df8c
add ebp, 0x120
leave
ret
Function at 0x410950
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41144c
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x4d44e4]
xor eax, ebp
mov dword [ebp + 0xb90], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x782]
push edi
push eax
mov word [ebp + 0x780], di
call fcn.0044e570
lea eax, [ebp + 0x780]
push str.C:log_
push eax
call fcn.0044e30c
push 0x3e6
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.0044e570
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._sgswb.log
push eax
call fcn.0044e757
push esi
lea eax, [ebp + 0x372]
push edi
push eax
mov word [ebp + 0x370], di
call fcn.0044e570
push esi
lea eax, [ebp + 0x98a]
push edi
push eax
mov word [ebp + 0x988], di
call fcn.0044e570
add esp, 0x44
push 0x104
lea eax, [ebp + 0x988]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x988]
push 0x5c
push eax
call fcn.0044f125
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x578]
push eax
call esi
test eax, eax
je 0x411624
lea eax, [ebp + 0x988]
push ebx
push eax
call fcn.0044e2cc
lea eax, [ebp + eax*2 + 0x98a]
push eax
lea eax, [ebp + 0x370]
push eax
call fcn.0044e30c
lea eax, [ebp + 0x370]
push eax
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._s_s.txt
push eax
call fcn.0044e757
lea eax, [ebp + 0xba0]
push eax
push dword [ebp + 0xb9c]
lea eax, [ebp - 0x78]
push 0x1f3
push eax
call fcn.004520a4
add esp, 0x2c
lea eax, [ebp + 0x578]
push eax
mov word [ebp + 0x36e], di
mov dword [ebp - 0x7c], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x4115a6
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x578]
push 0x4a0008
push eax
call fcn.00451fbf
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x411623
cmp dword [ebp - 0x7c], edi
jne 0x4115db
push esi
push 2
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x80], 0xfeff
call fcn.0044ed3c
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call fcn.0044e2cc
push esi
add eax, eax
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.0044ed3c
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xd
call fcn.0044ed3c
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xa
call fcn.0044ed3c
push esi
call fcn.0044ea8a
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop esi
call fcn.0044df8c
add ebp, 0xb94
leave
ret