joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404133
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4041a1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x404152
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub eax, esi
movzx ecx, word [esi]
mov word [eax + esi], cx
lea esi, [esi + 2]
test cx, cx
jne 0x40417c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x4041b2
push 0xb
pop eax
mov word [edi], ax
or eax, 0xffffffff
mov word [edi + 8], ax
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x404d72
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
push 0xf0000000
xor edi, edi
mov esi, edx
inc edi
mov ebx, ecx
push edi
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x404da1
xor eax, eax
jmp 0x404e6d
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x404dc8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x404d9a
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x404ddb
xor edi, edi
jmp 0x404e57
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 8]
push 4
pop ecx
push 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ecx
push eax
push ecx
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x14]
call fcn.004d980f
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x14]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 2
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 0xc]
xor esi, esi
mov byte [eax], 0
cmp dword [ebp - 8], esi
jbe 0x404e50
mov edi, eax
movzx eax, byte [esi + ebx]
push eax
lea eax, [ebp - 4]
push 0x5126f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc esi
cmp esi, dword [ebp - 8]
jb 0x404e25
xor edi, edi
inc edi
push ebx
call fcn.004d9740
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4052bf
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x4fb628
call fcn.004e6cb7
mov esi, ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 0x10], 0
mov eax, dword [0x548750]
mov dword [esi], eax
and dword [ebp - 4], 0
push str.cache
push 0x54dbe8
push 0x511e14
push esi
mov dword [ebp - 0x10], 1
call fcn.0040306c
add esp, 0x10
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
call fcn.004e6c85
ret
Function at 0x40613b
Capabilities:
Set environment variable

Disassembly:
push 0x224
mov eax, 0x4fb9bc
call fcn.004e6cea
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004deff0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push str.allow
lea ecx, [ebp - 0x224]
call fcn.004062d1
push str.plugin_policy
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004062d1
mov byte [ebp - 4], 2
lea edx, [ebp - 0x224]
mov ecx, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov esi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], esi
call fcn.0040643e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], esi
call fcn.0040643e
push str.plugins_pepflashplayer32_25_0_0_171.dll
lea ecx, [ebp - 0x230]
call fcn.004062d1
push str.__ppapi_flash_path
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.004062d1
mov byte [ebp - 4], 4
lea edx, [ebp - 0x230]
mov ecx, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], esi
call fcn.0040643e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], esi
call fcn.0040643e
push str.25.0.0.171
lea ecx, [ebp - 0x230]
call fcn.004062d1
push str.__ppapi_flash_version
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.004062d1
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
lea edx, [ebp - 0x224]
push edx
call dword [eax + 0x3c]
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], esi
call fcn.0040643e
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], esi
call fcn.0040643e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405310
call fcn.004e6c99
ret 8
Function at 0x40b607
Capabilities:
Create directory

Disassembly:
push 0x28
mov eax, 0x4fc3e5
call fcn.004e6cb7
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [0x54e3b4], esi
je 0x40b632
mov ecx, dword [ebp + 8]
push 0x54e3b4
call fcn.00405390
jmp 0x40b793
mov eax, dword [0x548750]
mov dword [ebp - 0x10], eax
push str.cache
mov ebx, 0x54dbe8
mov dword [ebp - 4], esi
push ebx
mov edi, 0x511e14
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040306c
add esp, 0x10
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call esi
push 0x512dd8
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040306c
add esp, 0x10
xor ebx, ebx
push ebx
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0040b79e
push ecx
mov eax, esp
mov byte [ebp - 4], 1
push ebx
mov dword [eax], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c6170
add esp, 0x10
mov byte [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x40b6bf
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [0x54e3b4]
mov dword [0x54e3b4], esi
test ecx, ecx
je 0x40b6df
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00405310
mov esi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
call fcn.0040643e
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push str.http
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004062d1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00406351
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
call fcn.0040643e
push str.https
lea ecx, [ebp - 0x34]
call fcn.004062d1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.00406351
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
call fcn.0040643e
mov ecx, dword [0x54e3b4]
lea edx, [ebp - 0x28]
push ecx
mov eax, esp
push edx
mov dword [eax], ebx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
push 0x54e3b4
call fcn.00405390
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040650a
lea ecx, [ebp - 0x10]
call fcn.00403080
mov eax, dword [ebp + 8]
call fcn.004e6c85
ret 4
Function at 0x40d3cf
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp ebx, 0xffffffff
je 0x40d42c
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d419
cmp esi, esi
je 0x40d423
cmp dword [ebp - 4], esi
je 0x40d423
or edi, esi
or esi, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d432
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d982
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4fc9b4
call fcn.004e6cb7
mov esi, ecx
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push 0x70
cdq
pop ecx
idiv ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x40da73
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [esi + 0x18]
cmp dword [edi + ecx + 4], edx
jne 0x40d9dd
push dword [ebp + 8]
push dword [edi + ecx + 0x10]
call fcn.004da5d4
pop ecx
pop ecx
test eax, eax
je 0x40d9ee
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
inc eax
add edi, 0x70
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x40d9bc
jmp 0x40da73
imul edi, dword [ebp - 0x10], 0x70
xor ebx, ebx
mov eax, dword [esi + 0x18]
inc ebx
mov dword [edi + eax + 0x18], ebx
mov eax, dword [0x548750]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
mov dword [ebp + 8], eax
mov byte [ebp - 4], bl
lea eax, [ebp + 8]
mov ecx, dword [esi + 0x18]
lea edx, [ebp + 0xc]
push eax
mov ecx, dword [edi + ecx + 0x10]
call fcn.0040dc7a
mov eax, dword [esi + 0x18]
pop ecx
mov ecx, dword [edi + eax + 0x14]
call fcn.00404c46
test eax, eax
mov eax, dword [esi + 0x18]
jne 0x40da4e
push ecx
push dword [edi + eax + 0x14]
push dword [ebp + 0xc]
push dword [edi + eax]
call fcn.0040eac6
mov ecx, eax
call fcn.0040ec42
jmp 0x40da63
push ebx
xor ecx, ecx
push ecx
push ecx
push dword [edi + eax + 0x14]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00403080
lea ecx, [ebp + 0xc]
call fcn.00403080
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
call fcn.004e6c85
ret 8

Function at 0x40e118
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
push 0x70
pop ecx
cdq
idiv ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
jle 0x40e164
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [edi + 0x18]
mov edx, ebx
cmp dword [edx], eax
je 0x40e156
inc ecx
add edx, 0x70
cmp ecx, dword [ebp - 4]
jl 0x40e147
jmp 0x40e163
mov al, byte [ebp + 0xc]
xor esi, esi
imul ecx, ecx, 0x70
inc esi
mov byte [ecx + ebx + 8], al
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x40e185
push 0
push 0
push dword [ebp + 8]
push 0x40e051
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40e933
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x40e9ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XL_Init
push eax
call esi
push str.XL_UnInit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.XL_CreateTask
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.XL_DeleteTask
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.XL_StartTask
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.XL_StopTask
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.XL_QueryTaskInfo
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.XL_QueryTaskInfoEx
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.XL_SetProxy
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.XL_SetSpeedLimit
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.XL_DelTempFile
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.XL_SetUserAgent
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
push 0x542cfc
lea eax, [ebp + 8]
mov dword [ebp + 8], str.can_not_load_xldl.dll
push eax
call fcn.004e349b
int3

Function at 0x40eb1d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push str.xldl.dll
mov esi, ecx
push str.MiniTP
push 0x54e030
push 0x5130f0
lea ebx, [esi + 8]
push ebx
call fcn.0040306c
add esp, 0x14
cmp dword [0x54f338], 0
jne 0x40ec3c
xor ecx, ecx
mov dword [0x54f338], 1
cmp dword [esi + 0x2c], ecx
jne 0x40ec3c
mov eax, dword [ebx]
cmp dword [eax - 8], ecx
je 0x40ec3c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.m_hDownWrapperSingletonEvent
push ecx
push ecx
push ecx
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x40eb9c
push str.hStartDownWrapperSingletonEvent
xor eax, eax
push eax
push eax
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x40ebb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_start_event_failed_errno:_d_n
call fcn.004db058
pop ecx
pop ecx
jmp 0x40ec3b
lea eax, [esi + 8]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.00402aef
push 0x5c
push dword [edi]
call fcn.004dacbe
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x40ebfe
sub edx, dword [edi]
sar edx, 1
cmp edx, 0xffffffff
je 0x40ebfe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 8]
sub eax, edx
dec eax
push eax
lea eax, [edx + 1]
push eax
call fcn.004100bd
push str.Sounddownload_complete.wav
mov ecx, edi
call fcn.00402a52
jmp 0x40ec05
mov ecx, edi
call fcn.0040503b
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ebx
push 0x40ee32
push eax
push eax
call fcn.004db107
mov eax, dword [ebp - 4]
add esp, 0x18
mov dword [esi], eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410561
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi], esi
jne 0x410629
lea eax, [ebp - 0xa10]
push eax
push 0x20019
push esi
push dword [edi + 0x10]
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4106a8
push 0x7fe
mov word [ebp - 0xa0c], ax
xor ebx, ebx
lea eax, [ebp - 0xa0a]
inc ebx
push esi
push eax
mov dword [ebp - 0xa14], ebx
call fcn.004deff0
add esp, 0xc
mov dword [ebp - 0xa18], 0x800
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa14]
push eax
push esi
push dword [edi + 0x14]
push dword [ebp - 0xa10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41061b
cmp word [ebp - 0xa0c], si
je 0x41061b
lea eax, [ebp - 0xa0c]
push esi
push eax
call fcn.004db5ad
cmp eax, 0xffffffff
pop ecx
pop ecx
cmovne esi, ebx
push dword [ebp - 0xa10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4106a8
xor ebx, ebx
inc ebx
cmp dword [edi], ebx
jne 0x4106a8
push esi
push 0x10
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x513338
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004db661
push dword [edi + 0x1c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004db661
add esp, 0x18
lea eax, [ebp - 0x20c]
cmp dword [edi + 4], esi
je 0x410680
push 0x513240
jmp 0x410685
push str..url
push 0x104
push eax
call fcn.004db661
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004db5ad
cmp eax, 0xffffffff
pop ecx
pop ecx
cmovne esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9731
mov esp, ebp
pop ebp
ret 4
Function at 0x410d6a
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x4fcfef
call fcn.004e6cb7
push 0x5132fc
lea ecx, [ebp - 0x10]
call fcn.00410f7f
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00402a52
push 0x513300
lea ecx, [ebp - 0x10]
call fcn.00402a52
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00402a52
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.004deff0
xor eax, eax
mov dword [ebp - 0x68], esi
lea edi, [ebp - 0x20]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00402b60
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push ebx
push ebx
push 0x8000020
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push ecx
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00402d0c
test esi, esi
je 0x410e19
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x10]
call fcn.00403080
xor eax, eax
inc eax
call fcn.004e6c85
ret 8
Function at 0x410fcf
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x418], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
mov eax, dword [ebp + 0x10]
inc edi
mov dword [ebp - 0x420], eax
mov esi, edx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x424], ecx
push eax
push 0x50e9d4
push edi
push 0
push 0x50e9e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x411148
test esi, esi
je 0x4110a6
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x50]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004deff0
lea ecx, [ebp - 0x414]
add esp, 0xc
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x411065
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.004dacbe
pop ecx
pop ecx
test eax, eax
je 0x4110a0
xor ecx, ecx
lea edx, [ebp - 0x414]
mov word [eax], cx
mov eax, dword [ebp - 0x418]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x418]
test ebx, ebx
je 0x4110b7
mov eax, dword [ecx]
push ebx
push ecx
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x420]
test edx, edx
je 0x4110ce
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x428]
test edx, edx
je 0x4110e7
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x418]
and dword [ebp - 0x41c], 0
lea edx, [ebp - 0x41c]
mov eax, dword [ecx]
push edx
push 0x50e9c4
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je 0x41112f
mov eax, dword [ecx]
push edi
push dword [ebp - 0x424]
push ecx
call dword [eax + 0x18]
mov edx, dword [ebp - 0x41c]
mov edi, eax
test edx, edx
je 0x41112f
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
and dword [ebp - 0x41c], 0
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x41113f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
test edi, edi
sete al
jmp 0x41114a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9731
mov esp, ebp
pop ebp
ret
Function at 0x4141ae
Capabilities:
Create pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 0
mov dword [esp + 0x20], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea ebx, [edi + 0x8090]
lea eax, [edi + 0x14]
mov dword [esp + 0x14], ebx
push 4
mov edi, ebx
mov dword [esp + 0x1c], eax
mov esi, eax
pop ebx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0xc8
mov dword [edi], eax
mov dword [esi - 4], eax
mov eax, 0x1000
push eax
push eax
push 4
push 6
push 0x40000003
push str..pipe6wanGameapi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [esi - 0x14]
mov dword [esi], eax
push ecx
push eax
call fcn.00413f37
xor ecx, ecx
mov dword [esi + 0x200c], eax
test eax, eax
lea edi, [edi + 4]
lea esi, [esi + 0x2024]
sete cl
mov dword [esi - 0x1c], ecx
dec ebx
jne 0x4141e0
push 0xffffffffffffffff
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [esp + 0x1c]
jmp 0x4142ba
imul esi, eax, 0x2024
add esi, edi
cmp dword [esi + 0x2020], 0
je 0x41431d
push 0
lea eax, [esp + 0x14]
push eax
push esi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [esi + 0x201c]
sub ecx, 0
je 0x414313
dec ecx
je 0x4142fc
dec ecx
jne 0x41431d
test eax, eax
je 0x4142a2
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x2018]
je 0x414313
push dword [esp + 0x14]
mov ecx, edi
call fcn.00413f00
push 0xffffffffffffffff
push 0
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [edi + 0x80a0], 0
mov dword [esp + 0x14], eax
je 0x414253
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
push 4
pop esi
push dword [eax]
call edi
push dword [ebx]
call edi
mov eax, dword [esp + 0x18]
lea ebx, [ebx + 4]
add eax, 0x2024
mov dword [esp + 0x18], eax
dec esi
jne 0x4142d4
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4142a2
cmp dword [esp + 0x10], 0
je 0x4142a2
mov dword [esi + 0x201c], 2
jmp 0x41431d
mov dword [esi + 0x201c], 1
mov eax, dword [esi + 0x201c]
dec eax
je 0x41436b
dec eax
jne 0x4142ad
push esi
mov ecx, edi
call fcn.00413f73
push 0
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x2018]
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4143a9
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x2018]
jne 0x4143a9
mov dword [esi + 0x201c], 1
jmp 0x41439d
push 0
lea eax, [esp + 0x14]
push eax
push 0x1000
lea eax, [esi + 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4143a9
cmp dword [esp + 0x10], 0
je 0x4143a9
mov dword [esi + 0x201c], 2
and dword [esi + 0x2020], 0
jmp 0x4142ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x1c], 0
jne 0x4142a2
cmp eax, 0x3e5
jne 0x4142a2
mov dword [esi + 0x2020], 1
jmp 0x4142ad