joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411923
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x44a550
sub esp, 8
push ebp
push edi
lea eax, [esp + 8]
xor edi, edi
push eax
push edi
mov ebp, ecx
mov dword [esp + 0x10], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x44a592
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
push 0x65055c
push 0x12
push ecx
call fcn.0040209f
add esp, 0x10
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
mov edx, dword [esp + 8]
push esi
push edx
call fcn.00613726
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x44a5c5
mov eax, dword [esp + 0x18]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x44a600
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.0040209f
push esi
call fcn.006136ad
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x44a63b
cmp eax, 8
ja 0x44a63b
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.00613010
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, ebp
call fcn.0040c7e8
test al, 4
jne 0x44a641
mov esi, dword [esi]
test esi, esi
jne 0x44a605
mov edx, dword [esp + 0x14]
push edx
call fcn.006136ad
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 8
ret 4

Function at 0x421f50
Capabilities:
Create directory
Write file on windows

Disassembly:
jmp 0x421f50
sub esp, 0x48
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push 0
push str.data
mov edi, ecx
call esi
push 0
push str.data_aiconfig
call esi
mov eax, dword [0x7c2d24]
movzx ecx, word [eax + 0x129]
push ecx
lea edx, [esp + 0x10]
push 0x64b99c
push edx
call fcn.00611035
push 0x64b9b4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00610fee
mov eax, dword [esp + 0x20]
add esp, 0x18
test eax, eax
je 0x421fd6
push eax
push 1
push 0x1c64
add edi, 0xec
push edi
call fcn.00610ea1
mov edx, dword [esp + 0x18]
push edx
call fcn.00610cd6
add esp, 0x14
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x48
ret
Function at 0x4258a0
Capabilities:
Read file on windows

Disassembly:
jmp 0x4258a0
sub esp, 0x4c
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [0x7c2d24]
push esi
mov esi, ecx
movzx ecx, word [eax + 0x129]
push edi
push ecx
lea edx, [esp + 0x14]
push str.._data_aiconfig__d.dat
push edx
call fcn.00611035
push 0x1c64
lea edi, [esi + 0xec]
push 0
push edi
call fcn.00610b10
push 0x64b9d0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00610fee
mov eax, dword [esp + 0x2c]
add esp, 0x24
test eax, eax
je 0x425978
push eax
push 1
push 0x1c64
push edi
call fcn.00611708
mov edx, dword [esp + 0x18]
push edx
call fcn.00610cd6
add esp, 0x14
call fcn.00402365
mov eax, dword [eax + 0x228]
imul eax, eax, 0x64
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jns 0x42593b
fadd dword [0x64ba74]
fstp dword [esi + 0xe0]
call fcn.00402365
mov ecx, dword [eax + 0x22c]
imul ecx, ecx, 0x64
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
test ecx, ecx
jns 0x425961
fadd dword [0x64ba74]
pop edi
fstp dword [esi + 0xe8]
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret
mov ecx, esi
call fcn.00402a04
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret

Function at 0x4258b3
Capabilities:
Read file on windows

Disassembly:
jmp 0x4258a0
sub esp, 0x4c
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [0x7c2d24]
push esi
mov esi, ecx
movzx ecx, word [eax + 0x129]
push edi
push ecx
lea edx, [esp + 0x14]
push str.._data_aiconfig__d.dat
push edx
call fcn.00611035
push 0x1c64
lea edi, [esi + 0xec]
push 0
push edi
call fcn.00610b10
push 0x64b9d0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00610fee
mov eax, dword [esp + 0x2c]
add esp, 0x24
test eax, eax
je 0x425978
push eax
push 1
push 0x1c64
push edi
call fcn.00611708
mov edx, dword [esp + 0x18]
push edx
call fcn.00610cd6
add esp, 0x14
call fcn.00402365
mov eax, dword [eax + 0x228]
imul eax, eax, 0x64
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
test eax, eax
jns 0x42593b
fadd dword [0x64ba74]
fstp dword [esi + 0xe0]
call fcn.00402365
mov ecx, dword [eax + 0x22c]
imul ecx, ecx, 0x64
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
test ecx, ecx
jns 0x425961
fadd dword [0x64ba74]
pop edi
fstp dword [esi + 0xe8]
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret
mov ecx, esi
call fcn.00402a04
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x4c
ret
Function at 0x430080
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
jmp 0x430080
sub esp, 0x24c
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
mov esi, dword [esp + 0x254]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [esp + 0x150]
push str._s
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x4301d1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 0x10
jne 0x43018a
mov ecx, 0x64bef8
lea eax, [esp + 0x40]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430118
test dl, dl
je 0x430114
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430118
add eax, 2
add ecx, 2
test dl, dl
jne 0x4300f8
xor eax, eax
jmp 0x43011d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4301ac
mov ecx, 0x64befc
lea eax, [esp + 0x40]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430150
test dl, dl
je 0x43014c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430150
add eax, 2
add ecx, 2
test dl, dl
jne 0x430130
xor eax, eax
jmp 0x430155
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4301ac
lea eax, [esp + 0x40]
push eax
push esi
lea ecx, [esp + 0x15c]
push 0x64bf00
push ecx
call edi
lea edx, [esp + 0x164]
push edx
call fcn.0040e9c1
add esp, 0x14
lea eax, [esp + 0x154]
push eax
call ebx
jmp 0x4301ac
lea ecx, [esp + 0x40]
push ecx
push esi
lea edx, [esp + 0x15c]
push 0x64bf08
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x154]
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4300e4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
pop edi
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x24c
ret
Function at 0x430440
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
jmp 0x430440
sub esp, 0x35c
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push 0x104
lea eax, [esp + 0x260]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x25c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x430476
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x64c14c]
mov dword [eax], ecx
mov cl, byte [0x64c150]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x64c154
push edx
mov byte [eax + 8], cl
call fcn.00610fd7
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4304d5
push eax
call fcn.00610cd6
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.006111ee
add esp, 0x35c
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x160]
push eax
push 0x104
call edi
lea eax, [esp + 0x160]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4304f4
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x64c15c]
mov dword [eax], ecx
mov ecx, dword [0x64c160]
mov dword [eax + 4], edx
mov edx, dword [0x64c164]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push 0x64c168
push ebx
call fcn.00612331
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push 0x64c170
push ebx
call fcn.00612331
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430534
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4305b0
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.00612331
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.00612331
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4305e0
push ebx
call fcn.00610cd6
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.006111ee
add esp, 0x35c
ret
Function at 0x44a380
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x44a380
sub esp, 0x130
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov esi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x44a532
cmp byte [esi], bl
je 0x44a532
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a532
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x44a404
mov dword [esp + 0xc], 0x64
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x10], ebx
jbe 0x44a520
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea esp, [esp]
xor eax, eax
push edi
push str._04u
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x38]
push 5
push eax
call fcn.0040209f
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a4f9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x44a49f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44a4f9
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x44a4bc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44a4f9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Characteristics
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 4
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x44a517
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x44a420
mov edx, dword [esp + 0x18]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x44a534
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
pop ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x44a534
xor eax, eax
mov ecx, dword [esp + 0x134]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x130
ret 4
Function at 0x4506d5
Capabilities:
Write file on windows

Disassembly:
jmp 0x4506d0
mov eax, dword [0x7b1b2c]
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
mov dword [ecx + 0xc], 1
cmp dword [esi + 0x10], 0
push 0
mov ecx, 0x7b1b24
push 0
je 0x45070b
push 3
mov dword [0x7b1db8], 1
call fcn.0040bfb9
mov dword [esi + 0x10], 0
jmp 0x450712
push 2
call fcn.0040bfb9
cmp dword [0x7c5268], 0
pop esi
jne 0x450730
mov dword [0x7c5268], 1
mov ecx, 0x7c51d0
jmp fcn.0040b27b
ret
Function at 0x4d31f5
Capabilities:
Delete file

Disassembly:
jmp 0x4d31f0
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x4d3237
mov eax, dword [0x7c3f50]
add eax, 0x1d4c0
push edi
mov dword [esi + 0x238], eax
call fcn.00407acc
push 0x65bbcc
lea ecx, [esi + 0x284]
call fcn.00402ed2
pop edi
push ebx
mov ecx, esi
call fcn.00410ab9
pop esi
pop ebx
ret 4
call fcn.00407acc
push 0x65bbdc
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00410ab9
pop esi
pop ebx
ret 4
Function at 0x4ff5b0
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4ff5b0
sub esp, 0x1ac
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4ff5df
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4ff6bb
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4ff615
test eax, eax
je 0x4ff612
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4ff606
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ff6ba
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4ff6ab
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x65f120
push eax
call fcn.00611035
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004050a6
test eax, eax
je 0x4ff69c
mov ecx, 0x7d65f8
call fcn.0040f321
push 0x230
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 1
push 0x179e
push 0x7c2258
call fcn.00409de0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4ff641
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x1ac
ret
Function at 0x560d40
Capabilities:
Read file on windows

Disassembly:
jmp 0x560d40
sub esp, 0x18
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x560e18
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
je 0x560da0
cmp dword [esp + 0x10], 0x6060801
je 0x560dbb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006111ee
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x560da1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x560e17
mov ecx, dword [0x7c2d24]
test ecx, ecx
je 0x560e17
mov edx, dword [esp + 0x18]
push edx
call fcn.0040927d
mov eax, dword [esp + 0x14]
mov ecx, dword [0x7c2d24]
push eax
call fcn.004070b3
fld dword [esp + 0x1c]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x7f9158
call fcn.0040a0ce
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x18
ret 4

Function at 0x560e30
Capabilities:
Write file on windows

Disassembly:
jmp 0x560e30
sub esp, 0x18
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [0x7c2d24]
push esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x560eca
call fcn.00402072
fld dword [0x7f9198]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x7c2d24]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push esi
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x560eca
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x6060801
call edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
lea edx, [esp + 0x1c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.006111ee
add esp, 0x18
ret 4
Function at 0x561da0
Capabilities:
Create directory

Disassembly:
jmp 0x561da0
sub esp, 0x108
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x561e89
push ebp
push edi
push 0
mov ecx, 0x7f9c58
call fcn.00404ac0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x7f9c58
call fcn.00404ac0
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x561e55
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7f9c58
call fcn.00404ac0
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040e68d
test bl, 2
je 0x561e87
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x7f9c58
call fcn.00404ac0
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00407fa9
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x108
ret 4
Function at 0x57d1c0
Capabilities:
Delete file

Disassembly:
jmp 0x57d1c0
jmp 0x4776d0
push esi
push edi
push 0x655154
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.00409444
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.0060a860
mov ecx, esi
call fcn.0040150f
pop edi
mov dword [0x7b24ac], esi
mov ecx, esi
pop esi
jmp 0x4066bd
sub esp, 0x2cc
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push esi
push edi
push 0xff
lea eax, [esp + 0x1dc]
push eax
push 0
mov ebp, ecx
call ebx
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.006143f0
lea edi, [esp + 0x1e0]
add esp, 8
mov byte [eax + 1], 0
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x57d210
mov ecx, 6
mov esi, 0x664284
rep movsd dword es:[edi], dword [esi]
push 0xff
lea edx, [esp + 0xdc]
push edx
push 0
movsw word es:[edi], word [esi]
call ebx
lea eax, [esp + 0xd8]
push 0x5c
push eax
call fcn.006143f0
lea edi, [esp + 0xe0]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x57d255
mov ecx, 7
mov esi, 0x6642a0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x1dc]
push 0x6642c0
push edx
movsb byte es:[edi], byte [esi]
call fcn.00410929
push 0xc8
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00610b10
push 0x6642c8
lea ecx, [esp + 0x2c]
push ecx
push 0x6642e8
push 0x6642f0
call fcn.0040702c
lea edx, [esp + 0x38]
push edx
call fcn.00611754
push 0xc8
mov dword [ebp + 0x24c], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00610b10
push 0x6642fc
lea ecx, [esp + 0x4c]
push ecx
push 0x66431c
push 0x664320
call fcn.0040702c
lea edx, [esp + 0x58]
add esp, 0x48
push edx
call fcn.00611754
push 0xc8
mov dword [ebp + 0x250], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00610b10
push 0x66432c
lea ecx, [esp + 0x24]
push ecx
push 0x66434c
push 0x664350
call fcn.0040702c
lea edx, [esp + 0x30]
push edx
call fcn.00611754
push 0xc8
mov dword [ebp + 0x254], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00610b10
push 0x66435c
lea ecx, [esp + 0x44]
push ecx
push 0x66437c
push 0x664380
call fcn.0040702c
lea edx, [esp + 0x50]
add esp, 0x40
push edx
call fcn.00611754
mov dword [ebp + 0x258], eax
add esp, 4
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006111ee
add esp, 0x2cc
ret
Function at 0x582f20
Capabilities:
Write file on windows

Disassembly:
jmp 0x582f20
sub esp, 0x24
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x58307c
cmp byte [edi + 0x49], 0
je 0x58307c
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x582f65
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006111ee
add esp, 0x24
ret
mov ecx, 0xf
xor eax, eax
mov byte [esp + 8], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 8
cmp ecx, 0x10
jae 0x582f8e
lea eax, [esp + 8]
push ebx
push ebp
mov byte [eax + 8], 0
lea ebx, [edi + 0x4c]
push esi
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x582fad
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x582ff2
dec eax
je 0x582ff6
sub eax, 2
lea ecx, [esp + 0x14]
je 0x583062
call fcn.00406901
pop esi
pop ebp
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006111ee
add esp, 0x24
ret
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x583009
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x583036
cmp ebp, 0x10
jae 0x58301a
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00610ea1
add esp, 0x10
cmp esi, eax
jne 0x583055
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x58305e
test esi, esi
jne 0x582fa0
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00406ee7
jmp 0x582f98
lea ecx, [esp + 0x14]
jmp 0x582fd8
lea ecx, [esp + 0x14]
call fcn.00406901
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006111ee
add esp, 0x24
ret
mov ecx, dword [esp + 0x24]
pop edi
xor ecx, esp
mov al, 1
call fcn.006111ee
add esp, 0x24
ret