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

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4063d1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp esi, 5
jne 0x4063d3
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, 0xa
jl 0x4063a6
jmp 0x4063d7
xor esi, esi
test esi, esi
je 0x4063e7
mov edx, esi
mov ecx, str.DeleteFile
call fcn.00405961
xor al, al
jmp 0x4063e9
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x406476
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push str.preLoadDllsFromSystem___n
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor esi, esi
push esi
push esi
call ebx
mov edi, eax
test edi, edi
je 0x406578
add edi, 0x202
lea eax, [edi + edi]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4064cc
call fcn.004069c4
mov esi, eax
test esi, esi
je 0x406578
push edi
push esi
call ebx
test eax, eax
je 0x406571
push 0x5c
lea ebx, [esi + eax*2]
pop ecx
cmp word [ebx], cx
je 0x4064ef
inc eax
mov word [ebx], cx
xor ecx, ecx
lea ebx, [esi + eax*2]
mov word [ebx], cx
sub edi, eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], eax
jbe 0x406571
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jl 0x406565
inc eax
cmp eax, edi
ja 0x406565
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push 0x4a3d60
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
test eax, eax
jne 0x406565
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7e
jne 0x406559
push str._Not_found__n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
jmp 0x406565
mov edx, eax
mov ecx, 0x4a44cc
call fcn.00405961
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x4064fb
push esi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406693
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x20
push eax
movzx ebx, dx
mov esi, ecx
push 0x59
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jne 0x40670e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0
push 0x3dc
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibMainUtils.cpp
push eax
lea eax, [ebp - 0x58]
push str.GetLocaleInfo
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004069d9
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043630b
lea ecx, [ebp - 0x6c]
call fcn.0043634f
lea ecx, [ebp - 0x58]
call fcn.0043634f
jmp 0x406779
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043a311
lea ecx, [ebp - 0x58]
call fcn.0043634f
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jle 0x40676d
push 0xffffffffffffffff
push 0x4a4670
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0043a082
lea ecx, [ebp - 0x58]
call fcn.0043634f
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043a082
lea ecx, [ebp - 0x58]
call fcn.0043634f
push 0x4a4694
mov ecx, esi
call fcn.004362eb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret
Function at 0x409c3e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0042e2c7
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xfc]
xor ebx, ebx
mov dword [edi], 0x4a7f18
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], 0x7d7
mov word [edi + 0xf8], bx
call fcn.00438a1f
lea ecx, [edi + 0x110]
call fcn.00438a1f
mov dword [edi + 0x124], ebx
lea ecx, [edi + 0x13c]
push ebx
mov dword [edi + 0x128], ebx
push ebx
mov dword [edi + 0x12c], ebx
mov dword [edi + 0x130], ebx
push ebx
mov dword [edi + 0x134], ebx
push str.DownloaderApp_inetUiSerMutex
mov dword [edi + 0x138], ebx
call fcn.0043bdce
lea ecx, [edi + 0x170]
mov word [edi + 0x16c], bx
call fcn.00438a1f
lea ecx, [edi + 0x184]
call fcn.00438a1f
mov dword [edi + 0x198], ebx
lea esi, [edi + 0x1ac]
mov dword [edi + 0x19c], ebx
mov ecx, esi
push 3
mov dword [edi + 0x1a0], ebx
push 0x4a7ed4
mov dword [edi + 0x1a4], ebx
mov byte [edi + 0x1a8], bl
call fcn.00442243
mov dword [esi], 0x4a7ef8
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov esi, eax
push esi
push str.command_line:__s
push ebx
push ebx
push ebx
call fcn.00404b89
add esp, 0x14
lea ecx, [ebp - 0x18]
push esi
call fcn.004389d2
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [edi + 4], eax
lea ecx, [edi + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00438cf3
push 0x1c
call fcn.0046b1ac
mov esi, eax
pop ecx
test esi, esi
je 0x409d7c
call fcn.0048fff4
lea ecx, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
call fcn.00438a1f
jmp 0x409d7e
mov esi, ebx
mov dword [edi + 0x2c], esi
lea ecx, [ebp - 0x2c]
test esi, esi
jne 0x409d8f
push 0x4a49d8
jmp 0x409d94
push 0x4a4694
call fcn.004362eb
lea ecx, [ebp - 0x2c]
call fcn.0043634f
lea ecx, [ebp - 0x18]
call fcn.00438cda
mov dword [edi + 0x254], edi
call fcn.0043141f
mov ecx, edi
call fcn.00412fa3
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret 4
Function at 0x40c7cf
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x3c
push 0
push esi
mov edi, edx
call fcn.0046e5c0
add esp, 0xc
mov dword [esi], 0x3c
xor edx, edx
xor ecx, ecx
inc ecx
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov eax, 0xffff
push esi
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x38], ecx
mov ecx, edi
push edx
mov dword [esi + 0x10], edx
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x34], edx
call fcn.0043b037
push eax
mov ecx, edi
call fcn.0043fcdc
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40c88d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0
push 0x30f
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibDownloaderApp.cpp
push eax
lea eax, [ebp - 0x28]
push str.InternetCrackUrl
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004069d9
add esp, 0x14
mov ecx, ebx
push eax
call fcn.0043630b
lea ecx, [ebp - 0x14]
call fcn.0043634f
lea ecx, [ebp - 0x28]
call fcn.0043634f
jmp 0x40c899
push 0x4a4694
mov ecx, ebx
call fcn.004362eb
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416d01
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4c1280]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add eax, 0xe4
push eax
call fcn.00438449
lea ecx, [esp + 0x44]
call fcn.0043ae73
cmp eax, 0x3e8
je 0x416dac
push 0x175
push str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibEndpointToolsCollabEndpointTools.cpp
xor esi, esi
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0042bf8e
add esp, 0x10
mov ecx, eax
call fcn.0043fcdc
push eax
push str.ECStatus::eNo__dir.isEmpty__
push str.Parameter_check___s__failed_at__s.
lea eax, [esp + 0x18]
push 0x4a4ef8
push eax
call fcn.00436245
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.0044145c
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0043667d
pop ecx
pop ecx
push esi
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0043630b
lea ecx, [esp + 0xc]
call fcn.0043634f
jmp 0x416e98
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00441275
pop ecx
pop ecx
lea ecx, [esp + 0xc]
call fcn.0043634f
push str.g2m.dll
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00438e64
add esp, 0xc
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
xor esi, esi
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00443934
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0043630b
lea ecx, [esp + 0x30]
call fcn.0043634f
lea ecx, [esp + 0xc]
call fcn.0043fe40
cmp eax, 0x3e9
jne 0x416e35
lea ecx, [esp + 0x58]
call fcn.0043fcdc
push eax
push str._s_still_exists.
push esi
push esi
push esi
call fcn.00404b89
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.0043fe40
mov ecx, 0x3e8
cmp eax, ecx
je 0x416e7a
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [esp + 0xc]
call fcn.0043634f
call sub.KERNEL32.DLL_GetTickCount
xor ecx, ecx
sub eax, ebx
sbb ecx, esi
mov dword [esp + 0x24], ecx
jne 0x416e73
cmp eax, 0x7530
jb 0x416de6
push 0x4a7e7c
jmp 0x416e88
lea ecx, [esp + 0xc]
call fcn.0043634f
push 0x4a7e78
mov ecx, edi
call fcn.004362eb
lea ecx, [esp + 0x58]
call fcn.00438cda
lea ecx, [esp + 0x44]
call fcn.00438cda
mov ecx, dword [esp + 0x6c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret 8
Function at 0x418081
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 4]
push ebx
push esi
push edi
push str._anonymous_namespace::removePluginRegistryEntriesDirectly__
push 0x4a46fc
push eax
mov esi, ecx
call fcn.00415921
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 0xc
mov ebx, str.SoftwareMozillaPlugins_citrixonline.com_appdetectorplugin
push ebx
push 0x80000001
call edi
test eax, eax
jne 0x4180ca
push 0x4a4694
mov ecx, esi
call fcn.004362eb
jmp 0x418168
push 0
push eax
lea eax, [ebp - 0x2c]
push str.RegDeleteKey_HKEY_CURRENT_USER_..._
push eax
call fcn.00436a45
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.0043630b
lea ecx, [ebp - 0x2c]
call fcn.0043634f
push ebx
push 0x80000002
call edi
test eax, eax
jne 0x418109
push 0x4a4694
mov ecx, esi
call fcn.004362eb
jmp 0x418160
xor ebx, ebx
mov edi, str.c:jenkinsworkspacePlatformServicesLauncherGoToOpenerAppGoToOpenerApp_BuildReleaseCDownloaderAppWin32CodeLibTaskUninstallPlugin.cpp
push ebx
push 0x56
push edi
push eax
lea eax, [ebp - 0x2c]
push str.RegDeleteKey_HKEY_LOCAL_MACHINE_..._
push eax
call fcn.00436a45
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004363aa
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0043634f
push ebx
push ebx
push 0x58
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004069d9
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043630b
lea ecx, [ebp - 0x2c]
call fcn.0043634f
lea ecx, [ebp - 0x18]
call fcn.0043634f
lea ecx, [ebp - 4]
call fcn.00415900
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418a70
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.SoftwareLogMeInIncGoTo_Opener
lea ecx, [ebp - 0x18]
call fcn.004389d2
push 0
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.0043c4c3
lea ecx, [ebp - 0x18]
call fcn.00438cda
push str.SoftwareCitrixLauncherApp
lea ecx, [ebp - 0x18]
call fcn.004389d2
push 0
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0043c4c3
lea ecx, [ebp - 0x18]
call fcn.00438cda
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
mov edi, str.Locale
movzx esi, ax
push edi
lea ecx, [ebp - 0x18]
call fcn.004389d2
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.0043d06b
mov ecx, eax
call fcn.0043fe40
cmp eax, 0x7d0
lea ecx, [ebp - 0x70]
setne bl
call fcn.0043634f
lea ecx, [ebp - 0x18]
call fcn.00438cda
test bl, bl
je 0x418b4a
push edi
lea ecx, [ebp - 0x18]
call fcn.004389d2
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.0043d06b
lea ecx, [ebp - 0x70]
call fcn.0043634f
lea ecx, [ebp - 0x18]
call fcn.00438cda
movzx esi, word [ebp - 0x5c]
lea ecx, [ebp - 0x30]
call fcn.00438cda
lea ecx, [ebp - 0x38]
call fcn.0043f669
lea ecx, [ebp - 0x50]
call fcn.00438cda
lea ecx, [ebp - 0x58]
call fcn.0043f669
mov ecx, dword [ebp - 4]
mov ax, si
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret
Function at 0x41af86
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x48]
push 0x4a4694
mov dword [ebp - 0x1c], eax
call fcn.004362eb
lea ecx, [ebp - 0x18]
call fcn.00438a1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043ee07
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0043634f
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0043f606
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0043634f
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0046e5c0
add esp, 0xc
mov dword [ebp - 0x84], esi
mov ecx, edi
mov dword [ebp - 0x80], 0x500
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x78], str.open
call fcn.0043fcdc
mov ecx, ebx
mov dword [ebp - 0x74], eax
call fcn.0043fcdc
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41b070
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
push str.ShellExecuteEx
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00436a45
add esp, 0xc
lea ecx, [ebp - 0x48]
push eax
call fcn.00436382
lea ecx, [ebp - 0x34]
call fcn.0043634f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043f606
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0043634f
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0043630b
lea ecx, [ebp - 0x18]
call fcn.00438cda
lea ecx, [ebp - 0x48]
call fcn.0043634f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret
Function at 0x41f6a9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push 1
push 0
mov edi, ecx
mov ecx, ebx
push 0
call fcn.0043fcdc
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x41f751
lea ecx, [ebp - 0x18]
call fcn.00438a1f
mov ecx, ebx
call fcn.0043fcdc
push eax
push esi
push str.ShellExecute___error__p_opening_browser_with_URL__s
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043a3c2
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0043634f
push 0
push 0
push 0x3a
push 0x4ab7a0
lea ecx, [ebp - 0x18]
call fcn.0043fcdc
push eax
lea eax, [ebp - 0x2c]
push 0x4a7dac
push eax
call fcn.00436621
add esp, 0x18
mov ecx, edi
push eax
call fcn.0043630b
lea ecx, [ebp - 0x2c]
call fcn.0043634f
lea ecx, [ebp - 0x18]
call fcn.00438cda
jmp 0x41f75d
push 0x4a4694
mov ecx, edi
call fcn.004362eb
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret

Function at 0x41f7ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
xor ebx, ebx
mov esi, edx
push ebx
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
movzx ebx, bl
inc ecx
test eax, eax
cmove ebx, ecx
lea ecx, [ebp - 0x18]
call fcn.00438a1f
lea ecx, [ebp - 0x2c]
call fcn.00438a1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043ee07
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043634f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043eeb0
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043634f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043f606
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043634f
push 0x3c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0046e5c0
add esp, 0xc
mov dword [ebp - 0x7c], 0x3c
mov ecx, esi
mov dword [ebp - 0x78], 0x401
mov dword [ebp - 0x60], 5
mov dword [ebp - 0x70], str.open
call fcn.0043fcdc
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x54], str.txtfile
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043f606
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043634f
push 0x4a4694
mov ecx, edi
call fcn.004362eb
lea ecx, [ebp - 0x2c]
call fcn.00438cda
lea ecx, [ebp - 0x18]
call fcn.00438cda
test bl, bl
je 0x41f8f5
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret
Function at 0x423d81
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0x38
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0x3c
push 0
push eax
mov esi, ecx
call fcn.0046e5c0
add esp, 0xc
mov dword [ebp - 4], 0x80
mov dword [ebp - 8], 0x100
lea edi, [esi + 4]
mov dword [ebp - 0xc], 0x800
push 0x20
pop ebx
push ebx
mov ecx, edi
call fcn.0043ad6d
push dword [ebp - 4]
lea ecx, [esi + 0x18]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
call fcn.0043ad6d
push dword [ebp - 8]
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
call fcn.0043ad6d
push dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0x44]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call fcn.0043ad6d
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x423e3a
mov ecx, dword [ebp - 0x48]
mov word [ecx], ax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], ax
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov word [eax], cx
mov eax, dword [ebp - 0x18]
mov word [eax], cx
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043b06d
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
call fcn.0043b06d
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
call fcn.0043b06d
push 0xffffffffffffffff
lea ecx, [esi + 0x44]
call fcn.0043b06d
cmp dword [ebp - 0x10], 0
jne 0x423e9a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x423e91
mov eax, dword [ebp - 4]
add ebx, ebx
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
jmp 0x423dbe
or dword [esi], 0xffffffff
or dword [esi + 0x2c], 0xffffffff
jmp 0x423eb1
mov ecx, edi
call fcn.0043fcdc
mov ecx, eax
call fcn.00423cea
mov dword [esi], eax
movzx eax, word [ebp - 0x34]
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c0ef
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
mov ebx, ecx
push edi
push eax
push eax
push str.__COMPAT_LAYER
mov dword [ebp - 4], eax
mov dword [ebx], eax
mov byte [ebx + 4], al
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x42c235
push esi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b1ac
mov esi, eax
pop ecx
test esi, esi
je 0x42c234
push edi
push esi
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x42c22d
push str.IndeoIgnoreLoadLibrary
push esi
inc edi
call fcn.0046d40a
pop ecx
pop ecx
test eax, eax
je 0x42c22d
push str._tcleaning_environment_variable___COMPAT_LAYER_n
call fcn.0042d2c9
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b1ac
mov dword [ebx], eax
pop ecx
pop ecx
test eax, eax
je 0x42c199
push edi
push esi
push eax
call fcn.0046bd96
add esp, 0xc
push str.IndeoIgnoreLoadLibrary
push esi
call fcn.0046d40a
pop ecx
pop ecx
jmp 0x42c1f1
push 0x16
pop ecx
push 0x20
pop edi
cmp di, word [edx + 0x2c]
push 0x17
pop eax
cmove ecx, eax
lea edi, [edx + ecx*2]
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x42c1c3
sub ecx, dword [ebp - 8]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push edx
call fcn.0046a880
push str.IndeoIgnoreLoadLibrary
push esi
call fcn.0046d40a
add esp, 0x14
mov edx, eax
test edx, edx
jne 0x42c1a8
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x42c1fc
sub edi, ecx
push 0x4a7738
push esi
sar edi, 1
call fcn.00472bdc
pop ecx
pop ecx
xor edx, edx
mov ecx, esi
cmp eax, edi
cmove ecx, edx
push ecx
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push esi
call fcn.0046b1a7
pop ecx
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42cfd9
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
jne 0x42d011
xor al, al
jmp 0x42d0fe
cmp dword [ebp - 0x108], 1
je 0x42d023
cmp dword [ebp - 0x108], 2
jne 0x42d00a
push ebx
push esi
mov esi, dword [0x4c59ac]
test esi, esi
je 0x42d06c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d034
sub ecx, edx
lea ebx, [ecx + 0x10]
push ebx
call fcn.0047245c
mov dword [edi], eax
pop ecx
test eax, eax
je 0x42d0cc
push str..log
push 0x4a3cd8
push esi
push str._s_s_s
push ebx
push eax
call fcn.0046ed78
add esp, 0x18
jmp 0x42d0f7
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x119]
push eax
push 1
call ebx
test eax, eax
je 0x42d0cc
add eax, 0xa
mov dword [ebp - 0x120], eax
lea esi, [eax + 0x10]
push esi
call fcn.0047245c
mov dword [edi], eax
pop ecx
test eax, eax
je 0x42d0cc
push eax
push esi
call ebx
push str.LogMeInLogs
push dword [edi]
call fcn.00481010
pop ecx
pop ecx
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x42d0d0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x50
je 0x42d0d0
cmp eax, 0xb7
je 0x42d0d0
xor al, al
jmp 0x42d0fc
mov eax, dword [edi]
sub esi, dword [ebp - 0x120]
add eax, dword [ebp - 0x120]
push str..log
push 0x4a3cd8
push str._s_s
push esi
push eax
call fcn.0046ed78
add esp, 0x14
test eax, eax
setns al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret