joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da00
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49353c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40da54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AllocateAndInitializeSid_Status_:__d
call fcn.004064a1
pop ecx
pop ecx
xor eax, eax
jmp 0x40da8b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x40da7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CheckTokenMembership_Status_:__d
call fcn.004064a1
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043caa2
leave
ret

Function at 0x40da98
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x4669bf
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49353c]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edi, edi
lea eax, [ebp]
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x479a58
mov ecx, ebx
call fcn.004042c5
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 1
cmp esi, 5
jne 0x40dbc6
push str.XP_OS
call fcn.00406531
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call fcn.0040431c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.0040eeff
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
call fcn.00404e31
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
push edi
call fcn.00404a80
add esp, 0xc
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x38]
call fcn.00404926
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00401696
mov esi, str.CSDVersion
push esi
call fcn.00443870
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00404b48
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040ef9d
mov esi, eax
mov ecx, ebx
push esi
call fcn.004048fc
push dword [ebx]
push esi
push str._s:_s
call fcn.004064a1
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0040dbeb
mov ecx, edi
call fcn.00401696
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.0043caa2
add ebp, 0x118
leave
ret
Function at 0x40dea5
Capabilities:
Copy file

Disassembly:
push esi
push edi
push 0
push dword [esp + 0x10]
mov esi, ecx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00401696
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401696
mov eax, edi
pop edi
pop esi
ret

Function at 0x40dee0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x466a86
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x49353c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0x214]
lea eax, [ebp]
mov edi, dword [ebp + 0x218]
push eax
xor eax, eax
mov dword [ebp - 0x14], ebx
push eax
push eax
push edx
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [edi], eax
test eax, eax
jne 0x40df51
mov dword [esi], 1
jmp 0x40dffe
push eax
push str.SHGetFolderPath_returned_error_:__d
call fcn.00406531
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040431c
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push dword [edi]
push 0x47e56c
push eax
call fcn.00404e31
pop ecx
pop ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x20], esp
push edi
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.SHGETFOLDERPATH_RETURNED_ERROR
call fcn.004042c5
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.CRITICAL
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push str.LOG_EVENT
call fcn.004042c5
mov byte [ebp - 4], 0
call fcn.00406f9d
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov ecx, edi
and dword [eax], 0
or dword [ebp - 4], 0xffffffff
call fcn.00401696
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.004042c5
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043caa2
add ebp, 0x20c
leave
ret
Function at 0x40e02e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x466ace
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x49353c]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp]
mov dword [ebp - 0x18], esi
and dword [ebp - 0x10], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, esi
call fcn.0040431c
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
push 0x47d290
push esi
mov dword [ebp - 0x10], 1
call fcn.00404e31
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0043caa2
add ebp, 0x210
leave
ret
Function at 0x40e80b
Capabilities:
Create directory

Disassembly:
sub esp, 0x4c0
mov eax, dword [0x49353c]
xor eax, esp
mov dword [esp + 0x4bc], eax
push ebx
push ebp
push esi
mov eax, ecx
push edi
push eax
mov dword [esp + 0x1c], eax
xor edi, edi
lea eax, [esp + 0x278]
push eax
call fcn.00449d4d
lea eax, [esp + 0x27c]
push eax
call fcn.00443870
and dword [esp + 0x1c], edi
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x40e8ca
mov ecx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esi, [esp + 0x274]
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ecx
sub esi, eax
cmp ebp, 0x12c
jge 0x40e8ca
lea ebx, [esp + 0x1c]
lea ebx, [ebx + edi*2]
movzx eax, word [esi + ebx]
cmp eax, 0x5c
je 0x40e887
cmp eax, 0x2f
jne 0x40e8b9
cmp edi, 0x12c
jae 0x40e8ed
xor eax, eax
push eax
mov word [ebx], ax
lea eax, [esp + 0x20]
push eax
call ecx
test eax, eax
je 0x40e8b1
lea eax, [esp + 0x1c]
push eax
push str._nDirectory__s_Created
call fcn.0040d982
pop ecx
pop ecx
movzx eax, word [esi + ebx]
mov ecx, dword [esp + 0x14]
mov word [ebx], ax
inc edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ebp
jl 0x40e86a
push dword [esp + 0x18]
call fcn.004492b9
pop ecx
mov ecx, dword [esp + 0x4cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043caa2
add esp, 0x4c0
ret
call fcn.0043d039
int3
Function at 0x40e99d
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x466be9
call fcn.0043d25b
mov bl, cl
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0040e319
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0xc]
cmp dword [esi - 4], 1
jle 0x40e9d5
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404809
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x40e9ec
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00404809
mov eax, dword [ebp + 8]
push esi
push eax
push str.zip_src_:__s____n_unzip_dir_:__s
call fcn.004064a1
mov esi, dword [ebp - 0x18]
add esp, 0xc
test bl, bl
je 0x40eab1
push 0
push esi
lea ecx, [ebp + 0xc]
call fcn.004040f0
test eax, eax
jne 0x40eab1
lea ecx, [ebp - 0x10]
call fcn.0040431c
lea ecx, [ebp - 0x14]
call fcn.0040431c
push str.MeetingLauncherTemp.exe
push esi
mov edi, 0x47d25c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00404e31
push 0x47d5e8
push esi
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00404e31
mov edi, dword [ebp - 0x10]
add esp, 0x20
cmp dword [edi - 4], 1
jle 0x40ea6c
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404809
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 4], 1
jle 0x40ea83
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00404809
mov esi, dword [ebp - 0x14]
push edi
push esi
call fcn.00448fb7
push esi
push edi
push eax
push str.File_rename__d__s_:__s
call fcn.004064a1
add esp, 0x18
lea ecx, [esi - 0x10]
call fcn.00401696
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.00401696
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
cmp dword [edi - 4], 1
jle 0x40eac8
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404809
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx - 4], 1
jle 0x40eadf
push dword [ecx - 0xc]
lea ecx, [ebp + 8]
call fcn.00404809
mov ecx, dword [ebp + 8]
mov edx, edi
call fcn.0040e65a
push 0
lea ecx, [ebp + 8]
call fcn.004047ce
push eax
call fcn.0044afc4
pop ecx
lea ecx, [esi - 0x10]
call fcn.00401696
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401696
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401696
mov al, 1
call fcn.0043d229
ret
Function at 0x40ef9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x138c]
mov eax, 0x138c
call fcn.0043d3e0
push 0xffffffffffffffff
push 0x466cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x49353c]
xor eax, ebp
mov dword [ebp + 0x1388], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x1394]
push 0x7ffe
mov dword [ebp - 0x18], eax
call fcn.0044ac16
mov cx, word [0x479a58]
mov edi, eax
mov dword [esp], 0x1386
lea eax, [ebp + 2]
xor ebx, ebx
mov dword [ebp - 0x14], 7
push ebx
push eax
mov word [ebp], cx
call fcn.00440370
add esp, 0xc
mov dword [ebp - 0x10], 0x9c4
push esi
cmp dword [esi + 0x10], ebx
je 0x40f02d
push 0x101
jmp 0x40f02f
push 1
push ebx
push dword [esi + 4]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40f057
push eax
push dword [esi + 4]
push str.ReadDwordRegistryData:_Error_while_opening_registry_key__s_and_the_errorcode_is_:__d
call fcn.004064a1
add esp, 0xc
xor eax, eax
jmp 0x40f0d2
push 0x479a58
lea ecx, [ebp - 0x1c]
call fcn.004042c5
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
inc dword [esi + 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416de6
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x18]
push ecx
mov dword [eax], ecx
lea eax, [ebp]
push eax
push ebx
call fcn.00440710
add esp, 0x10
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x40f0c5
push edi
call fcn.00443733
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401696
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1388]
xor ecx, ebp
call fcn.0043caa2
add ebp, 0x138c
leave
ret 4

Function at 0x40f6af
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ecx
mov dword [esp + 0x28], edi
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
test ebp, ebp
je 0x40f707
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
push 1
call fcn.00443bcc
pop ecx
pop ecx
push edi
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
jne 0x40f70f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040426e
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401696
mov eax, edi
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x41229d
Capabilities:
Query environment variable

Disassembly:
push 0x24
mov eax, 0x467629
call fcn.0043d25b
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x30], 0xc
cmp dword [ebx + 0x24], 4
lea edi, [ebx + 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jne 0x41230a
push dword [ebx + 0x3c]
call fcn.00443870
mov esi, eax
mov dword [esp], str..tmp
call fcn.00443870
add eax, 2
mov ecx, edi
add esi, eax
mov edx, esi
call fcn.0040f68b
push dword [ebx + 0x3c]
push esi
push dword [edi]
call fcn.0044aa48
push str..tmp
push esi
push dword [edi]
call fcn.0044aaac
add esp, 0x1c
jmp 0x41235d
push 0xff
push 1
call fcn.00443bcc
pop ecx
pop ecx
push 0xfe
mov ebx, eax
push ebx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebx
call fcn.00443870
pop ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [edi + 0x14]
mov esi, eax
mov edi, dword [ebp - 0x10]
add edi, 0x40
mov ecx, edi
call fcn.0040f68b
push esi
push ebx
push str._sMEETING_d.tmp
push dword [edi]
call fcn.0040f602
add esp, 0x10
push 0
push 0x80
push 2
lea eax, [ebp - 0x30]
xor esi, esi
push eax
inc esi
push esi
push 0x40000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
jne 0x412455
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.InternetGetRequestEx_:_Error_occured_while_creating_the_file______d
call fcn.004064a1
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InternetGetRequestEx___CreateFile
call fcn.004042c5
and dword [ebp - 4], edi
push ecx
mov ecx, esp
push str.InitializeTempFileName
call fcn.004042c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov edx, ebx
call fcn.004098c9
add esp, 4
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.WIN_ELEC_INITIALIZETEMPFILENAME
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 1
call fcn.00406f9d
push ebx
push str.printErrorMsgForID:_Errorcode:__d
call fcn.004064a1
mov ecx, dword [ebp - 0x10]
add esp, 0x1c
lea ecx, [ecx - 0x10]
call fcn.00401696
jmp 0x412458
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
call fcn.0043d229
ret
Function at 0x412467
Capabilities:
Initialize winhttp library

Disassembly:
push 0x14
mov eax, 0x467653
call fcn.0043d25b
mov edi, ecx
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov byte [0x4989c4], bl
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
xor ecx, ecx
inc ecx
test eax, eax
je 0x4124a4
mov eax, ebx
cmp dword [ebp - 0x20], eax
cmovne eax, ecx
cmp dword [ebp - 0x1c], ebx
cmovne eax, ecx
test eax, eax
je 0x412558
cmp dword [0x49888c], ebx
je 0x4124b8
mov dword [0x498884], 2
jmp 0x4124c8
mov dword [0x498884], ecx
mov dword [0x498888], 3
push ebx
push ebx
push ebx
push ecx
push dword [0x4989ac]
mov dword [0x498898], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea ecx, [ebp - 0x10]
mov dword [edi + 0x7c], eax
call fcn.0040431c
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push dword [edi + 0x28]
push str.http:___s
push eax
call fcn.00404e31
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0x49889c
push 0x498884
push esi
push dword [edi + 0x7c]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.00401696
test edi, edi
je 0x412555
mov esi, dword [0x4988a0]
test esi, esi
je 0x412594
push esi
mov byte [0x4989c4], 1
call fcn.00443870
pop ecx
push eax
push esi
mov ecx, 0x4989c8
call fcn.00404b48
mov esi, dword [0x4988a4]
jmp 0x41257b
xor ecx, ecx
inc ecx
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4125a3
push esi
mov byte [0x4989c4], cl
call fcn.00443870
pop ecx
push eax
push esi
mov ecx, 0x4989c8
call fcn.00404b48
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x412588
push esi
call fcn.00443870
pop ecx
mov ebx, eax
push ebx
push esi
mov ecx, 0x4989d4
call fcn.00404b48
cmp dword [ebp - 0x18], 0
je 0x4125a3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x14], 0
je 0x4125b2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [0x4988a0]
test esi, esi
je 0x4125c3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x4988a4]
test eax, eax
je 0x4125d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
call fcn.0043d229
ret 8
Function at 0x418e55
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x418ea8
push esi
push dword [ebp + 8]
call fcn.0041903e
mov edi, eax
test edi, edi
je 0x418ea3
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x418ea3
mov eax, dword [ebp - 8]
jmp 0x418eba
mov eax, dword [ebp + 0x10]
jmp 0x418eba
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x419fe8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x41a013
cmp dword [edi + 0x80], 0
jne 0x41a013
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00424f9c
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0041a240
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41bb05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x41bb4a
call fcn.00424f9c
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41bb47
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41bb91
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x41bb6d
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46a6b4]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x41bb8e
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x46a6b4]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x41ecb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x41ecf1
call fcn.00424f9c
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ecf1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ecf9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00416858
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41f39a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41f426
cmp dword [esi + 0x20], 0
je 0x41f426
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f426
cmp dword [ebp + 8], 0
je 0x41f426
xor edi, edi
mov ebx, edi
call fcn.00424f9c
push 0x46c910
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x41f40a
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41f426
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00436dac
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41f422
mov ecx, esi
call fcn.0041f174
mov eax, edi
jmp 0x41f428
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4237c1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x467b66
call fcn.0043d25b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4237e7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x423841
lea ecx, [ebp - 0x10]
call fcn.0040431c
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x46a6b4]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0044acec
push eax
call fcn.0040153f
add esp, 0x14
test esi, esi
je 0x423834
push esi
call fcn.00443870
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401696
mov eax, ebx
call fcn.0043d229
ret 8
Function at 0x45af82
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045ac33

Function at 0x45af8d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045adbd

Function at 0x45d112
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045cd8f