joyce8/EMBER2024-capa huggingface dataset:
Function at 0x534c00
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x164]
sub esp, 0x164
push 0xffffffffffffffff
push 0x635a30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x160], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0x16c]
mov ebx, dword [ebp + 0x170]
mov esi, dword [ebp + 0x174]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x534db2
push 0x160
push 0
lea eax, [ebp]
push eax
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x67f1c8
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00534b20
test eax, eax
je 0x534cad
push 0x410c
push 0x160
lea edx, [ebp]
push edx
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x18], eax
jmp 0x534cc4
push 0x400c
push 0x160
lea eax, [ebp]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 1
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 4]
push eax
mov ecx, dword [esi]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea edx, [ebp - 0x40]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 3
push 0
push 0
push 0x30
push 0x30
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esi + 4]
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [ebp - 0x30]
push ecx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x20]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push ebx
call esi
mov eax, dword [ebp - 0x1c]
jmp 0x534db4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x160]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x164
mov esp, ebp
pop ebp
ret 0x10
Function at 0x536fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635ed0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push 0x536e50
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x537014
lea esp, [esp]
mov eax, dword [0x710110]
cmp eax, esi
jne 0x53701b
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x537000
xor eax, eax
mov dword [0x710110], eax
mov dword [edi + 0x24], eax
mov dword [0x710110], esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5373f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [edi + 4]
cmp edx, 0xffffffff
je 0x53747a
mov eax, esi
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x537440
sub eax, ebx
push 0
lea ecx, [ebp - 0x228]
push ecx
push eax
push esi
push edx
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
push 0
lea edx, [ebp - 0x228]
push edx
push 2
push 0x6511cc
mov eax, dword [edi + 4]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret 4

Function at 0x5374e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x408]
cmp eax, 0x3fe
jne 0x53753b
push edi
push 0x400
lea edi, [esi + 8]
push 0
push edi
call fcn.005f8cb0
mov ecx, dword [esi + 4]
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
push 0x3ff
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
test eax, eax
je 0x537534
cmp dword [esp + 4], 0
jbe 0x537534
mov dword [esi + 0x408], 0
jmp 0x537542
xor al, al
pop esi
pop ecx
ret 4
inc eax
mov dword [esi + 0x408], eax
mov edx, dword [esi + 0x408]
mov al, byte [esi + edx + 8]
mov ecx, dword [esp + 0xc]
mov byte [ecx], al
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x537b30
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x636088
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 0x21c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ecx + 4], 0xffffffff
je 0x537c96
push 0x67f868
lea ecx, [ebp - 0x14]
call fcn.004030e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004024e0
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x20]
call fcn.0057a620
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e4a0
cmp dword [esi + 0x38], ebx
je 0x537bd9
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov edx, dword [esi + 0x38]
push edx
lea ecx, [ebp - 0x14]
call fcn.004030a0
cmp dword [esi + 0x3c], ebx
je 0x537bf7
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004030a0
lea edi, [esi + 0x1a0]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x537c1a
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.004030a0
push edi
lea ecx, [ebp - 0x14]
call fcn.0040e4a0
add esi, 0x1a4
mov eax, dword [esi]
cmp eax, ebx
je 0x537c51
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x537c30
sub eax, edx
je 0x537c51
push str._r_nUser_Agent:
lea ecx, [ebp - 0x14]
call fcn.004030a0
push esi
lea ecx, [ebp - 0x14]
call fcn.0040e4a0
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.004030a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402550
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret 4
Function at 0x538800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2a14]
mov eax, 0x2a14
call fcn.005f9ca0
push 0xffffffffffffffff
push 0x636168
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x2a10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 0x2a1c]
mov dword [ebp - 4], 0
mov ebx, 0x1400
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x210]
push ecx
push 0
push 0
push str.Extensions
mov edx, dword [0x70f604]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x538991
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x538888
sub eax, edx
cmp eax, ebx
jae 0x538991
mov dword [ebp - 0x14], ebx
mov ecx, edi
lea edx, [ebp + 0x1610]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5388a4
push 0x30000000
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x1610]
push ecx
mov edx, ecx
push edx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
call ebx
lea eax, [ebp + 0x210]
push eax
lea ecx, [ebp + 0x1610]
push ecx
mov ecx, esi
call fcn.00538680
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x538959
push 0x3f
push edi
call fcn.005f9b50
add esp, 8
test eax, eax
je 0x538959
mov ecx, edi
lea edx, [ebp + 0x1610]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x538900
mov dword [ebp - 0x14], 0x1400
push 0x30000000
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x1610]
push eax
mov ecx, eax
push ecx
call ebx
push 0x3f
lea edx, [ebp + 0x1610]
push edx
call fcn.005f9b50
add esp, 8
test eax, eax
je 0x538959
mov byte [eax], 0
lea eax, [ebp + 0x210]
push eax
lea ecx, [ebp + 0x1610]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00538680
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, esi
jmp 0x538993
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a10]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x2a14
mov esp, ebp
pop ebp
ret 4
Function at 0x5389c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2804]
mov eax, 0x2804
call fcn.005f9ca0
push 0xffffffffffffffff
push 0x636190
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x2800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x280c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x538a15
sub eax, edx
mov edi, 0x1400
cmp eax, edi
jae 0x538b71
push edi
push 0
lea eax, [ebp + 0x1400]
push eax
call fcn.005f8cb0
add esp, 0xc
mov ecx, esi
lea edx, [ebp + 0x1400]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x538a45
push 0x25
lea ecx, [ebp + 0x1400]
push ecx
call fcn.005f9b50
add esp, 8
test eax, eax
je 0x538aea
lea edx, [ebp + 0x1400]
push edx
call fcn.00538610
mov bl, al
push str.Shlwapi.dll
call fcn.00445b00
add esp, 8
mov esi, eax
test esi, esi
je 0x538ab4
push str.UrlUnescapeA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x538aab
push 0x2100000
push 0
push 0
lea ecx, [ebp + 0x1400]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x538ad0
mov dword [ebp - 0x1c], edi
push 0x30000000
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x1400]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test bl, bl
je 0x538aea
mov edx, dword [ebp + 0x2810]
push edx
lea eax, [ebp + 0x1400]
push eax
call fcn.0059be30
add esp, 8
push 0x3f
lea ecx, [ebp + 0x1400]
push ecx
call fcn.005f9b50
add esp, 8
test eax, eax
jne 0x538b71
cmp dword [0x70f604], eax
jne 0x538b2a
push eax
push 0x70f604
push eax
push 0xf003f
push eax
push eax
push eax
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x538b71
mov dword [ebp - 0x18], edi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp]
push eax
push 0
push 0
push str.Extensions
mov ecx, dword [0x70f604]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x538b71
lea edx, [ebp]
push edx
lea eax, [ebp + 0x1400]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00538680
jmp 0x538b73
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2800]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x2804
mov esp, ebp
pop ebp
ret 8
Function at 0x53a8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x636476
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi], vtable.CUrlHistory.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 4], 2
cmp dword [edi + 0x20], 0
je 0x53a944
mov eax, dword [edi + 0x20]
jmp 0x53a947
lea eax, [edi + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53a950
sub eax, edx
sar eax, 1
jne 0x53a972
lea ecx, [edi + 4]
call fcn.005dd361
mov byte [ebp - 4], 1
jmp 0x53aa59
cmp dword [edi + 0x20], 0
je 0x53a97d
mov eax, dword [edi + 0x20]
jmp 0x53a980
lea eax, [edi + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x53a969
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1c], 0
je 0x53a9f6
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [edi + 4]
call fcn.00406d10
push eax
lea ecx, [ebp - 0x14]
call fcn.00405800
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x654ea8
push esi
call ebx
jmp 0x53a9b8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
mov dword [ebp - 4], 1
jmp 0x53aa45
cmp esi, 0xffffffff
je 0x53aa51
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 4]
call fcn.005dd361
mov byte [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.005dd3a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x53af70
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x636576
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi], vtable.CUrlHistory2.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 4], 2
cmp dword [edi + 0x20], 0
je 0x53afd4
mov eax, dword [edi + 0x20]
jmp 0x53afd7
lea eax, [edi + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53afe0
sub eax, edx
sar eax, 1
jne 0x53b002
lea ecx, [edi + 4]
call fcn.005dd361
mov byte [ebp - 4], 1
jmp 0x53b0e9
cmp dword [edi + 0x20], 0
je 0x53b00d
mov eax, dword [edi + 0x20]
jmp 0x53b010
lea eax, [edi + 0x24]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
je 0x53aff9
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x1c], 0
je 0x53b086
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [edi + 4]
call fcn.00406d10
push eax
lea ecx, [ebp - 0x14]
call fcn.00405800
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push 0x654ea8
push esi
call ebx
jmp 0x53b048
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
mov dword [ebp - 4], 1
jmp 0x53b0d5
cmp esi, 0xffffffff
je 0x53b0e1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 4]
call fcn.005dd361
mov byte [ebp - 4], 0
lea ecx, [edi + 0x20]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.005dd3a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x53b150
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x6365d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi], vtable.CUrlHistory2.0
push 0xa
lea ecx, [edi + 4]
call fcn.005dd2b2
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x20]
mov dword [esi], ebx
mov dword [esi + 8], ebx
xor eax, eax
mov word [esi + 4], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0xffffffff
mov byte [ebp - 4], 2
mov eax, dword [0x70f64c]
cmp eax, ebx
jne 0x53b1d1
mov eax, 0x70f650
push ebx
push str.UrlHistory2.txt
push eax
push 0x64ed70
mov ecx, esi
call fcn.00402300
push 0x64f8bc
lea ecx, [ebp - 0x14]
call fcn.004030e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004024e0
mov byte [ebp - 4], 4
cmp dword [esi], ebx
je 0x53b209
mov esi, dword [esi]
jmp 0x53b20c
add esi, 4
push ebx
push ebx
push 4
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
jne 0x53b250
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
mov byte [ebp - 4], 1
mov dword [ebp - 4], esi
jmp 0x53b36c
push 0x400
push ebx
lea ecx, [ebp]
push ecx
call fcn.005f8cb0
add esp, 0xc
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x3ff
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x53b2f7
cmp dword [ebp - 0x20], ebx
jbe 0x53b2f7
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004030a0
lea esp, [esp]
push ebx
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004aacd0
mov esi, eax
cmp esi, 0xffffffff
jle 0x53b2ef
lea ecx, [ebp - 0x14]
cmp esi, ebx
jne 0x53b2b3
push 1
push ebx
call fcn.004f7ed0
jmp 0x53b290
push esi
lea edx, [ebp - 0x28]
push edx
call fcn.004eecd0
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.00405800
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402550
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [edi + 4]
call fcn.005dd5d8
inc esi
push esi
push ebx
lea ecx, [ebp - 0x14]
call fcn.004f7ed0
jmp 0x53b290
mov esi, dword [ebp - 0x1c]
jmp 0x53b250
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
mov dword [ebp - 4], 1
jmp 0x53b35b
or ebx, 0xffffffff
cmp esi, ebx
je 0x53b369
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x404
mov esp, ebp
pop ebp
ret
Function at 0x53b5e0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x631a28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x70f604]
push str.WBProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x53b708
lea eax, [esp + 0x1c]
push eax
call fcn.005fec26
mov eax, dword [ebp + 8]
add esp, 4
xor edi, edi
test eax, eax
jle 0x53b6fd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
jl 0x53b71c
cmp edi, eax
jge 0x53b71c
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + edi*4]
mov edx, dword [esp + 0x1c]
sub edx, dword [esi + 4]
lea eax, [ecx + edi*4]
cmp edx, 0x278d00
jge 0x53b6f1
lea ecx, [esp + 0x14]
call fcn.004024e0
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 4]
cdq
push edx
push eax
lea eax, [esp + 0x1c]
push str._I64d
push eax
call fcn.00402f60
mov esi, dword [esi]
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53b6c4
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push 0
push ecx
push edx
call ebx
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x53b66c
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.005cfbb9
int3
Function at 0x53b850
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636680
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x64f8bc
push ebx
push str.SoftwareDownloadManagerWBProxy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x53b94e
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x53b93d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push eax
call fcn.005cfaa6
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.005cfaa6
add esp, 8
mov edi, eax
cmp esi, ebx
je 0x53b93d
cmp edi, ebx
je 0x53b93d
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
push edx
push edi
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push esi
push ebx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x53b960
push esi
call fcn.005cfa9b
push edi
call fcn.005cfa9b
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x53b9b6
push esi
call fcn.005f9dac
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x53b980
lea eax, [ebp - 0x20]
push eax
call fcn.005fec26
add esp, 4
push 8
call fcn.005cfa6c
add esp, 4
test eax, eax
je 0x53b997
mov ecx, eax
call fcn.0053b4c0
jmp 0x53b999
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
push edi
call fcn.00402fc0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.005079f0
inc ebx
jmp 0x53b8fd