joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409174
Capabilities:
Create directory

Disassembly:
jmp 0x591fe0
sub esp, 0x210
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x59203a
push 0x7c9
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 0x1d
push 0x7c5388
call fcn.0040198d
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.006111ee
add esp, 0x210
ret
mov eax, dword [0x7f68a0]
mov dword [esp + 4], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x665fa8
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x592022
cmp dword [esi + 0xc], 0
jne 0x5920a1
push 0x666084
mov ecx, esi
call fcn.00404e7b
test eax, eax
jns 0x592085
push 0x7ca
jmp 0x592008
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
cmp dword [esi + 0xc], 0
je 0x592164
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.004118bf
push 0
mov ecx, 0x7f9c58
call fcn.00404ac0
push eax
lea edx, [esp + 0xc]
push str._sScreenShot
push edx
call fcn.00611035
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x5920fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5920fb
push 0x7cc
jmp 0x592008
push 0x104
lea ecx, [esp + 0x110]
push ecx
push 0x6660c4
push str.Capture
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00409304
lea eax, [esp + 0x10c]
push eax
push 0x7cd
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 0x1d
push 0x7c5388
call fcn.0040198d
mov ecx, dword [esp + 0x14]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [esp + 0x118]
push edx
push esi
call fcn.004085df
test eax, eax
js 0x592022
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
mov eax, 1
call fcn.006111ee
add esp, 0x210
ret
Function at 0x409962
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
Function at 0x40a394
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x430050
mov eax, dword [esp + 4]
push 0
push eax
push 0x403b89
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x7b19dc], eax
ret 4

Function at 0x40ad1c
Capabilities:
Write file on windows

Disassembly:
jmp 0x5270f0
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x52711f
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x520
lea edx, [edi + 0x524]
push edx
push esi
call ebx
test eax, eax
jne 0x52714f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xc0
add edi, 0xb04
push edi
push esi
call ebx
push esi
test eax, eax
je 0x527141
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x40aec0
Capabilities:
Get file size

Disassembly:
jmp 0x59b470
sub esp, 0x2a0
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x29c], eax
cmp dword [0x7d6ad0], 0
mov ecx, dword [esp + 0x2a4]
mov eax, dword [esp + 0x2ac]
je 0x59b4eb
push eax
mov eax, dword [esp + 0x2ac]
push eax
push ecx
push 0x666b2c
push 0x7d69d0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x7d69d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x59b686
int3
mov edx, dword [esp + 0x2a8]
test eax, eax
je 0x59b510
push eax
push edx
push ecx
lea eax, [esp + 0x1a8]
push 0x666b58
push eax
call fcn.00611035
add esp, 0x14
jmp 0x59b527
push edx
push ecx
lea eax, [esp + 0x1a4]
push 0x666b70
push eax
call fcn.00611035
add esp, 0x10
push 0xff
lea ecx, [esp + 0xa1]
push 0
push ecx
mov byte [esp + 0xa8], 0
call fcn.00610b10
add esp, 0xc
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0xa]
movzx ecx, word [esp + 6]
movzx edx, word [esp + 4]
push eax
push ecx
push edx
lea eax, [esp + 0xa8]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.00611035
add esp, 0x14
cmp dword [0x7d6de4], 0
jne 0x59b686
push esi
push edi
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x59b602
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xa4]
push 0x666ba0
push eax
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x59b684
call fcn.0040f335
push eax
lea ecx, [esp + 0x1a8]
push ecx
push 0x666ba4
push esi
call fcn.00612331
push esi
call fcn.00610cd6
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.006111ee
add esp, 0x2a0
ret
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 8]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
ja 0x59b67a
lea eax, [esp + 0xa4]
push 0x666bb0
push eax
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x59b684
call fcn.0040f335
push eax
lea ecx, [esp + 0x1a8]
push ecx
push 0x666bb4
push esi
call fcn.00612331
push esi
call fcn.00610cd6
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.006111ee
add esp, 0x2a0
ret
mov dword [0x7d6de4], 1
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.006111ee
add esp, 0x2a0
ret
Function at 0x40b27b
Capabilities:
Write file on windows

Disassembly:
jmp 0x52c4b0
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x52c516
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x40b62c
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 0x40be88
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 0x40c3d3
Capabilities:
Delete file

Disassembly:
jmp 0x4d3260
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x4d32ad
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [0x7c3f50]
push edi
mov dword [esi + 0x238], eax
call fcn.00407acc
push 0x65bbec
lea ecx, [esi + 0x284]
call fcn.00402ed2
pop edi
push ebx
mov ecx, esi
call fcn.00410ab9
pop esi
pop ebx
ret 8
call fcn.00407acc
push 0x65bbfc
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00410ab9
pop esi
pop ebx
ret 8
Function at 0x40c7e8
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 0x40d0a3
Capabilities:
Print debug messages

Disassembly:
jmp 0x5c8830
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x5c885d
mov ecx, esi
call fcn.00409c6e
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x40e908
Capabilities:
Hide graphical window

Disassembly:
jmp 0x430670
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x7b3e88
call fcn.0040318e
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x7b14bc], ebp
call ebx
mov edi, eax
push 7
add edi, edi
call ebx
mov esi, eax
push 4
add esi, esi
call ebx
lea ecx, [esi + eax]
mov esi, dword [0x7f0f64]
xor edx, edx
mov eax, esi
div dword [0x7f04f0]
mov eax, dword [0x7f04f4]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4306cd
cmp dword [edx], esi
je 0x430711
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4306c2
push 0
push ebp
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push 0x80000000
push 0x2ca0000
push 0x7b14c0
push 0x7b16d8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x7b14a8], esi
test esi, esi
jne 0x43072d
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x4306cd
mov eax, dword [edx + 8]
push 0
push ebp
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x4306e2
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x7b1b24
call fcn.004100e1
cmp dword [0x7c5268], 0
push 0
mov ecx, 0x7b1b24
push 0
jne 0x43077e
push 1
call fcn.0040bfb9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.0040bfb9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x40f358
Capabilities:
Write file on windows

Disassembly:
jmp 0x592aa0
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x592af3
mov eax, dword [esp + 8]
push 0x66645c
push eax
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x592b29
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x592ad0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x592ad0
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.00610ea1
push esi
call fcn.00610cd6
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x592b29
mov ecx, dword [esp + 8]
push 0x666460
push ecx
call fcn.00610fd7
mov esi, eax
add esp, 8
test esi, esi
je 0x592b29
mov edx, dword [esp + 0xc]
push edx
push 0x666464
push esi
call fcn.00612331
push esi
call fcn.00610cd6
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x4109e2
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 0x410bf4
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