joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418d1b
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x469c8f
call fcn.00443747
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x47132c
push 1
push ebx
push 0x472e7c
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x418df6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0043e1d0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x418d97
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0043e95d
add esp, 0xc
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4732ec
push eax
call dword [ecx]
test eax, eax
jl 0x418df6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 2
push edi
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x418df6
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x418e06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x418e17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
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.0043b155
add ebp, 0x20c
leave
ret
Function at 0x418f2e
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
mov esi, ecx
mov byte [ebp - 0x71], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x80], eax
cmp eax, ebx
jne 0x418f81
xor al, al
mov ecx, dword [ebp + 0x390]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
add ebp, 0x394
leave
ret
push edi
push ebx
push 0x80080000
push ebx
push ebx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
cmp esi, ebx
jne 0x418fa8
push dword [ebp - 0x80]
call edi
mov al, bl
pop edi
jmp 0x418f6a
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x7c]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x419003
push 0x3ff
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x400
lea eax, [ebp - 0x70]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne byte [ebp - 0x71]
push esi
call edi
mov bl, byte [ebp - 0x71]
jmp 0x418f9e
Function at 0x419037
Capabilities:
Create thread

Disassembly:
push 0x928
mov eax, 0x46bbef
call fcn.004437b0
xor eax, eax
mov edi, 0x80
mov dword [ebp - 4], 3
push edi
mov word [ebp - 0x124], ax
xor ebx, ebx
lea eax, [ebp - 0x122]
push ebx
push eax
call fcn.0043e1d0
add esp, 0xc
lea esi, [ebp - 0x124]
call fcn.004166d3
xor eax, eax
push edi
mov word [ebp - 0x9c], ax
lea eax, [ebp - 0x9a]
push ebx
push eax
call fcn.0043e1d0
add esp, 0xc
lea esi, [ebp - 0x9c]
call fcn.00432500
xor eax, eax
push 0x7fe
mov word [ebp - 0x924], ax
lea eax, [ebp - 0x922]
push ebx
push eax
call fcn.0043e1d0
lea eax, [ebp - 0x928]
add esp, 0xc
push eax
call fcn.004248e3
pop ecx
mov dword [ebp - 0x934], eax
mov byte [ebp - 4], 4
call fcn.0041f3d0
call fcn.0041fbe0
test eax, eax
je 0x4190e6
xor esi, esi
inc esi
jmp 0x4190ed
call fcn.0041f848
mov esi, eax
call fcn.0041f3d0
mov edi, eax
call fcn.0041f3d0
mov dword [ebp - 0x930], eax
call fcn.0041f3d0
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x934]
push 1
push dword [eax]
call fcn.004199ca
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x930]
push dword [ebp + 0x10]
neg esi
push dword [ebp + 0x14]
sbb esi, esi
and esi, 0x20
add esi, 0x20
push esi
push dword [edi + 0xc]
lea edi, [ebp - 0x924]
push dword [eax + 8]
mov eax, dword [ebp - 0x92c]
push dword [eax + 4]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 8]
mov eax, 0x800
push 4
push str.http:__res.qhsetup.com_drv_inst.htm_type_de_dmid_sm2_so_d._d._dp_dver_srpid_spid_sf_dg_sdm_d
call fcn.00418ba5
mov eax, dword [ebp - 0x928]
add esp, 0x3c
add eax, 0xfffffff0
call fcn.004031f6
push dword [ebp + 0x18]
call fcn.00418b76
push ebx
push ebx
mov eax, edi
push eax
push 0x41900b
push ebx
push ebx
call fcn.0043eaf5
add esp, 0x18
cmp eax, ebx
je 0x4191a5
push eax
call fcn.0041901d
pop ecx
jmp 0x4191ac
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.004031f6
call fcn.00443833
ret
Function at 0x4194d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x46af14
call fcn.00443747
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebp + 0xc], esi
je 0x41960b
cmp dword [ebp + 0x10], esi
je 0x41960b
push 0x474f2c
lea eax, [ebp - 0x14]
push eax
call fcn.00402ad3
push 0x486024
xor ecx, ecx
push 2
pop edx
mov eax, 0x105
mul edx
seto cl
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x18], 1
neg ecx
or ecx, eax
push ecx
call fcn.0043eba5
mov ebx, eax
pop ecx
pop ecx
cmp ebx, esi
je 0x4195e9
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call fcn.0043e1d0
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp + 0xc]
push edi
call esi
cmp eax, 0xea
jne 0x4195d4
push ebx
call fcn.0043e082
mov eax, dword [ebp - 0x10]
mov dword [esp], 0x486024
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043eba5
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4195e9
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push 0
push ebx
call fcn.0043e1d0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call esi
test eax, eax
jne 0x4195e2
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00402c33
push ebx
call fcn.0043e082
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402cca
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, esi
jmp 0x41961b
push 0x474f2c
push dword [ebp + 8]
call fcn.00402ad3
mov eax, dword [ebp + 8]
call fcn.0044381f
ret

Function at 0x419621
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
je 0x419670
cmp dword [ebp + 0x10], 0
je 0x419670
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00402ad3
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x41964c
lea eax, [ecx - 0x10]
jmp 0x41966b
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push dword [ebp + 0xc]
push str.SOFTWARE360DrvMgr
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004031f6
leave
ret

Function at 0x4196a9
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push str.inst_times
push str.SOFTWARE_fbd30ee5_8150_549e_9aed_fd9d444318
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
ret

Function at 0x419723
Capabilities:
Set registry value

Disassembly:
push 8
lea eax, [esp + 0xc]
push eax
push 0xb
push str.inst_time
push str.SOFTWARE_fbd30ee5_8150_549e_9aed_fd9d444318
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
ret
Function at 0x419741
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
xor edi, edi
push str.SOFTWARE360DrvMgr
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4197a3
push ebx
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push str.ori_pid
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
je 0x41979f
cmp ebx, 0xea
jne 0x4197a2
mov dword [ebp - 8], edi
pop ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x4199ca
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x46b2b9
call fcn.00443747
push str.Path
lea eax, [ebp - 0x10]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
xor esi, esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004194d0
add esp, 0xc
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x419a26
lea eax, [ebp - 0x18]
push str.360safe.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040bc02
pop ecx
pop ecx
push dword [eax]
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419a26
mov bl, 1
jmp 0x419a28
xor bl, bl
test byte [ebp - 0x14], 1
je 0x419a39
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004031f6
test bl, bl
je 0x419a40
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, esi
call fcn.0044381f
ret

Function at 0x41b658
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.Path
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b6be
cmp dword [ebp + 8], 1
je 0x41b696
cmp dword [ebp + 8], 2
je 0x41b696
push 0xd
pop eax
jmp 0x41b6be
mov eax, dword [ebp - 4]
test edi, edi
je 0x41b6b8
test eax, eax
je 0x41b6b3
test al, 1
jne 0x41b691
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x41b6b8
jmp 0x41b691
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4
Function at 0x41c196
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x207
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x41c22d
cmp eax, esi
ja 0x41c22d
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41c1ce
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x41c202
push edi
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x41c1f0
mov esi, 0x474fcc
movsd dword es:[edi], dword [esi]
pop edi
push str.wininit.ini
lea eax, [ebp - 0x20c]
push eax
push str._s_s
push 0x208
push ebx
call fcn.0043f423
xor eax, eax
add esp, 0x14
mov word [ebx + 0x40e], ax
inc eax
jmp 0x41c22f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043b155
leave
ret

Function at 0x41c9e1
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push ebx
mov ebx, 0x4895f8
cmp ax, word [0x4895f8]
jne 0x41ca1a
push esi
push edi
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x41ca03
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x41d033
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x41d12a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41d11b
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x41d11b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41d11b
push edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41d11b
push 0x20a
call fcn.0043afbf
pop ecx
mov esi, eax
cmp dword [ebp - 8], edi
jbe 0x41d111
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x41d104
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.0041d033
add esp, 0x10
jmp 0x41d10b
cmp eax, 0x103
je 0x41d111
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x41d0dd
push esi
call fcn.0043e082
xor ebx, ebx
pop ecx
inc ebx
pop esi
cmp dword [ebp - 4], edi
je 0x41d12a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x41d472
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [0x4881d8]
xor ebx, ebx
cmp edi, ebx
jne 0x41d4aa
push 0x6000
call fcn.0043afbf
mov edi, eax
mov dword [esp], 0x1000
push ebx
push edi
mov dword [0x4881d8], edi
call fcn.0043e1d0
add esp, 0xc
xor esi, esi
mov ecx, edi
mov eax, 0x400
mov edx, dword [ebp + 0xc]
cmp dword [ecx], edx
je 0x41d4f1
inc esi
add ecx, 0x18
cmp esi, eax
jl 0x41d4b3
xor esi, esi
mov ecx, edi
cmp dword [ecx], ebx
je 0x41d4dc
inc esi
add ecx, 0x18
cmp esi, eax
jl 0x41d4c6
call fcn.0041d458
jmp 0x41d5ee
mov eax, esi
imul eax, eax, 0x18
add eax, edi
mov dword [eax], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x41d5ee
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x58]
adc edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.0044be50
imul esi, esi, 0x18
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4881d8]
add esi, eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edx
mov edx, ecx
or edx, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
je 0x41d5dc
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
or edx, eax
je 0x41d5dc
sub edi, dword [esi + 0x10]
sbb ebx, eax
mov eax, edi
or eax, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
je 0x41d5ee
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [esi + 0xc]
push 0
push 0x64
push ecx
push eax
call fcn.0045cc30
push 0
push 2
push ebx
mov ecx, edx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
call fcn.0044bb50
mov ecx, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp - 8]
push ebx
push edi
adc eax, edx
push eax
push ecx
call fcn.0044bb50
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x14], ecx
jmp 0x41d5f0
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41df9a
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0045fdc0
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.0043e1d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41e041
cmp eax, 0x3fff
ja 0x41e041
lea ecx, [ebp - 0x74]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41e041
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x474fcc
lea eax, [ebp - 0x74]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41e041
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push ebx
push edi
call fcn.0043f423
xor eax, eax
add esp, 0x1c
mov word [edi + ebx*2 - 2], ax
inc eax
jmp 0x41e043
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
xor ecx, ebp
call fcn.0043b155
add ebp, 0x3f90
leave
ret

Function at 0x41e235
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x41e263
xor eax, eax
inc eax
jmp 0x41e305
and dword [ebp - 0x80], 0
mov eax, ebx
push esi
mov esi, ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x41e26f
sub eax, ecx
sar eax, 1
cmp eax, 0x104
jbe 0x41e288
xor eax, eax
jmp 0x41e304
xor eax, eax
push edi
cmp ax, word [ebx]
je 0x41e300
push 0x474fcc
push esi
call fcn.0043f7f8
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x41e2b6
push 0x477f38
push esi
call fcn.0043f7f8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41e300
mov esi, edi
sub esi, ebx
sar esi, 1
test esi, esi
jle 0x41e2f6
push 0x410
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0043e95d
add esp, 0x18
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41e2f3
call fcn.0041e224
mov dword [ebp - 0x80], eax
lea esi, [edi + 2]
xor eax, eax
cmp ax, word [esi]
jne 0x41e290
mov eax, dword [ebp - 0x80]
pop edi
pop esi
mov ecx, dword [ebp + 0x394]
xor ecx, ebp
call fcn.0043b155
add ebp, 0x398
leave
ret
Function at 0x41e92a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
mov esi, dword [ebp + 0x3ac]
push edi
mov edi, dword [ebp + 0x3b0]
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], edi
call fcn.0043e1d0
mov eax, dword [ebp + 0x3b4]
push esi
add eax, eax
push str.CLSID_sInprocServer32
mov dword [ebp - 0x74], eax
mov ebx, 0x103
lea eax, [ebp + 0x198]
push ebx
push eax
mov dword [ebp - 0x7c], 1
call fcn.0043f423
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x1c
lea eax, [ebp - 0x74]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push str.CodeBase
lea eax, [ebp + 0x198]
push eax
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x41e9d1
xor eax, eax
inc eax
jmp 0x41ea99
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
call esi
test eax, eax
je 0x41e9c9
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push str.CLSID_sLocalServer32
push ebx
push eax
call fcn.0043f423
mov eax, dword [ebp + 0x3b4]
add eax, eax
add esp, 0x10
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
call esi
test eax, eax
je 0x41e9c9
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.0043e1d0
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push str.CLSID_sTreatAs
push ebx
push eax
call fcn.0043f423
add esp, 0x1c
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp + 0x198]
push eax
push edi
mov dword [ebp - 0x74], 0x208
call esi
test eax, eax
jne 0x41ea91
push dword [ebp + 0x3b4]
lea eax, [ebp - 0x70]
push dword [ebp - 0x78]
push eax
call fcn.0041e92a
add esp, 0xc
jmp 0x41ea99
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp + 0x3a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b155
add ebp, 0x3a4
leave
ret