joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4144a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x220
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x228]
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
lea ecx, [esp + 0x14]
push ecx
xor ebp, ebp
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
je 0x4145d2
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.0044037f
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4145aa
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145aa
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push str.ProductName
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.00413b20
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4145aa
mov edx, dword [esp + 0x14]
mov ebp, 1
test edx, edx
jne 0x414589
mov edx, 0x464c84
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414590
mov ecx, dword [esp + 0x1c]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.0040f380
test ebx, ebx
je 0x4145b7
push ebx
call fcn.00440de3
add esp, 4
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004404e6
add esp, 0x220
ret
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004404e6
add esp, 0x220
ret

Function at 0x414700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
cmp dword [ecx], 0
mov dword [esp], ecx
je 0x414780
push ebx
mov ebx, dword [esp + 0xc]
movzx eax, word [ebx]
push esi
push edi
mov edi, 0x7fed7fed
mov esi, 0xeeeeeeee
test ax, ax
je 0x414777
push ebp
mov ebp, dword [esp + 0x1c]
shl ebp, 8
movzx eax, ax
mov dword [esp + 0x18], ebp
jmp 0x414737
mov ebp, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.00442c78
movzx ecx, ax
xor edx, edx
lea eax, [ecx + ebp]
mov ebp, 0x500
div ebp
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
add edi, esi
add ebx, 2
add esp, 4
xor edi, dword [eax + edx*4]
movzx eax, word [ebx]
mov edx, esi
shl edx, 5
add edx, ecx
add edx, esi
lea esi, [edx + edi + 3]
test ax, ax
jne 0x414733
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8

Function at 0x414a50
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4155e4
Capabilities:
Check if file exists
Create thread
Query environment variable

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x415671
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41561e
mov eax, dword [esi + 0x28]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x24]
push 0x463a8c
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esi + 0x2c], 1
push 0x104
lea edx, [esp + 8]
push edx
push 0x463a7c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4156ea
push edi
push eax
push eax
push esi
push 0x415530
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x415662
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
jmp 0x4156ea
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc4]
cmp ecx, 1
jne 0x415699
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4156ea
test ecx, ecx
jne 0x4156a9
push 0xff
push str.ck_W_nN_O
jmp 0x4156ce
mov eax, dword [eax + 0xc8]
cmp eax, 1
jne 0x4156c0
push 0xff
push 0x463a38
jmp 0x4156ce
test eax, eax
jne 0x4156ea
push 0xff
push 0x463a20
lea eax, [esp + 0xc]
push eax
call fcn.004412b5
mov edx, dword [esi + 0x24]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004404e6
add esp, 0x20c
ret 0x10

Function at 0x415cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45a858
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x463ab4
push edx
mov dword [esp + 0x28], 0
call fcn.00413e50
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
add esp, 0x10
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x415d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a8c7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], vtable.CReportDialog.0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov byte [esi + 0x2d], al
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
mov byte [esp + 0x18], 2
lea edi, [esi + 0x30]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x1c], 3
call fcn.0040c440
add eax, 0x10
add esp, 4
mov dword [esi + 0x34], eax
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
mov byte [esp + 0x18], 4
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
mov byte [esp + 0x18], 5
call edx
add eax, 0x10
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x40], eax
add eax, 0xcc
push eax
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.0040f7c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x415ea0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.00440500
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415f42
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0040fd40
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004404e6
add esp, 0x218
ret
Function at 0x416010
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x210
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00440500
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.firstaidSuperKiller.exe
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4160a8
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040fd40
mov eax, esi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004404e6
add esp, 0x210
ret
push str._firstaidSuperKiller.exe
push esi
call fcn.00415f70
mov ecx, dword [esp + 0x218]
add esp, 8
mov eax, esi
pop esi
xor ecx, esp
call fcn.004404e6
add esp, 0x210
ret
Function at 0x418660
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0xc34
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
mov ebx, dword [esp + 0xc3c]
push ebp
push 0x208
xor ebp, ebp
lea eax, [esp + 0x41c]
push ebp
push eax
call fcn.00440500
push 0x208
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.00440500
push 0x208
lea edx, [esp + 0x22c]
push ebp
push edx
call fcn.00440500
push 0x208
lea eax, [esp + 0x850]
push ebp
push eax
call fcn.00440500
push 0x208
lea ecx, [esp + 0x654]
push ebp
push ecx
call fcn.00440500
push 0x208
lea edx, [esp + 0xa70]
push ebp
push edx
call fcn.00440500
add esp, 0x48
test ebx, ebx
je 0x4188fb
push esi
push edi
push 0x104
lea eax, [esp + 0x424]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.modules
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x10]
push ecx
call edi
test eax, eax
jne 0x41875c
push str.sdsp
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
call edi
test eax, eax
jne 0x418781
push 0x103
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004412b5
add esp, 0xc
push 0x4628d0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x220]
push edx
call esi
push str.dbgeng.dll
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x838]
push ecx
call esi
push str.symsrv.dll
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x630]
push eax
call esi
push str.symsrv.yes
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa40]
push edx
call esi
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
je 0x418809
lea ecx, [esp + 0x830]
push ecx
call edi
test eax, eax
je 0x418809
lea edx, [esp + 0x628]
push edx
call edi
test eax, eax
je 0x418809
lea eax, [esp + 0xa38]
push eax
call edi
test eax, eax
jne 0x41881b
lea ecx, [esp + 0x10]
push 0x1d4c0
push ecx
call fcn.00424d80
add esp, 8
lea edx, [esp + 0x218]
push edx
call fcn.00424e70
add esp, 4
test eax, eax
je 0x41888f
lea eax, [esp + 0x830]
push eax
call fcn.00424e70
add esp, 4
test eax, eax
je 0x41888f
lea ecx, [esp + 0x628]
push ecx
call fcn.00424e70
add esp, 4
test eax, eax
je 0x41888f
mov edx, dword [esp + 0xc4c]
dec edx
push edx
lea eax, [esp + 0x21c]
push eax
push ebx
call fcn.004412b5
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc30]
xor ecx, esp
call fcn.004404e6
add esp, 0xc34
ret
call fcn.0042a330
test eax, eax
je 0x4188f4
push 0x104
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xc
push str.dbghelp.dll
lea edx, [esp + 0x220]
push 0x104
push edx
call fcn.004411c7
add esp, 0x10
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
je 0x4188f4
mov ecx, dword [esp + 0xc4c]
dec ecx
push ecx
lea edx, [esp + 0x21c]
push edx
push ebx
call fcn.004412b5
add esp, 0xc
mov ebp, 1
mov eax, ebp
jmp 0x418876
mov ecx, dword [esp + 0xc38]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0xc34
ret
Function at 0x418920
Capabilities:
Get file size
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
mov ebx, ecx
push 0x80000000
lea eax, [ebx + 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418967
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4189d4
cmp edi, 0xffffffff
je 0x4189d4
shr edi, 0xa
call fcn.004131c0
test eax, eax
jne 0x4189cb
mov dword [esp + 0xc], eax
mov eax, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push str.MaxDnSpeed
push str.SOFTWARELiveUpdate360
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [esp + 0xc]
shr ecx, 0xa
test ecx, ecx
je 0x4189d4
mov eax, dword [ebx + 0x4f4]
mov esi, eax
shl esi, 4
sub esi, eax
xor edx, edx
mov eax, edi
div ecx
add esi, esi
add esi, esi
cmp eax, esi
ja 0x4189d4
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xc
ret

Function at 0x4189e0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00440500
add esp, 0xc
push 0x104
lea ecx, [esp + 0x14]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x10]
push edx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.SDVersion.dll
lea eax, [esp + 0x14]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x418a53
lea eax, [ebp + 1]
jmp 0x418a78
lea edx, [esp + 0x10]
push edx
call esi
push str.360ver.dll
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
mov eax, 2
jne 0x418a78
mov eax, ebp
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x20c
ret

Function at 0x418da0
Capabilities:
Get file size

Disassembly:
mov eax, dword [eax]
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x418def
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x418de8
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
add esp, 8
ret
Function at 0x419910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x224], eax
push edi
xor eax, eax
push 0x1fe
mov edi, ecx
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00440500
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x464868
push str.SOFTWARE360SafeLiveup
push 0x80000002
mov dword [esp + 0x20], 0x200
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4199f4
push ebx
push ebp
push esi
xor edx, edx
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x80], dx
call fcn.004281c0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov esi, ebp
cmp ebx, 0x10
jae 0x4199ac
lea esi, [esp + 0x1c]
lea eax, [edi + 0xe4]
mov edx, pe_nt_image_headers32
sub esi, eax
lea esp, [esp]
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x4199db
mov cl, byte [esi + eax]
test cl, cl
je 0x4199db
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4199c0
jmp 0x4199df
test edx, edx
jne 0x4199e0
dec eax
mov byte [eax], 0
cmp ebx, 0x10
jb 0x4199f1
push ebp
call fcn.004404db
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
pop edi
xor ecx, esp
call fcn.004404e6
add esp, 0x228
ret

Function at 0x419a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x4c], eax
push edi
mov edi, dword [esp + 0x58]
push 0x40
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00440500
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x20
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419b1d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.svcVersion
push edx
call esi
test eax, eax
je 0x419b11
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Version
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 0
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004281c0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, edi
pop edi
xor ecx, esp
call fcn.004404e6
add esp, 0x50
ret 4
Function at 0x41a2e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
mov ebx, dword [esp + 0x2e4]
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0xe4]
push 0
push eax
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
call fcn.00440500
mov eax, dword [ebp + 0xcc]
lea esi, [ebp + 0xcc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esp, 0xc
or eax, ecx
jge 0x41a34b
push 0
mov ecx, esi
call fcn.0040b4e0
mov esi, dword [esi]
lea eax, [esp + 0xe0]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [ecx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x41a380
movzx ecx, word [esi + eax]
test cx, cx
je 0x41a380
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x41a360
jmp 0x41a384
test edx, edx
jne 0x41a387
sub eax, 2
xor edx, edx
push 0x464914
mov word [eax], dx
push 0x104
lea eax, [esp + 0xe8]
push eax
call fcn.00418d00
push 0x4000
call fcn.0044066b
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.00414a50
add esp, 8
test esi, esi
je 0x41a457
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea edx, [esp + 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41a44e
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x4000
push esi
push edi
mov dword [esp + 0x24], 0x4000
call ebx
test eax, eax
je 0x41a443
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41a443
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.004151b0
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push 0x4000
push esi
push edi
mov dword [esp + 0x24], 0x4000
call ebx
test eax, eax
jne 0x41a410
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
push esi
call fcn.00440dee
add esp, 4
mov ecx, dword [ebp + 0xa0]
mov esi, 0x10
cmp dword [ebp + 0xa4], esi
jb 0x41a472
mov eax, dword [ebp + 0x90]
jmp 0x41a478
lea eax, [ebp + 0x90]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004151b0
mov eax, dword [ebp + 0x4c]
add esp, 0xc
cmp dword [ebp + 0x50], esi
jb 0x41a494
mov ebp, dword [ebp + 0x3c]
jmp 0x41a497
add ebp, 0x3c
push eax
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.004151b0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00415250
add esp, 0x14
xor esi, esi
lea edi, [esp + 0x80]
movzx ecx, byte [esp + esi + 0x70]
push ecx
push 0x464908
push edi
call fcn.00413110
inc esi
add esp, 0xc
add edi, 4
cmp esi, 0x10
jl 0x41a4c1
xor edx, edx
push edx
lea eax, [esp + 0x84]
push eax
push ebx
mov word [esp + 0xcc], dx
call fcn.004281c0
mov ecx, dword [esp + 0x2f4]
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x2dc
ret 4
Function at 0x41a8b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45ac0a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.W3Client.0
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
lea ecx, [esi + 0x88]
mov byte [esp + 0x18], 3
call fcn.0041a520
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 4
call fcn.0041a520
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x41aa30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
call fcn.0041a2a0
cmp dword [eax + 0x14], 0
setne bl
cmp dword [esp + 0x4c], 0x10
jb 0x41aa7e
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004404db
add esp, 4
test bl, bl
je 0x41ab46
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea edx, [esi + 0x710]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41ab46
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041a2a0
mov ebp, eax
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x78], ebx
call fcn.0041a2a0
mov ebp, dword [ebp + 0x14]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x41aaf7
mov eax, dword [eax + 4]
jmp 0x41aafa
add eax, 4
push ebx
lea edx, [esp + 0x18]
push edx
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x30], esi
jb 0x41ab1c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004404db
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x68], esi
jb 0x41ab3f
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004404db
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret