joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a7a
Capabilities:
Delete file

Disassembly:
mov eax, 0x41dcd6
call fcn.00415a34
sub esp, 0xd78
push ebx
push edi
push str.TEXTAREA:
call fcn.00415b30
mov edi, eax
lea eax, [ebp - 0x80]
push eax
push edi
push dword [ebp + 8]
call fcn.004058f0
lea eax, [ebp - 0x80]
push str.textarea:
push eax
call fcn.00415f40
add esp, 0x18
test eax, eax
jne 0x404c04
xor ebx, ebx
push 0xc00
lea eax, [ebp - 0xd84]
push ebx
push eax
call fcn.00415510
push 0x41
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00415510
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [ebp + 8]
call fcn.00405979
lea eax, [ebp + edi - 0x5c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00415570
lea eax, [ebp - 0x184]
push eax
push 0x425184
call fcn.00405a66
add esp, 0x38
lea eax, [ebp - 0x184]
mov ecx, 0x4259d0
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00406666
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x404b78
lea eax, [ebp - 0x5c]
mov edi, str._s_s
push eax
push 0x424d44
lea eax, [ebp - 0x184]
push edi
push eax
call fcn.00415cc0
lea eax, [ebp - 0x184]
push eax
call fcn.00405aaf
add esp, 0x14
test eax, eax
jne 0x404b78
lea eax, [ebp - 0x5c]
push eax
push 0x425080
lea eax, [ebp - 0x184]
push edi
push eax
call fcn.00415cc0
add esp, 0x10
push 8
call fcn.00415d12
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x404b95
call fcn.0040f508
mov edi, eax
jmp 0x404b97
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x184]
push ebx
push eax
mov ecx, edi
call fcn.0040c046
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0xd84]
push eax
mov dword [ebp - 0x10], 0xc00
call fcn.0040f541
cmp edi, ebx
je 0x404bd6
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
cmp dword [ebp - 0x10], ebx
je 0x404c04
cmp dword [ebp - 0x10], 0xffffffff
je 0x404c04
cmp dword [ebp - 0x14], ebx
je 0x404bf3
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0xd84]
push eax
push dword [ebp + 8]
call fcn.00415570
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x404f7e
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
push esi
lea eax, [ebp - 0x508]
push dword [ebp + 8]
mov esi, ecx
push eax
call fcn.00415570
pop ecx
lea eax, [ebp - 0x508]
pop ecx
push eax
mov ecx, esi
call fcn.004019e2
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x508]
push 2
push eax
push 0x2c
call fcn.00405f05
lea eax, [ebp - 0x104]
add esi, 0x10
push eax
lea eax, [ebp - 0x508]
push eax
push str.Movefile__s_to__s.
push esi
call fcn.0040d0ca
add esp, 0x24
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop esi
leave
ret 8
Function at 0x405015
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
mov al, byte [0x424ae0]
push ebx
push esi
push edi
mov ebx, ecx
push 0x40
mov byte [ebp - 0x158], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x55c]
push eax
call fcn.00415570
pop ecx
lea eax, [ebp - 0x55c]
pop ecx
push eax
mov ecx, ebx
call fcn.004019e2
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x55c]
push 2
push eax
push 0x2c
call fcn.00405f05
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x54]
push edi
push esi
push eax
call fcn.00415510
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], edi
call fcn.00415510
lea eax, [ebp - 0x158]
add ebx, 0x10
push eax
lea eax, [ebp - 0x55c]
push eax
push str.Waitrun__s_Argument__s.
push ebx
call fcn.0040d0ca
add esp, 0x3c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x158]
push esi
push eax
lea eax, [ebp - 0x55c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40596a
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
ret

Function at 0x405b31
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00405c91
lea eax, [ebp - 0x30c]
push eax
push dword [ebp + 0xc]
call fcn.00405c91
add esp, 0x10
call fcn.00405bc4
cmp eax, 1
jne 0x405bac
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x208]
push str.WinInit.ini
push eax
call fcn.00415580
pop ecx
lea eax, [ebp - 0x208]
pop ecx
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x104]
push eax
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
leave
ret
lea eax, [ebp - 0x104]
push 5
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
leave
ret
Function at 0x405bd8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x405bf0
mov edi, dword [ebp + 8]
cmp byte [edi], bl
je 0x405c8c
push 0x104
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.00415510
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00415570
lea eax, [ebp - 0x104]
push eax
call fcn.00415b30
lea eax, [ebp + eax - 0x104]
add esp, 0x18
cmp byte [eax - 1], 0x5c
je 0x405c38
mov byte [eax], 0x5c
mov eax, edi
sub eax, dword [ebp + 8]
lea esi, [ebp + eax - 0x103]
mov al, byte [esi]
cmp al, bl
je 0x405c51
cmp al, 0x5c
je 0x405c51
inc esi
jmp 0x405c44
cmp edi, dword [ebp + 8]
jne 0x405c66
mov al, byte [esi + 1]
inc esi
cmp al, bl
je 0x405c62
cmp al, 0x5c
jne 0x405c56
cmp byte [esi], bl
je 0x405c8c
lea eax, [ebp - 0x104]
push ebx
push eax
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x104]
sub esi, eax
add esi, dword [ebp + 8]
push esi
push dword [ebp + 8]
call fcn.00405bd8
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405d0e
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405d71
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 8]
call eax
test eax, eax
je 0x405df2
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
push 0xa
pop ecx
call fcn.00416530
push eax
push str.disk_space_is__u.
push 0x424b20
mov dword [ebp - 8], eax
call fcn.0040d0ca
add esp, 0xc
mov eax, dword [ebp - 8]
leave
ret
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov esi, dword [ebp - 0x10]
and dword [ebp - 8], 0
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
fild qword [ebp - 0xc]
and dword [ebp - 8], 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
fmul qword [0x41e358]
fild qword [ebp - 0xc]
and dword [ebp - 8], 0
mov dword [ebp - 0xc], ebx
fmulp st(1)
fild qword [ebp - 0xc]
fmulp st(1)
call fcn.004164fc
push edi
push esi
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebp + 8]
push str.path__s_res__u_space__u_FreeClusters__u_BytesPerSect__u_SectPerClust__u.
push 0x424b20
call fcn.0040d0ca
add esp, 0x20
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
jne 0x405d6c
xor eax, eax
leave
ret
Function at 0x405df6
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.00405bc4
xor esi, esi
cmp eax, 2
jne 0x405e4f
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405e58
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret

Function at 0x405fb4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 1
push 0x424ae0
lea eax, [ebp - 0x104]
push 0x104
push eax
push str.DeskTop
push str.SOFTWAREMICROSOFTWindowsCurrentVersionExplorerShell_Folders
push connect
call fcn.0040e7ad
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00415570
add esp, 0x24
push 1
pop eax
leave
ret
Function at 0x406666
Capabilities:
Delete file

Disassembly:
mov eax, 0x41dd24
call fcn.00415a34
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, dword [edi + 0x18]
cmp esi, ebx
je 0x4066a1
cmp dword [edi + 0x10], ebx
jle 0x4066a1
push dword [ebp + 8]
push esi
call fcn.00405820
pop ecx
test eax, eax
pop ecx
je 0x4066b4
add esi, 0x30
inc ebx
cmp ebx, dword [edi + 0x10]
jl 0x406689
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov eax, dword [esi + 0x2c]
and eax, 4
cmp al, 4
je 0x4066a1
lea ecx, [ebp - 0x14]
call fcn.0040bf73
push dword [esi + 0x28]
and dword [ebp - 4], 0
call fcn.00415ec7
pop ecx
mov ebx, eax
push 0
mov ecx, edi
push dword [esi + 0x24]
call fcn.0040c02a
lea eax, [ebp + 8]
mov ecx, edi
push eax
push dword [esi + 0x28]
push ebx
call fcn.0040bfcc
test byte [esi + 0x2c], 1
je 0x406749
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00415510
lea eax, [ebp - 0x118]
push 0x425184
push eax
call fcn.00415570
push str..tmp
lea eax, [ebp - 0x118]
push esi
push eax
lea eax, [ebp - 0x118]
push str._s_s_s
push eax
call fcn.00415cc0
add esp, 0x28
lea eax, [ebp - 0x118]
push 0x1001
push eax
jmp 0x406751
push 0x1001
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040c046
push dword [esi + 0x28]
lea ecx, [ebp - 0x14]
push ebx
call fcn.0040bff6
lea ecx, [ebp - 0x14]
call fcn.0040bfae
test byte [esi + 0x2c], 1
je 0x4067ac
lea eax, [ebp - 0x118]
push 2
push eax
push dword [ebp + 0xc]
call fcn.00406a7f
add esp, 0xc
test eax, eax
je 0x40679f
push 0
push 0x421e58
push 0x421e10
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040bf9c
push 1
pop eax
jmp 0x4066a3

Function at 0x406a1d
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
je 0x406a78
cmp esi, 0xffffffff
je 0x406a78
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x406a6d
cmp dword [ebp - 4], edi
jne 0x406a78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x406a7b
or eax, 0xffffffff
pop edi
pop esi
leave
ret
Function at 0x406b59
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, edi
je 0x406bc4
cmp ebx, 0xffffffff
je 0x406bc4
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp + 8], edi
mov esi, eax
jne 0x406bc4
push esi
call fcn.00415ec7
mov edi, eax
pop ecx
test edi, edi
je 0x406bc4
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406bcc
cmp dword [ebp - 4], esi
je 0x406bcc
push edi
call fcn.00415a5e
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
jmp 0x406bc7

Function at 0x406dad
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
lea eax, [ebp - 0x11c]
mov esi, ecx
push 0x104
push eax
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x11c]
push eax
call fcn.00415b30
cmp byte [ebp + eax - 0x11d], 0x5c
pop ecx
jne 0x406dfa
lea eax, [ebp - 0x11c]
push eax
call fcn.00415b30
and byte [ebp + eax - 0x11d], 0
pop ecx
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00405bd8
lea eax, [ebp - 0x11c]
push eax
call fcn.00405d0e
mov ecx, dword [0x424f78]
add esp, 0xc
shr ecx, 0xa
cmp eax, ecx
ja 0x406e5f
lea ecx, [ebp - 4]
call fcn.0040d172
mov eax, dword [0x424f78]
shr eax, 0xa
push eax
lea eax, [ebp - 0x18]
push 0x421ec0
push eax
call fcn.00415cc0
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [0x426314], eax
lea ecx, [ebp - 4]
push 0
push 6
push dword [esi + 4]
call fcn.0040d235
jmp 0x406e9f
cmp dword [0x424f58], 1
push edi
jg 0x406e84
mov edi, 0x425e20
push edi
call fcn.00415b30
cmp eax, 3
pop ecx
jb 0x406e97
lea eax, [ebp - 0x11c]
push eax
push edi
jmp 0x406e90
lea eax, [ebp - 0x11c]
push eax
push 0x424f7c
call fcn.00415570
pop ecx
pop ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
pop edi
pop esi
leave
ret

Function at 0x407177
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x407183
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
mov ebx, str.Image
push edi
push ebx
mov esi, ecx
push dword [ebp + 8]
mov edi, 0x425c0c
mov ecx, edi
call fcn.0040d8e1
test eax, eax
je 0x407278
lea eax, [ebp - 0x114]
push 0x101
push eax
push 0x424ae0
push ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.0040d8c4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x114]
push 3
push eax
call fcn.00405979
lea eax, [ebp - 0x10]
push eax
call fcn.00415b18
mov dword [esi + 0x60], eax
lea eax, [ebp - 8]
push eax
call fcn.00415b18
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x218]
push eax
push 0x425184
call fcn.00405a66
add esp, 0x24
lea eax, [ebp - 0x218]
mov ecx, 0x4259d0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00406666
mov edi, eax
test edi, edi
jne 0x407251
lea eax, [ebp - 0x114]
push eax
push 0x424d44
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.00415cc0
add esp, 0x10
push 1
lea eax, [ebp - 0x218]
pop ebx
lea ecx, [esi + 0x30]
push ebx
push eax
call fcn.0040cb6a
test edi, edi
je 0x407275
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x34], ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x407fb3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
mov esi, ecx
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0x400
lea eax, [ebp - 0x400]
push ebx
push eax
push 0x421fbc
push str.Caption
push dword [esi + 0x2c]
mov edi, 0x425c0c
mov ecx, edi
call fcn.0040d8c4
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.00407290
lea eax, [ebp - 0x800]
push ebx
push eax
push 0x424ae0
push str.StaServerAndGroup
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0040d8c4
mov ecx, 0x424b10
call fcn.00404fff
push eax
lea ecx, [esi + 0x16c]
call fcn.004098cc
push eax
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00415cc0
add esp, 0x10
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 0x5e4]
call fcn.00407290
lea eax, [ebp - 0x800]
push ebx
push eax
push 0x424ae0
push str.StaDestPlace
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0040d8c4
lea ecx, [esi + 0x16c]
call fcn.0040983f
push eax
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00415cc0
add esp, 0xc
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 0x5e0]
call fcn.00407290
lea eax, [ebp - 0x800]
push ebx
push eax
push 0x424ae0
push str.StaGuage
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0040d8c4
lea eax, [ebp - 0x800]
push eax
lea eax, [esi + 0x68]
push eax
call fcn.00415570
push 0
lea eax, [ebp - 0x800]
push 0
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00415cc0
add esp, 0x18
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 0x5dc]
call fcn.00407290
lea eax, [ebp - 0x400]
push ebx
push eax
push 0x421e84
push str.BtnExit
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0040d8c4
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 0x5d8]
call fcn.00407290
lea eax, [ebp - 0x800]
push ebx
push eax
push 0x424ae0
push str.StaGuage2
mov ecx, edi
push dword [esi + 0x2c]
call fcn.0040d8c4
lea eax, [ebp - 0x800]
push eax
lea eax, [esi + 0xe9]
push eax
call fcn.00415570
push 0x421f74
lea eax, [ebp - 0x800]
push 0
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00415cc0
add esp, 0x18
lea eax, [ebp - 0x400]
mov ecx, esi
push eax
push dword [esi + 0x5e8]
call fcn.00407290
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408880
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [ebp + 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x410], ebx
mov dword [esi + 0x3e4], eax
jne 0x4088b8
mov eax, dword [esi]
push edi
push dword [ebp + 8]
call dword [eax + 4]
test eax, eax
je 0x4089eb
push edi
push dword [ebp + 8]
push str.Connect_Server:__s__Port:__u.
push 0x424b20
call fcn.0040d0ca
add esp, 0x10
mov ecx, esi
push 0xffffffffffffffff
call fcn.0040c8be
push edi
lea eax, [esi + 0x148]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80]
push str._s__s__u
push eax
call fcn.00415cc0
add esp, 0x14
lea eax, [ebp - 0x80]
lea ecx, [esi + 0x190]
push eax
push str.DefaultServer
push str.Setting
call fcn.0040da09
push dword [ebp + 8]
lea eax, [esi + 0x298]
push eax
call fcn.00415570
lea eax, [esi + 0x3ec]
mov dword [esi + 0x3e0], edi
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x3c], 0x710
mov dword [ebp - 0x38], 0x34
call fcn.00415570
add esp, 0x10
mov ecx, 0x425c0c
push 0x3a8
push str.Language
push str.Initialize
call fcn.0040d8ae
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x184]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.0040c12c
lea eax, [ebp - 0x184]
push eax
call fcn.00405e97
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
call fcn.00405e97
push str.1.0.0.1
mov dword [ebp - 0x14], eax
call fcn.00405e97
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x3e4]
and eax, 1
add esp, 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004089f2
test eax, eax
je 0x4089cc
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x450], eax
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
mov ecx, esi
mov dword [esi + 0x454], ebx
call fcn.0040ca62
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40a555
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x100
lea eax, [ebp - 0x104]
push ebx
mov dword [ebp - 4], ecx
push eax
lea edi, [esi + 0x24]
mov dword [ebp + 8], 1
call fcn.00415510
mov eax, dword [esi + 8]
add esp, 0xc
cmp eax, 0xffffffff
je 0x40a5cc
cmp eax, ebx
jne 0x40a5cc
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00415570
push edi
call fcn.00415b30
add esp, 0xc
lea edi, [edi + eax + 1]
push dword [esi + 0xc]
lea eax, [ebp - 0x104]
push 0x4221ac
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, dword [esi + 0x10]
je 0x40a5cc
mov dword [ebp + 8], ebx
cmp dword [esi + 0x14], 0xffffffff
je 0x40a5e8
cmp dword [ebp + 8], ebx
je 0x40a5e8
push 5
push ebx
push ebx
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esi + 0x18], ebx
je 0x40a5f5
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0x1c], ebx
je 0x40a605
push ebx
mov ecx, 0x424b10
call fcn.0040327d
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40a60c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x28]
pop ebx
dec eax
je 0x40a6c1
dec eax
jne 0x40a74e
lea eax, [ebp - 0x104]
push 0x424d44
push eax
call fcn.00415570
lea eax, [ebp - 0x104]
push 0x421c28
push eax
call fcn.00415580
lea edi, [esi + 8]
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00415580
lea eax, [ebp - 0x104]
push str..ini
push eax
call fcn.00415580
add esp, 0x20
lea eax, [ebp - 0x104]
mov esi, str.error
push eax
lea eax, [ebp - 0x504]
push 0x400
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x504]
push esi
push eax
call fcn.00415bb0
pop ecx
test eax, eax
pop ecx
je 0x40a74e
cmp byte [ebp - 0x504], bl
je 0x40a74e
jmp 0x40a743
lea eax, [ebp - 0x104]
push 0x424d44
push eax
call fcn.00415570
lea eax, [ebp - 0x104]
push 0x421c28
push eax
call fcn.00415580
lea edi, [esi + 8]
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00415580
lea eax, [ebp - 0x104]
push str..ini
push eax
call fcn.00415580
add esp, 0x20
lea eax, [ebp - 0x104]
mov esi, str.error
push eax
lea eax, [ebp - 0x504]
push 0x400
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x504]
push esi
push eax
call fcn.00415bb0
pop ecx
test eax, eax
pop ecx
je 0x40a743
cmp byte [ebp - 0x504], bl
jne 0x40a74e
push ebx
mov ecx, 0x424b10
call fcn.0040327d
mov edi, dword [ebp - 4]
push ebx
mov ecx, edi
lea esi, [edi + 0x298]
push esi
call fcn.004085b0
test eax, eax
je 0x40a78a
push 1
push 0x425594
push 1
mov ecx, edi
push dword [edi + 0x3e0]
push esi
call fcn.00408880
test eax, eax
jne 0x40a78a
push ebx
mov ecx, 0x424b10
call fcn.0040327d
pop edi
pop esi
pop ebx
leave
ret 4