joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401db0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
mov eax, 0x1970
call fcn.00403c70
mov eax, dword [0x40601c]
xor eax, esp
mov dword [esp + 0x196c], eax
mov eax, dword [esp + 0x1978]
push ebx
push ebp
mov ebp, dword [esp + 0x197c]
push esi
push edi
xor ebx, ebx
push 0x7ff
mov esi, ecx
lea ecx, [esp + 0x97d]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x984], bl
call sub.MSVCR80.dll_memset
push 0x7ff
lea edx, [esp + 0x1189]
push ebx
push edx
mov byte [esp + 0x1190], bl
call sub.MSVCR80.dll_memset
push 0x7ff
lea eax, [esp + 0x195]
push ebx
push eax
mov byte [esp + 0x19c], bl
call sub.MSVCR80.dll_memset
push str.kernel.ini
push esi
push str._s_s
mov eax, 0x800
lea edi, [esp + 0x11a8]
call entry0
add esp, 0x30
mov ecx, edi
push ecx
push 0x800
lea edx, [esp + 0x980]
push edx
push 0x404544
push str.productname
push str.kernel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x978], bl
je 0x401f6e
cmp ebp, ebx
lea edi, [esp + 0x178]
je 0x401f4e
push ebp
lea eax, [esp + 0x97c]
push eax
push esi
push str.__s_s.exe___s
mov eax, 0x800
call entry0
add esp, 0x10
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [esp + 0x198]
push ecx
push ebx
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ebx
mov word [esp + 0x72], bx
mov dword [esp + 0x74], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, ebx
jne 0x401f31
push 0x103
lea edx, [esp + 0x75]
push ebx
push edx
mov byte [esp + 0x7c], bl
call sub.MSVCR80.dll_memset
mov ebp, dword [esp + 0x20]
push ebp
push 0x40436c
mov eax, 0x104
lea edi, [esp + 0x84]
call entry0
add esp, 0x14
push ebx
push ebp
mov eax, edi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
mov ecx, dword [esp + 0x197c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040339f
add esp, 0x1970
ret 0xc
lea ecx, [esp + 0x978]
push ecx
push esi
push str.__s_s.exe_
mov eax, 0x800
call entry0
add esp, 0xc
jmp 0x401eac
xor eax, eax
jmp 0x401f33

Function at 0x401f80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x40601c]
xor eax, esp
mov dword [esp + 0x400], eax
push edi
mov edi, ecx
test edi, edi
je 0x401fff
test esi, esi
je 0x401fff
push ebx
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov ebx, 1
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x23
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push esi
lea edx, [esp + 0xc]
push edx
push str._sQQPet_s
mov eax, 0x400
call entry0
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0040339f
add esp, 0x404
ret
mov ecx, dword [esp + 0x404]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0040339f
add esp, 0x404
ret
Function at 0x402020
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x534
mov eax, dword [0x40601c]
xor eax, esp
mov dword [esp + 0x52c], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x13d]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x144], bl
call sub.MSVCR80.dll_memset
push esi
push str._s.exe
mov eax, 0x400
lea edi, [esp + 0x14c]
call entry0
add esp, 0x14
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4020dd
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4020d6
mov edi, dword [sym.imp.MSVCR80.dll__stricmp]
mov ebp, dword [sym.imp.MSVCR80.dll__getpid]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x13c]
push eax
call edi
add esp, 8
test eax, eax
jne 0x4020c0
call ebp
cmp dword [esp + 0x18], eax
jne 0x4020d1
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4020a2
jmp 0x4020d6
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040339f
add esp, 0x534
ret
Function at 0x402af0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe10
mov eax, dword [0x40601c]
xor eax, esp
mov dword [esp + 0xe0c], eax
push esi
push edi
push 0x3ff
lea eax, [esp + 0xa15]
push 0
push eax
mov esi, ecx
mov edi, edx
mov byte [esp + 0xa1c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x215]
push 0
push ecx
mov byte [esp + 0x21c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x615]
push 0
push edx
mov byte [esp + 0x61c], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
push 0x1ff
mov dword [esp + 0xc], eax
lea eax, [esp + 0x15]
push 0
push eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 0
call sub.MSVCR80.dll_memset
lea ecx, [esp + 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.MSVCR80.dll__localtime64]
add esp, 4
push eax
push str._Y__m__d__H:_M:_S
lea edx, [esp + 0x18]
push 0x200
push edx
call dword [sym.imp.MSVCR80.dll_strftime]
add esp, 0x10
cmp dword [esi + 0x24], 0x10
jb 0x402bcb
mov esi, dword [esi + 0x10]
jmp 0x402bce
add esi, 0x10
push edi
push esi
push str.TRACE
push str._s:_s__s_r_n
mov eax, 0x3ff
lea edi, [esp + 0xa20]
call entry0
push ebx
mov eax, edi
push eax
push 0x3fe
lea ecx, [esp + 0x22c]
push 0x3ff
push ecx
call dword [sym.imp.MSVCR80.dll__vsnprintf_s]
add esp, 0x24
test eax, eax
jl 0x402c17
cmp eax, 0x3fe
ja 0x402c17
jne 0x402c1f
mov byte [esp + 0x60e], 0
lea edx, [esp + 0x210]
push edx
lea eax, [esp + 0x14]
push eax
push str._s__s
mov eax, 0x3ff
lea edi, [esp + 0x61c]
call entry0
add esp, 0xc
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00402c70
mov ecx, dword [esp + 0xe14]
pop edi
pop esi
xor ecx, esp
call fcn.0040339f
mov esp, ebp
pop ebp
ret

Function at 0x402c70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
call dword [section..data]
cmp dword [0x40653c], 0
jne 0x402c98
call fcn.00402f10
mov dword [0x406540], eax
mov dword [0x40653c], 1
cmp dword [0x406540], 0
je 0x402d09
push 0
push 0x20
push 4
push 0
push 1
push 0xc0000000
call fcn.00402d10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402d09
mov ebx, esi
call fcn.00402de0
push 2
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
mov dword [esp + 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402ce8
push ebx
lea ecx, [esp + 0x14]
push ecx
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x402de0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x28
cmp ebx, 0xffffffff
push ebp
push esi
push edi
je 0x402f05
cmp dword [0x406540], 2
jne 0x402f05
call fcn.00402fd0
xor edi, edi
push edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push edi
push ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea ecx, [esp + 0x18]
push ecx
push 8
lea edx, [esp + 0x2c]
push edx
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ed4
lea eax, [edi + 8]
lea edx, [esp + 0x28]
lea esi, [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x402e68
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x402e50
cmp eax, edi
je 0x402ec5
movzx ecx, byte [esi]
movzx ebp, byte [edx]
sub ecx, ebp
jne 0x402eb7
sub eax, 1
add edx, 1
add esi, 1
cmp eax, edi
je 0x402ec5
movzx ecx, byte [esi]
movzx ebp, byte [edx]
sub ecx, ebp
jne 0x402eb7
sub eax, 1
add edx, 1
add esi, 1
cmp eax, edi
je 0x402ec5
movzx ecx, byte [esi]
movzx ebp, byte [edx]
sub ecx, ebp
jne 0x402eb7
sub eax, 1
add edx, 1
add esi, 1
cmp eax, edi
je 0x402ec5
movzx ecx, byte [esi]
movzx edx, byte [edx]
sub ecx, edx
je 0x402ec5
cmp ecx, edi
mov eax, 1
jg 0x402ec7
or eax, 0xffffffff
jmp 0x402ec7
xor eax, eax
xor ecx, ecx
cmp eax, edi
setne cl
mov eax, ecx
cmp eax, edi
je 0x402f05
push edi
lea edx, [esp + 0x1c]
push edx
push edi
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x20]
push eax
push 8
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
add esp, 0x28
ret

Function at 0x402f10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x40601c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402f76
push 0xf3
push 0x406650
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x402f76
push 0x5c
push 0x406650
call dword [sym.imp.MSVCR80.dll__mbsrchr]
add esp, 8
test eax, eax
je 0x402f76
mov byte [eax + 1], 0
push edi
push str.ConfigDebug.ini
push 0x406650
push str._s_s
mov eax, 0x104
lea edi, [esp + 0x10]
call entry0
add esp, 0xc
mov ecx, edi
push ecx
push 0
push str.Log2File
push str.Base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x108]
pop edi
xor ecx, esp
call fcn.0040339f
add esp, 0x108
ret

Function at 0x40339f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40601c]
jne 0x4033a9
repz ret
jmp fcn.0040379c
Function at 0x4010fb
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xe4], edi
jne 0x401130
push 0x563a48
push 0x3f5
call fcn.0040d7ad
push edi
push edi
push dword [esi + 0x20]
push 0x40116b
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0xe4], eax
pop edi
pop esi
ret

Function at 0x401b3c
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xe4]
mov dword [edi], vtable.CDownDlg.0
test eax, eax
je 0x401b60
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
and dword [edi + 0xe4], 0
mov ecx, edi
pop edi
pop esi
jmp fcn.00406e6d
Function at 0x4052f3
Capabilities:
Capture screenshot

Disassembly:
push 0x38
mov eax, 0x5359fe
call fcn.0050f173
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov esi, ecx
push dword [esi + 0x20]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call edi
push eax
call fcn.00410dca
push eax
lea ecx, [ebp - 0x44]
call fcn.00417c7c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x20]
call edi
push eax
call fcn.00410dca
mov ecx, eax
call fcn.00417941
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp dword [esi + 0xf4], ebx
jne 0x4053e2
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf0]
call fcn.00417be2
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x40]
call edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00417eb6
push dword [ebp - 0x24]
push dword [esi + 0xf4]
call fcn.00417f47
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push 0xcc0020
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x40]
push eax
push ecx
push ebx
push ebx
push dword [esi + 0xf4]
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x28]
call fcn.00417f10
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00417bce
mov ecx, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], eax
call fcn.004054a0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push dword [eax + 4]
call edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00417eb6
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
push dword [edi + 4]
call fcn.00417f47
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp eax, ebx
je 0x405440
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x28]
call fcn.00417f10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
add esi, 0xf0
cmp esi, ebx
jne 0x405462
xor esi, esi
jmp 0x405465
mov esi, dword [esi + 4]
push 0xcc0020
push ebx
push ebx
push esi
push eax
push ecx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.CBitmap.0
call fcn.0040190d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00417cd0
call fcn.0050f1f6
ret 4
Function at 0x40590c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4059a0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push esi
push edi
push eax
call fcn.00511a70
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [ebp - 8]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x40598a
lea eax, [esi + 4]
and dword [eax], 0
push eax
push edi
mov dword [esi], vtable.Gdiplus::Image.0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x40598c
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x4059a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
push 0
push dword [ebp + 8]
push str.IEXPLORE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
pop ebp
jmp fcn.004016bd
Function at 0x4087b3
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x536349
call fcn.0050f10a
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x120], edi
jne 0x408980
call fcn.00415569
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4087e9
push 0x80004005
call fcn.0040159e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
call fcn.00415569
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x4087df
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x3e8
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00414209
lea eax, [ebp - 0x10]
push eax
push 0x3e9
mov ecx, esi
call fcn.00414209
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
jne 0x40885f
push 0x566e24
push 0x2729
push 0x2b25
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40896a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jne 0x40886e
push 0x566e40
jmp 0x408847
add eax, 0xfffffff0
call fcn.00401f7b
add eax, 0x10
cmp dword [eax - 0xc], 0x40
push 2
pop ebx
jae 0x408899
mov edi, 0x593ce8
mov ecx, eax
sub edi, eax
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, ebx
test dx, dx
jne 0x40888b
lea ecx, [eax - 0x10]
call fcn.004016bd
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401f7b
add eax, 0x10
cmp dword [eax - 0xc], 0x40
jae 0x4088cc
mov edi, 0x593d28
mov ecx, eax
sub edi, eax
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, ebx
test dx, dx
jne 0x4088be
lea ecx, [eax - 0x10]
call fcn.004016bd
lea eax, [ebp - 0x18]
push eax
call fcn.0040b233
mov ecx, dword [eax]
mov edx, 0x5954c8
movzx eax, word [ecx]
mov word [edx], ax
add ecx, ebx
add edx, ebx
test ax, ax
jne 0x4088e4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004016bd
lea eax, [ebp - 0x18]
push eax
call fcn.0040b24f
mov ecx, dword [eax]
mov edx, 0x595548
movzx eax, word [ecx]
mov word [edx], ax
add ecx, ebx
add edx, ebx
test ax, ax
jne 0x40890e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004016bd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push str.ck_WvU__
push 0x2729
mov ebx, 0x2b25
push ebx
push dword [esi + 0x20]
call edi
push 0
push 0x2728
push ebx
push dword [esi + 0x20]
call edi
xor eax, eax
push eax
push eax
push dword [esi + 0x20]
push 0x4089af
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x120], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004016bd
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004016bd
call fcn.0050f1e2
ret
Function at 0x408d5c
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x58be10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x593ccc
call fcn.00408c7d
test eax, eax
je 0x408d93
push 0x56740c
push 0x593cd0
call fcn.00401645
xor eax, eax
jmp 0x408e89
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0050f300
xor eax, eax
lea edi, [ebp - 0x214]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
xor eax, eax
inc edi
add esp, 0xc
cmp dword [ebp + 8], 0x40
mov dword [ebp - 0x258], esi
mov word [ebp - 0x228], ax
mov dword [ebp - 0x22c], edi
jne 0x408def
movzx ecx, word [eax + 0x567430]
mov word [ebp + eax - 0x204], cx
add eax, 2
cmp cx, bx
jne 0x408dd6
jmp 0x408e06
movzx ecx, word [eax + str.tap_tapinstall.exe_install_tapOemWin2k.inf_tap0901]
mov word [ebp + eax - 0x204], cx
add eax, 2
cmp cx, bx
jne 0x408def
push dword [0x593ce4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x258]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x408e3f
push 0x567508
jmp 0x408e7a
push 0xffffffffffffffff
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x214]
call esi
push 0x593ccc
call fcn.00408c7d
test eax, eax
je 0x408e75
mov eax, edi
jmp 0x408e86
push 0x567524
push 0x593cd0
call fcn.00401645
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050da0c
leave
ret 4
Function at 0x408e97
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x58be10]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x593ccc
call fcn.00408c7d
test eax, eax
jne 0x408ece
push str._rNX__WZ
push 0x593cd0
call fcn.00401645
xor eax, eax
jmp 0x408fc4
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0050f300
xor eax, eax
lea edi, [ebp - 0x214]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
xor eax, eax
inc edi
add esp, 0xc
cmp dword [ebp + 8], 0x40
mov dword [ebp - 0x258], esi
mov word [ebp - 0x228], ax
mov dword [ebp - 0x22c], edi
jne 0x408f2a
movzx ecx, word [eax + 0x567570]
mov word [ebp + eax - 0x204], cx
add eax, 2
cmp cx, bx
jne 0x408f11
jmp 0x408f41
movzx ecx, word [eax + str.tap_tapinstall.exe_remove_tap0901]
mov word [ebp + eax - 0x204], cx
add eax, 2
cmp cx, bx
jne 0x408f2a
push dword [0x593ce4]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x258]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x408f7a
push 0x5675fc
jmp 0x408fb1
push 0xffffffffffffffff
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x214]
call esi
push 0x593ccc
call fcn.00408c7d
test eax, eax
je 0x408fbf
push 0x567618
push 0x593cd0
call fcn.00401645
xor eax, eax
jmp 0x408fc1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050da0c
leave
ret 4

Function at 0x408fd5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push 0x56763c
push str.temp
call fcn.0050e2f2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x409033
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._ws_n_ws
push esi
call fcn.0050e309
push esi
call fcn.0050e482
xor esi, esi
add esp, 0x14
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004016bd
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004016bd
mov eax, esi
pop esi
pop ebp
ret 8
xor esi, esi
jmp 0x409016
Function at 0x409037
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [eax + 0x18]
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push 0x56763c
push str.tempconfig
call fcn.0050e2f2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4090dc
push str.temp
push dword [ebp + 8]
push str.client_ndev_tap_nproto_tcp_client_nremote__ws_9000_nresolv_retry_infinite_nnobind_nmute_replay_warnings_nca_ca.crt_ntls_auth_ta.key_1_nauth_user_pass__s_ncomp_lzo_nverb_4_nroute_method_exe_nroute_delay_2_nmax_routes_1000_n
push edi
call fcn.0050e309
push str.route_remote_host_255.255.255.255_10.183.41.1_302
push 0x567760
push edi
call fcn.0050e309
add esp, 0x1c
test esi, esi
je 0x4090d5
lea eax, [esi + 0x20]
push eax
push esi
push str.route__s__s_10.183.41.1_302_n
push edi
call fcn.0050e309
mov esi, dword [esi + 0x40]
add esp, 0x10
test esi, esi
jne 0x409088
push edi
call fcn.0050e482
xor esi, esi
pop ecx
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004016bd
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
lea eax, [esi + 0x20]
push eax
push esi
push str.route__s__s_10.183.41.1_302_n
push edi
call fcn.0050e309
add esp, 0x10
add esi, 0x44
cmp byte [esi], 0
jne 0x4090bf
jmp 0x4090a2
xor esi, esi
jmp 0x4090ac