joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad61
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor esi, esi
push 0x4000
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.1000bafe
mov edi, eax
pop ecx
cmp edi, esi
jne 0x1000ad8a
or eax, 0xffffffff
jmp 0x1000aebb
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x1000adb4
push 0xfffffffffffffffe
jmp 0x1000aeba
push ebx
mov byte [ebp + 0xf], 1
mov ecx, dword [ebp + 8]
push 0xea60
push 0x4000
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, eax
xor esi, esi
cmp ebx, esi
jle 0x1000ae8b
cmp byte [ebp + 0xf], 0
je 0x1000ae65
lea eax, [ebx - 3]
test eax, eax
jle 0x1000adb9
cmp byte [esi + edi], 0xd
jne 0x1000ae04
cmp byte [esi + edi + 1], 0xa
jne 0x1000ae04
cmp byte [esi + edi + 2], 0xd
jne 0x1000ae04
cmp byte [esi + edi + 3], 0xa
je 0x1000ae0b
inc esi
cmp esi, eax
jl 0x1000ade9
jmp 0x1000adb9
cmp dword [ebp + 0x10], 0
je 0x1000ae21
mov eax, ebx
sub eax, esi
sub eax, 4
push eax
call dword [ebp + 0x10]
test eax, eax
pop ecx
jl 0x1000ae92
mov eax, dword [ebp - 4]
sub ebx, esi
push esi
push edi
lea eax, [eax + ebx - 4]
mov dword [ebp - 4], eax
call fcn.1000ac74
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
pop ecx
jle 0x1000ae92
lea eax, [ebp - 0x14]
push 0
push eax
add ebx, 0xfffffffc
lea eax, [esi + edi + 4]
push ebx
push eax
mov dword [ebp - 0x10], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and byte [ebp + 0xf], 0
jmp 0x1000adb9
cmp dword [ebp + 0x10], esi
je 0x1000ae73
push ebx
call dword [ebp + 0x10]
test eax, eax
pop ecx
jl 0x1000ae92
add dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push esi
push eax
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000adb9
push edi
call fcn.1000b6e9
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x1000adad
cmp dword [ebp - 0xc], 0
jg 0x1000aeb0
push 0xfffffffffffffffd
jmp 0x1000aeba
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
je 0x1000aebb
push 0xfffffffffffffffc
pop eax
pop edi
pop esi
leave
ret
Function at 0x1000afc4
Capabilities:
Copy file
Delete file
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.1000bf10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [0x1001d1d0]
jb 0x1000b181
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x1000b181
mov esi, 0x800
lea eax, [ebp - 0x814]
push esi
push ebx
push eax
call fcn.1000c170
push 0x900
lea eax, [ebp - 0x1114]
push ebx
push eax
call fcn.1000c170
add esp, 0x18
cmp edi, 8
jbe 0x1000b01d
xor edi, edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 8]
shl edi, 4
add edi, 0x1001d1d8
push str.GWCLI
push edi
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
push str.__02d__02d__02d:_02d:_02d___s___s_
lea eax, [ebp - 0x814]
push esi
push eax
call fcn.1000b186
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x1114]
push dword [ebp + 0xc]
push esi
push eax
call fcn.1000d788
mov edi, 0x7ff
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1000d270
add esp, 0x44
mov esi, 0x1001d268
lea eax, [ebp - 0x814]
mov byte [ebp - 0x15], bl
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push edi
lea eax, [ebp - 0x814]
push esi
push eax
call fcn.1000d270
add esp, 0xc
mov byte [ebp - 0x15], bl
test byte [0x1001d1d4], 1
je 0x1000b0d1
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x1001d1d4], 2
je 0x1000b181
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push str.c:gwlog.txt
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000b181
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push edi
call esi
cmp eax, 0x400000
jbe 0x1000b120
mov dword [ebp + 8], 1
push 2
push ebx
push ebx
push edi
call esi
cmp eax, 0x500000
jbe 0x1000b13b
push ebx
push ebx
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1000c260
pop ecx
push eax
lea eax, [ebp - 0x814]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x1000b181
push ebx
mov esi, str.c:gwlog.txt
push str.c:gwlogbk.txt
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x26
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x9c
push eax
call esi
test eax, eax
jne 0x1000b25a
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
jmp 0x1000b277
cmp dword [ebp - 0x8c], 2
jne 0x1000b27c
cmp dword [ebp - 0x98], 5
jb 0x1000b27c
jne 0x1000b27c
cmp dword [ebp - 0x94], 2
jae 0x1000b27c
push 1
pop eax
jmp 0x1000b27e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000e473
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1001d520
cmp edx, dword [eax]
je 0x1000e495
add eax, 8
inc ecx
cmp eax, 0x1001d5b0
jl 0x1000e486
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1001d520]
jne 0x1000e5c3
mov eax, dword [0x10026ba4]
cmp eax, 1
je 0x1000e59d
test eax, eax
jne 0x1000e4c6
cmp dword [0x10026ba8], 1
je 0x1000e59d
cmp edx, 0xfc
je 0x1000e5c3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000e4fd
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000c300
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000c260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000e540
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000c260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10017a08
push edi
call fcn.1000cae0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000c300
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000c310
lea eax, [ebp - 0xa0]
push 0x100179e8
push eax
call fcn.1000c310
push dword [esi + 0x1001d524]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000c310
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100121bb
add esp, 0x2c
pop edi
jmp 0x1000e5c3
lea eax, [ebp + 8]
lea esi, [esi + 0x1001d524]
push 0
push eax
push dword [esi]
call fcn.1000c260
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42992c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049c0
xor eax, eax
push ebp
push 0x429a5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429a2d
xor eax, eax
push ebp
push 0x429a26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4299fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4299ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047d0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049d0
mov edx, ebx
pop ecx
call fcn.00402c60
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4299f1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x493a9c]
mov dl, 1
mov eax, dword [0x4076f4]
call fcn.0040c518
call fcn.00403ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429a61
lea eax, [ebp - 4]
call fcn.00404510
ret

Function at 0x42d6b8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0042d3f8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004049d0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42d716
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x493c7c]
mov dl, 1
mov eax, dword [0x42d31c]
call fcn.0040c554
call fcn.00403ea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x430d2c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x430c78
call sub.user32.dll_EnumWindows
ret

Function at 0x430e4c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x430ec9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004308ac
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x430e71
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004304ac
cmp dword [ebp - 4], 0
je 0x430eb3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049d0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430ed0
lea eax, [ebp - 4]
call fcn.00404510
ret
Function at 0x43451c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov dword [0x494b60], edi
xor edx, edx
push ebp
push 0x4346c1
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 8], eax
mov byte [0x494b68], 0
cmp byte [edi + 0x9b], 0
jne 0x4345a0
lea edx, [ebp - 8]
mov eax, edi
mov si, 0xffdc
call fcn.00403908
cmp dword [0x494b60], 0
jne 0x434579
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4346d7
cmp dword [ebp - 8], 0
jne 0x4346aa
mov ecx, edi
mov dl, 1
mov eax, dword [0x4312a4]
call fcn.004337c8
mov dword [ebp - 8], eax
mov byte [0x494b68], 1
jmp 0x4346aa
lea edx, [ebp - 8]
mov eax, edi
mov si, 0xffe3
call fcn.00403908
cmp dword [0x494b60], 0
jne 0x4345c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4346d7
cmp dword [ebp - 8], 0
jne 0x4345e2
mov ecx, edi
mov dl, 1
mov eax, dword [0x4313f8]
call fcn.004338e0
mov dword [ebp - 8], eax
mov byte [0x8b554b68], 0xec
push ebp
mov ebp, esp
add eax, dword [ecx]

Function at 0x4346ae
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4346e9
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4346d0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4346e1
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4346eb
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4346c6
xor eax, eax
pop edi
pop esi
ret

Function at 0x434a2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
invalid
inc ebp
invalid

Function at 0x434a44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, esi
inc ebp
wait
xor eax, 0x349c45c6

Function at 0x436824
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc eax
or al, 0x8b
jo 0x436845
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x436832
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0043466e
cmp al, byte [edx - 0x774fa92]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x43684c
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0043466e
jbe 0x436859
invalid
mov esi, ebx
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x43685b
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x43685b
call fcn.0043466e
iretd
Function at 0x453648
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4537f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4537d4
mov dl, 1
mov eax, dword [0x412fcc]
call fcn.004036d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404510
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4537c3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004415b0
test al, al
je 0x4537b6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453804
lea eax, [ebp - 0x254]
call fcn.00409598
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4537b6
xor eax, eax
push ebp
push 0x4537af
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45383c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453798
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453798
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4537b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4536b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041768c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4537fa
lea eax, [ebp - 0x260]
call fcn.00404510
ret
Function at 0x402a36
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push ebx
push esi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov esi, eax
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x80], 0x22c
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402ac6
jmp 0x402a9a
lea edx, [ebp - 0x5c]
mov ecx, ebx
call fcn.00405356
test al, al
jne 0x402aab
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402a8c
jmp 0x402ac6
push dword [ebp - 0x78]
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1ac]
pop esi
xor ecx, ebp
pop ebx
call fcn.004062bc
add ebp, 0x1b0
leave
ret

Function at 0x402b20
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, 0x7ffffffe
push ebx
push esi
mov esi, dword [ecx + 0x10]
xor ebx, ebx
sub eax, esi
push edi
mov edi, edx
cmp eax, 0x17
jb 0x402b9a
lfence
cmp dword [ecx + 0x14], 7
jbe 0x402b47
mov ecx, dword [ecx]
push esi
push ecx
push 0x17
push ecx
push ecx
push dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.004059e3
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
push ebx
cmova ecx, dword [ebp - 0x1c]
imul eax, edi, 0x20a
push ebx
lea esi, [eax + 0x40e7d0]
push esi
push ecx
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea ecx, [ebp - 0x1c]
call fcn.00404fc0
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402791
call fcn.00402ae4
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
call fcn.00401445
int3

Function at 0x402ba0
Capabilities:
Download url
Receive data

Disassembly:
push ecx
cmp dword [ecx + 0x14], 7
push esi
jbe 0x402baa
mov ecx, dword [ecx]
imul eax, edx, 0x20a
lea esi, [eax + 0x40e7d0]
xor eax, eax
push eax
push eax
push esi
push ecx
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402791
call fcn.00402ae4
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x402c5b
Capabilities:
Read .ini file
Terminate process

Disassembly:
push 0x5c
mov eax, 0x407a98
call fcn.004072e1
mov ebx, ecx
xor eax, eax
lea ecx, [ebp - 0x68]
xor edi, edi
mov word [0x40e7d0], ax
mov word [0x418f04], ax
call fcn.00402743
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], edi
call fcn.00404dfa
push 0x52
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 1
pop ecx
call fcn.00402929
lea ecx, [ebp - 0x50]
call fcn.00404fc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404fc0
push str.LoLSuite.ini
lea ecx, [ebp - 0x50]
call fcn.00402791
push 0x52
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 2
pop ecx
call fcn.00402929
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00404fc0
cmp dword [ebx + 0x14], 7
mov eax, ebx
jbe 0x402ce5
mov eax, dword [ebx]
push 0x418f04
push 0x105
mov esi, 0x40e7d0
push esi
push edi
push eax
push str.Path
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [ebp - 0x68]
call fcn.00402791
lea ecx, [ebp - 0x68]
mov esi, dword [eax + 0x10]
call fcn.00404fc0
test esi, esi
jne 0x402d9e
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov edx, 0x40a194
mov dword [ebp - 0x24], 0x250
mov ecx, ebx
call fcn.00405356
test al, al
mov esi, str.X:Riot_Games
mov edx, 0x40a1b8
mov ecx, ebx
cmove esi, dword [ebp - 0x28]
mov dword [ebp - 0x28], esi
call fcn.00405356
test al, al
mov ecx, str.X:Program_Files__x86_Steam_steamappscommondota_2_betagame_binwin64
lea eax, [ebp - 0x34]
cmove ecx, esi
push eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x402d77
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, 0x40e7d0
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp dword [ebx + 0x14], 7
jbe 0x402d8c
mov ebx, dword [ebx]
push 0x418f04
push esi
push ebx
push str.Path
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.0040729f
ret
Function at 0x402da4
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x54
mov eax, 0x407afc
call fcn.004072ae
mov bl, cl
push str.dota2.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
xor eax, eax
lea ecx, [ebp - 0x24]
push 0x40a1b8
mov word [0x40e9da], ax
mov word [0x40ebe4], ax
call fcn.00402791
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402c5b
or esi, 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401cf8
push str.D3DCompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
xor edi, edi
lea eax, [ebp - 0x24]
inc edi
xor edx, edx
push eax
mov ecx, edi
mov dword [ebp - 4], edi
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401cf8
push str.embree3.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 2
pop ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ecx
push eax
xor edx, edx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401cf8
lea ecx, [ebp - 0x24]
test bl, bl
je 0x402e9d
push str.r_dota2_d3dcompiler_47.dlll
call fcn.00402791
mov edx, edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401cf8
push str.r_dota2_embree3.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
mov dword [ebp - 4], 4
jmp 0x402ed7
push str.6_D3DCompiler_47.dll
call fcn.00402791
mov edx, edi
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00401cf8
push str.6_embree.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
mov dword [ebp - 4], 6
push 2
pop edx
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x60]
mov eax, 0x419114
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [0x419114], ebx
mov dword [0x419118], 0x40
mov dword [0x419130], 5
mov dword [0x419124], 0x40a34c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41914c]
test eax, eax
je 0x402f48
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3