joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4192e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x419360
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
mov eax, dword [edi]
inc eax
push eax
call fcn.00443ca8
pop ecx
push edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
je 0x419364
cmp dword [ebp + 8], ebx
je 0x419360
push dword [ebp + 8]
call fcn.00444160
pop ecx
xor eax, eax
jmp 0x419367
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x419370
mov ecx, dword [edi]
mov byte [eax + ecx], bl
pop ebx
leave
ret 0xc

Function at 0x41957d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
mov edi, ebx
call fcn.00419531
push 0x103
xor esi, esi
lea eax, [ebp - 0x103]
push esi
push eax
mov byte [ebp - 0x104], 0
call fcn.0044ded0
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x4195fb
dec eax
je 0x4195de
dec eax
je 0x4195c1
push 2
pop eax
jmp 0x4196aa
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYUElHR1k
call fcn.004155e7
pop ecx
lea edx, [ebp - 0x104]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4195d2
jmp 0x419616
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVY
call fcn.004155e7
pop ecx
lea edx, [ebp - 0x104]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4195ef
jmp 0x419616
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYU0I
call fcn.004155e7
pop ecx
lea edx, [ebp - 0x104]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x41960c
lea eax, [ebp - 0x104]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push esi
push eax
mov dword [ebx + 0xd0c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41963b
xor eax, eax
jmp 0x4196aa
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419642
mov esi, str._SEM
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
push eax
push 1
movsb byte es:[edi], byte [esi]
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push eax
mov dword [ebx + 0xd10], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4196a7
push dword [ebx + 0xd0c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebx + 0xd0c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx + 0xd10]
mov dword [ebx + 0xd0c], edi
call esi
mov dword [ebx + 0xd10], edi
jmp 0x419637
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x4196b0
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_5.0_
mov dword [ebp - 8], 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4197c9
push esi
push edi
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4196f3
push ebx
sub eax, edx
push 0x4000000
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x80]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4197b9
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x4197a7
push 0xff
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.0044ded0
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov edi, 0x100
jmp 0x41978d
cmp dword [ebp + 8], ebx
je 0x4197a4
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41976d
jmp 0x4197a7
mov dword [ebp - 8], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
pop edi
pop esi
jge 0x4197d2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
pop ebx
leave
ret 8

Function at 0x4197da
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
xor esi, esi
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.0044ded0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x419864
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, si
jne 0x419833
mov esi, str..url
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x419864
shr eax, 4
not eax
and eax, 1
jmp 0x419866
xor eax, eax
pop esi
leave
ret 4
Function at 0x41986b
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 4], 0x80004005
call fcn.0044ded0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41995b
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x4198cf
push esi
mov esi, str..url
movsd dword es:[edi], dword [esi]
push 0x3ff
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60b]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x60c], bl
call fcn.0044ded0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60c]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419959
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x60c]
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc

Function at 0x41a104
Capabilities:
Create http request
Create thread

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VIP_TRACKING
mov dword [esi + 8], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push edi
push edi
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
lea eax, [esi + 4]
push eax
push edi
push ebx
push 0x41a1a5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop ebx
ret
Function at 0x41a616
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x41a667
test edi, edi
je 0x41a66b
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a629
sub eax, edx
je 0x41a667
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a639
sub eax, edx
je 0x41a667
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Attempting_to_send
call esi
push dword [ebp + 8]
call esi
push str._to_URL:
call esi
push edi
call esi
push 0x45ec74
call esi
test edi, edi
jne 0x41a6a8
mov eax, dword [0x476b50]
test eax, eax
je 0x41a6d9
push 0
push 0
push 0x12
push dword [eax + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call fcn.00444160
and dword [0x476b50], 0
pop ecx
jmp 0x41a6d9
cmp dword [0x476b50], 0
jne 0x41a6cd
push 0x10
call fcn.004441b8
pop ecx
test eax, eax
je 0x41a6c6
mov esi, eax
call fcn.0041a104
jmp 0x41a6c8
xor eax, eax
mov dword [0x476b50], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call fcn.0041a14c
pop esi
leave
ret

Function at 0x41a6dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov byte [ebp - 0x14], 0
push esi
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a6fa
sub eax, ecx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041aad3
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x41a71e
add ecx, 4
dec edi
jne 0x41a719
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041a752
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41a78b
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
ret
Function at 0x41aa41
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x1c]
mov byte [ecx + eax + 0x20], 0x80
inc dword [eax + 0x1c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x1c]
jle 0x41aa8b
jmp 0x41aa61
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x41aa56
call fcn.0041a887
jmp 0x41aa78
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x41aa6d
jmp 0x41aa90
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x41aa80
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x58], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x5b], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x59], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5c], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5e], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
jmp fcn.0041a887

Function at 0x41ab02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push esi
push edi
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x45f598
stosb byte es:[edi], al
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41ab24
sub eax, esi
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0041aad3
add esp, 0xc
push 5
lea ecx, [ebp - 0x14]
pop edi
xor esi, esi
lea eax, [ecx + 3]
mov dl, byte [eax]
xor byte [ecx + esi], dl
mov dl, byte [ecx + esi]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx + esi], dl
inc esi
dec eax
cmp esi, 2
jl 0x41ab46
add ecx, 4
dec edi
jne 0x41ab41
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x10
push eax
mov eax, dword [ebp + 8]
call fcn.0041a752
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x41ab7a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x184]
push eax
mov dword [ebp - 8], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x84]
call fcn.0041a78b
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
push eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x84]
call fcn.0041a81c
lea eax, [ebp - 0x184]
push eax
call edi
push eax
lea eax, [ebp - 0x184]
call fcn.0041a81c
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a7bf
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041a752
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x41abf8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov ebx, eax
xor eax, eax
inc esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
je 0x41ac6c
lea esi, [ebx + 1]
lea ebx, [esi + esi]
mov eax, ebx
call fcn.0044cd20
mov edi, esp
push ebx
push 0
push edi
call fcn.0044ded0
add esp, 0xc
push esi
push dword [ebp + 0x10]
push edi
call fcn.0044b6b0
add esp, 0xc
push esi
push edi
call fcn.0041ab02
pop ecx
pop ecx
test esi, esi
je 0x41ac67
push esi
push dword [ebp + 0x10]
lea eax, [esi + edi]
push eax
mov dword [ebp - 8], eax
call fcn.0044b6b0
add esp, 0xc
push esi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.0041ab7a
add esp, 0xc
push 3
pop esi
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0x20006
push eax
push eax
push eax
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41aca8
push ebx
push edi
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41acb3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x41acc9
mov ecx, dword [eax]
jmp 0x41accb
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ecx, esi
jne 0x41acd5
mov dword [ebp + 0x14], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x41ace9
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41acec
mov dword [ebp - 8], ebx
xor eax, eax
cmp dword [ebp - 8], ebx
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], esi
je 0x41ad62
cmp dword [ebp + 0x14], esi
je 0x41ad62
mov dword [ebp - 0x10], ebx
cmp eax, esi
je 0x41ad16
lea eax, [ecx + ecx + 2]
mov dword [ebp - 4], eax
call fcn.0044cd20
mov edi, esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push dword [ebp + 8]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x41adf0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41ad67
mov eax, esi
jmp 0x41adf0
mov dword [ebp - 0x10], esi
jmp 0x41ad16
cmp dword [ebp - 0x10], 0
je 0x41add6
push dword [ebp - 4]
push edi
call fcn.0041ab02
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
je 0x41add6
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [ebp - 4]
mov esi, eax
inc esi
cmp esi, ebx
jae 0x41adb7
push ebx
push edi
call fcn.0041ab02
sub dword [ebp - 4], esi
push dword [ebp - 4]
lea eax, [esi + edi]
push eax
push dword [ebp + 0x1c]
call fcn.0041ab7a
mov ebx, dword [ebp - 4]
add esp, 0x14
dec ebx
mov dword [ebp - 4], ebx
jmp 0x41adb9
xor esi, esi
push ebx
add esi, edi
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.0044b6b0
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp ebx, dword [eax]
jae 0x41add9
mov byte [ebx + esi], 0
jmp 0x41add9
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41ade2
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41adee
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ae78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x64
mov esi, eax
pop ebx
call fcn.0041ae23
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x41ae9d
mov ebx, dword [esi + 8]
add ebx, 0x64
call fcn.0041ae23
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp ebx, 0xea
je 0x41ae92
test ebx, ebx
jne 0x41aee5
cmp dword [ebp - 8], eax
jbe 0x41aee0
cmp dword [ebp - 8], 2
jbe 0x41aed7
cmp dword [ebp - 8], 7
jne 0x41aee0
cmp dword [ebp - 4], 0
je 0x41aee0
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x41aee7
xor eax, eax
mov ecx, esi
call fcn.0041ae61
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x41ddf7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 4]
mov esi, 0x476b58
push 0x4603a0
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push esi
push esi
push SysReAllocStringLen
mov dword [ebp - 8], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov eax, esi
je 0x41de51
mov eax, 0x476b6c
pop esi
leave
ret

Function at 0x41eafa
Capabilities:
Print debug messages

Disassembly:
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push esi
call fcn.004235cf
push str.BIGV_in_the_house
mov dword [esi], 0x460c68
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
mov byte [esi + 0x2cc], 1
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
call fcn.0043c0fb
push ebx
push ebx
mov dword [esi + 0x2c8], eax
call fcn.0043c0fb
push ebx
push ebx
mov dword [esi + 0x294], eax
mov dword [esi + 0x18], 2
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x298], ebx
mov byte [esi + 0x260], bl
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
call fcn.0043c0fb
add esp, 0x18
mov dword [esi + 0x2b0], eax
mov byte [esi + 0x2ac], bl
mov byte [esi + 0x261], bl
mov byte [esi + 0x29c], bl
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov eax, esi
pop ebx
ret
Function at 0x4244b5
Capabilities:
Print debug messages

Disassembly:
push dword [esi + 0x190]
call fcn.0043c122
mov eax, dword [esi + 0x188]
pop ecx
mov ecx, dword [esi + 0x18c]
mov edx, eax
or edx, ecx
je 0x4244e7
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], ecx
jmp 0x4244f2
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push edi
push dword [esi + 0x190]
call fcn.0043c136
lea edi, [esi + 0x10c]
push dword [edi]
call fcn.0043c122
cmp byte [esi + 0x72], 0
push dword [edi]
sete bl
call fcn.0043c136
add esp, 0xc
pop edi
mov al, bl
pop ebx
ret

Function at 0x424bf0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
push dword [ebx + 0xfc]
mov esi, eax
call fcn.0043c122
mov eax, dword [ebx + 0x180]
pop ecx
test eax, eax
je 0x424c1a
push eax
call fcn.00444db8
pop ecx
push dword [ebx + 0xfc]
and dword [ebx + 0x180], 0
call fcn.0043c136
mov dword [esp], 0x104
lea eax, [ebp - 0x110]
push eax
push str.MUP_CACHEDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x424c55
lea eax, [ebp - 0x110]
jmp 0x424c77
mov dword [ebp - 4], esi
test esi, esi
jne 0x424c7a
push esi
lea eax, [ebp - 0x218]
call fcn.0043084d
pop ecx
test al, al
je 0x424d71
lea eax, [ebp - 0x218]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424c80
sub eax, esi
add eax, 0x11
push eax
call fcn.00444443
mov edx, dword [ebp - 4]
pop ecx
mov dword [ebx + 0x180], eax
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x424c9c
mov esi, dword [ebx + 0x180]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424cb1
sub eax, edi
je 0x424cd5
cmp byte [esi + eax - 1], 0x5c
je 0x424cd5
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x424cc4
mov edi, esi
mov esi, 0x45d86c
movsw word es:[edi], word [esi]
mov edi, dword [ebx + 0x180]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424cdc
mov esi, str.cache
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0x180]
push 0
call fcn.0042be29
pop ecx
test al, al
jne 0x424d2c
push dword [ebx + 0x180]
call fcn.00444db8
and dword [ebx + 0x180], 0
pop ecx
push dword [ebp - 4]
push str.Unable_to_use_global_cache_at__s:_dir_doesnt_exist_and_cant_be_created_n
call fcn.00445765
add eax, 0x40
push eax
call fcn.00445cb2
add esp, 0xc
jmp 0x424d71
push dword [ebx + 0xfc]
call fcn.0043c122
mov esi, dword [ebx + 0x180]
mov eax, esi
pop ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424d43
sub eax, edi
cmp byte [esi + eax - 1], 0x5c
je 0x424d65
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x424d54
mov edi, esi
mov esi, 0x45d86c
movsw word es:[edi], word [esi]
push dword [ebx + 0xfc]
call fcn.0043c136
pop ecx
pop edi
pop esi
leave
ret