joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401007
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00408ca0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x2b7895c], 0x594
push edi
mov dword [ebp - 0xc], eax
jne 0x40103f
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x49fee8]
mov dword [ebp - 0x34], eax
mov eax, dword [0x49feec]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x49fef0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x49fef4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, ebx
shl eax, 4
cmp dword [0x2b7895c], 0xc
mov dword [ebp - 4], eax
jne 0x4010d9
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosw word es:[edi], ax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1040]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x2b7895c]
cmp eax, 0xfa9
jne 0x4010f5
mov dword [0x2b78958], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401110
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2b7830c], esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
add eax, ebx
shr edx, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [0x2b78954], 0xf4ea3dee
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
shr eax, cl
add eax, dword [ebp - 0x28]
mov edi, eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x2b7895c], 0xb03
jne 0x40119d
push str.xebidirufojibumemuyigepas_ratedusacesicokizenefocolorevo_vuvelihivoticabugapefilex
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor dword [ebp - 4], edi
sub ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x40107f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x402450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49f0c8]
jne 0x40245a
repz ret
jmp fcn.004056ae

Function at 0x4052da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004039ec
and dword [ebp - 4], 0
cmp dword [0x4a41cc], 0
mov ebx, eax
jne 0x40538b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40543c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40543c
push eax
call fcn.0040397a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a41cc], eax
call esi
push eax
call fcn.0040397a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a41d0], eax
call esi
push eax
call fcn.0040397a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a41d4], eax
call esi
push eax
call fcn.0040397a
pop ecx
mov dword [0x4a41dc], eax
test eax, eax
je 0x40538b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040397a
pop ecx
mov dword [0x4a41d8], eax
mov eax, dword [0x4a41d8]
cmp eax, ebx
je 0x4053e3
cmp dword [0x4a41dc], ebx
je 0x4053e3
push eax
call fcn.004039f5
push dword [0x4a41dc]
mov esi, eax
call fcn.004039f5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4053e3
test edi, edi
je 0x4053e3
call esi
test eax, eax
je 0x4053da
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4053da
test byte [ebp - 0xc], 1
jne 0x4053e3
or dword [ebp + 0x10], 0x200000
jmp 0x40541c
mov eax, dword [0x4a41d0]
cmp eax, ebx
je 0x40541c
push eax
call fcn.004039f5
pop ecx
test eax, eax
je 0x40541c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40541c
mov eax, dword [0x4a41d4]
cmp eax, ebx
je 0x40541c
push eax
call fcn.004039f5
pop ecx
test eax, eax
je 0x40541c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a41cc]
call fcn.004039f5
pop ecx
test eax, eax
je 0x40543c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40543e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x19cc74ca
mov byte [esi + eax - 0x6e], dh
cmc
retf 0x1a33
fidivr word [edx - 0x2c71a5e9]
mov edx, 0xd38e5a17
xchg ebx, eax
fisttp qword [ebx - 0x66b365ce]
jo 0x4153e1
mov esi, dword [edx]
lcall 0x7df6, 0xf270994c
fld xword [eax - 0x5d338ae0]
je 0x415408
idiv byte [ebp - 0x25]
test al, 0x20
jne 0x4153c2
mov byte [0xc8e0f74], al
arpl word [edx], si
mov cs, word [ebx]
xor dh, byte [ebx]
ret 0x8bdf
xor eax, edx
fisttp word [ebx - reloc.shell32.dll_SHGetSpecialFolderLocation]
xor ecx, dword [edx - 0x24]
sti
jb 0x4153fd
je 0x4153e8
int3
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
call fcn.0040eeb0
test eax, eax
je 0x4010ce
mov eax, dword [0x42f4ec]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x7d0
push 0x42e760
push 0x17
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x34
push str.EXEpress_CX
push 0x42e760
push esi
call ebx
cmp eax, 6
jne 0x4010cc
push 1
push 0
push 0
push str.http:__www.webtech.co.jp_onlinesoft_exepress_
push 0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4010cc
mov ecx, dword [0x42f4ec]
push 0x7d0
push 0x42e760
push 2
push ecx
call edi
push 0x30
push str.EXEpress_CX
push 0x42e760
push esi
call ebx
pop edi
pop ebx
ret
Function at 0x4019b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [0x42f00c]
xor eax, eax
test ecx, ecx
mov dword [0x42ef30], 1
je 0x401a70
mov eax, dword [esp + 4]
push ebx
push ecx
push 0xfffffffffffffff8
push eax
mov dword [0x42f008], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x42f00c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x42f00c]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebx
test dword [0x4330b8], 0x800
je 0x401a5f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x401a3a
mov edi, edi
mov edx, dword [0x42f00c]
push edx
call fcn.00406e30
add esp, 4
call esi
sub eax, edi
cmp eax, 0x7d0
jb 0x401a20
mov eax, dword [0x42f00c]
push 1
push 0
push eax
mov dword [0x42ef30], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x42f00c]
push ecx
call ebx
pop edi
pop esi
mov eax, 1
mov dword [0x42ef30], 0
pop ebx
ret
mov dword [0x42ef30], eax
ret

Function at 0x401f20
Capabilities:
Get disk information
Get file size

Disassembly:
sub esp, 0x114
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [esp + 0x14]
cmp al, 0x5c
jne 0x401f57
mov edi, 4
jmp 0x401f77
lea ecx, [esp + 8]
push ecx
mov byte [esp + 0xc], al
mov byte [esp + 0xd], 0x3a
mov byte [esp + 0xe], 0x5c
mov byte [esp + 0xf], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401fb4
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00412c09
add esp, 0x114
ret
push ebx
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 3
je 0x401fe7
cmp edi, 6
je 0x401fe7
mov eax, 0x1e8480
cmp eax, ebx
jmp 0x401fee
mov ecx, 0x989680
cmp ecx, ebx
mov ecx, dword [esp + 0x11c]
pop ebx
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.00412c09
add esp, 0x114
ret

Function at 0x402190
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3f0
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x3ec], eax
mov eax, dword [esp + 0x3f8]
push esi
mov esi, dword [esp + 0x3f8]
push eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4274fc
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
jne 0x402205
mov dword [0x42f140], 8
mov ecx, dword [esp + 0x3ec]
xor ecx, esp
call fcn.00412c09
add esp, 0x3f0
ret
Function at 0x402220
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3f0
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x3ec], eax
mov eax, dword [esp + 0x3f8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
mov ebp, dword [esp + 0x3fc]
push esi
push edi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x18], 0
call ebx
push 0x4274fc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004133a4
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
push esi
call ebx
xor eax, eax
test edi, edi
jle 0x4022a4
mov dl, byte [eax + esi]
not dl
mov byte [eax + esi], dl
add eax, 1
cmp eax, edi
jl 0x402295
push 0
lea eax, [esp + 0x14]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x4022c6
mov dword [0x42f140], 8
mov ecx, dword [esp + 0x3ec]
xor ecx, esp
call fcn.00412c09
add esp, 0x3f0
ret

Function at 0x4022e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ebp + 0x10]
jecxz 0x402309
xor ebx, ebx
mov bl, al
mov al, ah
xor bl, byte [esi]
xor ah, ah
inc esi
xor ax, word [ebx*2 + section..data]
loop 0x4022f6
mov dword [ebp - 4], eax
mov ax, word [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4051c0
Capabilities:
Delete directory
Delete file
Set current directory

Disassembly:
sub esp, 0x110
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [eax + 0x14]
add eax, 0x5c8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 8]
push ecx
call fcn.004050b0
add esp, 4
test eax, eax
je 0x4052d7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push edi
cmp byte [esp + 0x18], 0
je 0x4052be
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x18]
sub ecx, 1
add eax, ecx
mov dword [esp + 0x14], eax
xor edi, edi
jmp 0x405244
mov eax, dword [esp + 0x14]
cmp byte [eax], 0x5c
jne 0x405287
push 0x427550
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x18]
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x405271
push 0x1f4
call ebx
lea eax, [esp + 0x18]
push eax
call ebp
mov esi, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
add edx, 0x5c8
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4052a5
lea eax, [esp + 0x18]
push eax
call fcn.0040ee90
add esp, 4
test eax, eax
je 0x4052be
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
test esi, esi
jne 0x4052be
push esi
call fcn.00406e30
add esp, 4
push 0x64
call ebx
add edi, 1
cmp edi, 0x40
jl 0x405240
lea edx, [esp + 0x18]
push edx
call fcn.004050b0
add esp, 4
test eax, eax
jne 0x405212
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00412c09
add esp, 0x110
ret
Function at 0x406d40
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push edi
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x406d6b
xor eax, eax
pop edi
pop ecx
ret
push ebx
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
mov ebx, eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
pop edi
pop ecx
ret

Function at 0x407240
Capabilities:
Delete file
Set current directory

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x18], 1
jne 0x4073a2
push ebx
push ebp
push 0x42fbf8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esp + 0x24]
mov edx, dword [0x42f174]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.00403700
mov ebx, dword [esp + 0x28]
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4072a9
mov eax, dword [0x42f4ec]
push 0x7d0
push 0x42e760
push 0xa
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x30
push 0x42fbb6
push 0x42e760
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xc]
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [0x4330b8], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x4072e2
mov esi, 0x64
lea ebx, [ebx]
push ebx
call fcn.00406e30
add esp, 4
push 0x64
call edi
sub esi, 1
jne 0x4072d0
test ebp, ebp
je 0x40739e
test byte [0x4330b8], 8
je 0x40739e
push str..exe
push 0x42ff04
call fcn.0040f140
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40739e
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push eax
call ebp
cmp dword [esp + 0x28], 0x103
je 0x407361
test byte [0x4330b8], 0x10
je 0x407370
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x42ff04
call esi
cmp eax, 0xffffffff
jne 0x407383
push ebx
call fcn.00406e30
add esp, 4
push 0x64
call edi
jmp 0x407324
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push 0x42ff04
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4078a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10c
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x108], eax
cmp byte [0x42fe00], 0
je 0x40794b
push ebp
push esi
push edi
push 0x105
lea eax, [esp + 0x10]
push eax
push 0x3e8
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0xc]
push ecx
call fcn.0040e9f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
push 0x42fe00
mov esi, 1
call edi
lea edx, [esp + 0xc]
push edx
mov ebp, eax
call edi
cmp eax, ebp
jl 0x407937
push 0x42fe00
call edi
lea esi, [esp + 0xc]
sub esi, eax
lea eax, [esp + 0xc]
push eax
call edi
add eax, esi
push 0x42fe00
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
push esi
push 4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00412c09
add esp, 0x10c
ret
Function at 0x4097e0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x6f8]
sub esp, 0x6f8
push 0xffffffffffffffff
push 0x426290
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x42d2ec]
xor eax, ebp
mov dword [ebp + 0x6f4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x700]
mov dword [ebp - 0x18], esi
mov eax, dword [0x42f174]
mov eax, dword [eax + 0x14]
add eax, 0x1239c
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, edi
mov edx, dword [0x42f174]
mov eax, dword [edx + 0x14]
add eax, 0x1239c
cmp ecx, dword [eax + 8]
je 0x409a25
lea eax, [ebp + 0x5f0]
push eax
push ecx
call fcn.0040e0c0
lea ecx, [ebp + 0x5f0]
push ecx
push 0x104
lea edx, [ebp + 0x4ec]
push edx
call fcn.00413690
lea eax, [ebp + 0x4ec]
push eax
call fcn.0040f120
lea ecx, [ebp + 0x4ec]
push ecx
call fcn.0040ea30
add esp, 0x1c
lea edx, [ebp + 0x3e8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp + 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp + 0x5f0]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x1c], edi
lea edx, [ebp + 0x3e8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test edi, edi
je 0x4099d7
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409982
mov dword [ebp - 4], 0
call eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
jge 0x4099c1
jmp 0x40992e
push 0x7d0
push 0x42e760
push 0x28
mov eax, dword [0x42f4ec]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp + 0x5f0]
push ecx
push 0x42e760
lea edx, [ebp]
push edx
call fcn.00407c20
add esp, 0xc
push 0
push 0x42fbb6
lea eax, [ebp]
push eax
push esi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add dword [ebp - 0x14], 0x105
mov ecx, dword [ebp - 0x14]
jmp 0x409840
push 0x7d0
push 0x42e760
push 0x28
mov ecx, dword [0x42f4ec]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp + 0x5f0]
push edx
push 0x42e760
lea eax, [ebp]
push eax
call fcn.00407c20
add esp, 0xc
push 0
push 0x42fbb6
lea ecx, [ebp]
push ecx
push esi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add dword [ebp - 0x14], 0x105
mov ecx, dword [ebp - 0x14]
jmp 0x409840
push 0x7d0
push 0x42e760
push 0x28
mov edx, dword [0x42f4ec]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp + 0x5f0]
push eax
push 0x42e760
lea ecx, [ebp]
push ecx
call fcn.00407c20
add esp, 0xc
push 0
push 0x42fbb6
lea edx, [ebp]
push edx
push esi
call ebx
add dword [ebp - 0x14], 0x105
mov ecx, dword [ebp - 0x14]
jmp 0x409840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6f4]
xor ecx, ebp
call fcn.00412c09
add ebp, 0x6f8
mov esp, ebp
pop ebp
ret
Function at 0x40a2e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x426338
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x42d2ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x42d2ec]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [0x430d28], bl
je 0x40a416
call fcn.0040eeb0
test eax, eax
je 0x40a416
mov eax, 0x430d28
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a343
sub eax, edx
push eax
push 0x430d28
lea ecx, [esp + 0x14]
call fcn.00403320
mov dword [esp + 0x34], ebx
push 7
push str._n_nURL
lea ecx, [esp + 0x14]
call fcn.00409e50
mov eax, 0x430e2c
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a380
sub eax, edx
push eax
push 0x430e2c
lea ecx, [esp + 0x14]
call fcn.00409e50
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x40a3a9
lea eax, [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x34
push 0x42fbb6
push eax
push edi
call esi
cmp eax, 6
jne 0x40a3ea
push 1
push ebx
push ebx
push 0x430e2c
push ebx
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40a3ea
push 0x30
push 0x42fbb6
push 2
call fcn.00401020
add esp, 4
push eax
push edi
call esi
mov dword [esp + 0x34], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x40a406
mov eax, dword [esp + 0x10]
push eax
call fcn.00412e3a
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00412c09
add esp, 0x2c
ret