joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652d20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004024f0
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push str.lt_p_proxy_ld.pac
push ecx
call fcn.00402f60
mov eax, dword [esp + 0x18]
add esp, 0xc
push ebx
xor edx, edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], dx
call fcn.00401970
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x4cd879
lea ecx, [esp + 0x14]
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x4cd887
mov eax, 0x75dc3c
push ebx
push ecx
push eax
push 0x678de0
lea ecx, [esi + 0x2c]
call fcn.00402310
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x10]
call fcn.00401210
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00620b8d
add esp, 0x20
ret 4

Function at 0x4cd930
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643168
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.004024f0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push str.SoftwareDownloadManagerProxyPac_s
push ecx
call fcn.00402f60
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
test edx, edx
je 0x4cda0a
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cd9d0
sub eax, edi
inc eax
push eax
push esi
push 0
push 0
push 0x68cbf4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push ebp
push str.EncPassword
push edx
call fcn.005ba800
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004cd390
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc
Function at 0x4cda40
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x652d58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [0x75e648], 0
mov ebx, ecx
je 0x4cdab3
mov esi, dword [0x75e664]
mov eax, esi
test esi, esi
jne 0x4cda8c
mov eax, 0x75e668
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cda90
sub eax, edx
sar eax, 1
je 0x4cdab3
mov eax, esi
test esi, esi
jne 0x4cdaac
mov eax, 0x75e668
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x30]
push eax
mov ecx, 0x75e638
call fcn.004cd7f0
mov eax, dword [ebx + 4]
xor ecx, ecx
push ecx
mov word [esp + 0x18], cx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call fcn.00401970
mov dword [esp + 0x28], 0
mov eax, dword [0x75e664]
mov ecx, eax
test eax, eax
jne 0x4cdaff
mov ecx, 0x75e668
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4cdb0b
lea eax, [esp + 0x14]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebx + 8]
push edx
push 0x678ea8
push 0x75e640
call fcn.00402f60
add esp, 0xc
mov dword [0x75e648], 1
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00620b8d
add esp, 0x20
ret 4
Function at 0x4cf5a0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x652ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x294]
mov eax, ebp
lea edx, [eax + 2]
xor ebx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cf5f0
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 2], 0x5c
jne 0x4cf73a
xor eax, eax
mov esi, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], ax
mov dword [esp + 0x28c], ebx
push ebx
push ebp
push str._sf
lea ecx, [esp + 0x30]
call fcn.004021a0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4cf642
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4cf726
jmp 0x4cf660
cmp esi, ebx
je 0x4cf71b
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4cf670
sub eax, edx
sar eax, 1
mov edi, eax
xor esi, esi
cmp edi, ebx
jle 0x4cf6b5
jmp 0x4cf690
movzx eax, word [esp + esi*2 + 0x5c]
cmp ax, 0x2e
je 0x4cf6b5
push eax
call fcn.00625be4
add esp, 4
test eax, eax
jne 0x4cf6b0
cmp word [esp + esi*2 + 0x5c], 0x66
jne 0x4cf704
inc esi
cmp esi, edi
jl 0x4cf690
xor edx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], dx
mov byte [esp + 0x28c], 1
push ebx
lea eax, [esp + 0x60]
push eax
push ebp
push 0x678de0
lea ecx, [esp + 0x28]
call fcn.00402310
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4cf6ed
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x28c], bl
lea ecx, [esp + 0x18]
call fcn.00401210
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x4cf660
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x28c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401210
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.00620b8d
add esp, 0x27c
ret
Function at 0x4d0410
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x653016
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
cmp byte [esi + 0x26], 0
je 0x4d0457
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4d0450
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x10]
call fcn.00401210
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00402560
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4d0c30
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0xcc
push 0xffffffffffffffff
push 0x653158
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
cmp edi, dword [ebx + 0xb0]
jge 0x4d0cf3
lea ecx, [ebp]
call fcn.004612c0
mov byte [ebp - 4], 1
push 0
lea eax, [ebp]
push eax
push edi
lea ecx, [ebx + 8]
call fcn.005ea4c0
test al, al
je 0x4d0ce4
cmp byte [ebp + 0x48], 0
je 0x4d0ce4
mov esi, dword [ebp + 0x98]
test esi, esi
mov eax, esi
jne 0x4d0cb5
lea eax, [ebp + 0x9c]
lea edx, [eax + 2]
jmp 0x4d0cc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d0cc0
sub eax, edx
sar eax, 1
je 0x4d0ce4
test esi, esi
mov eax, esi
jne 0x4d0cdd
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00461410
inc edi
jmp 0x4d0c73
cmp dword [ebx + 0x42c], 0
je 0x4d0d04
mov eax, dword [ebx + 0x42c]
jmp 0x4d0d0a
lea eax, [ebx + 0x430]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d0d10
sub eax, edx
sar eax, 1
je 0x4d0d41
cmp dword [ebx + 0x42c], 0
je 0x4d0d32
mov eax, dword [ebx + 0x42c]
jmp 0x4d0d38
lea eax, [ebx + 0x430]
push eax
call fcn.00625878
add esp, 4
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 + 0xc8]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0xcc
mov esp, ebp
pop ebp
ret
Function at 0x4d1f60
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653310
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x758898]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
xor ecx, ecx
mov word [ebp - 0x38], cx
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, esi
jne 0x4d1fb7
mov eax, 0x75dc3c
push esi
push eax
push str._sempty.html
lea ecx, [ebp - 0x3c]
call fcn.004021a0
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d1fd0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d207c
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d1fea
lea eax, [ebp - 0x38]
push 0x68ab04
push eax
call fcn.0062385d
add esp, 8
mov ebx, eax
cmp ebx, esi
je 0x4d2036
mov ecx, 7
mov esi, str._HTML__BODY____BODY___HTML_
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d2013
sub eax, edx
push ebx
push eax
push 1
lea edx, [ebp - 0x30]
push edx
call fcn.00623715
push ebx
call fcn.00623537
add esp, 0x14
xor esi, esi
jmp 0x4d207c
lea ecx, [ebp - 0x40]
call fcn.004024f0
mov byte [ebp - 4], 2
call fcn.006263a4
mov eax, dword [eax]
push eax
push str.Gr_CreateEHTML:fopen_failed__errno_ld_n
lea ecx, [ebp - 0x40]
push ecx
call fcn.00402f60
add esp, 0xc
mov ecx, dword [0x75e22c]
cmp ecx, esi
je 0x4d2070
push 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004c1d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00402560
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d2086
lea eax, [ebp - 0x38]
push esi
push eax
push 0x678ea8
mov ecx, dword [ebp - 0x44]
call fcn.004021a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401210
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.00620b8d
mov esp, ebp
pop ebp
ret
Function at 0x4d4690
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64be08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4d4746
lea ecx, [esp + 0xc]
call fcn.004024f0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x10]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push edx
call fcn.00402f60
mov ecx, dword [0x75e22c]
add esp, 0xc
test ecx, ecx
je 0x4d4724
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004c1d70
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push str.maxProjectID
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d4782
mov eax, dword [esi + 0x4c0]
cmp eax, dword [esp + 8]
jle 0x4d478c
mov dword [esp + 8], eax
jmp 0x4d478c
mov ecx, dword [esi + 0x4c0]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.maxProjectID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x4d6800
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653803
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x758898]
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 esi, ecx
mov dword [ebp - 0xec], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 0xf4], edi
cmp edi, dword [esi + 0xb0]
jge 0x4d6996
lea ecx, [ebp - 0xe8]
call fcn.004612c0
mov byte [ebp - 4], 1
push ebx
lea eax, [ebp - 0xe8]
push eax
push edi
lea ecx, [esi + 8]
call fcn.005ea4c0
test al, al
jne 0x4d6887
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xe8]
call fcn.00461410
inc edi
jmp 0x4d6840
mov esi, dword [ebp - 0x50]
cmp esi, ebx
mov eax, esi
jne 0x4d6893
lea eax, [ebp - 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d6896
sub eax, edx
sar eax, 1
je 0x4d68b7
cmp esi, ebx
mov eax, esi
jne 0x4d68b0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x74]
cmp eax, ebx
jne 0x4d68c1
lea eax, [ebp - 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d68c4
sub eax, edx
sar eax, 1
je 0x4d6969
cmp dword [ebp - 0xd0], ebx
jne 0x4d6969
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, ebx
jne 0x4d68ff
lea eax, [ebp - 0x70]
push ebx
push eax
push 0x678ea8
lea ecx, [ebp - 0x20]
call fcn.004021a0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4d6918
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4d6929
lea eax, [ebp - 0x1c]
push 0x5c
push eax
call fcn.006206a1
add esp, 8
cmp eax, ebx
je 0x4d695d
xor edx, edx
mov word [eax], dx
push 0x68d578
call fcn.00623933
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4d6954
lea eax, [ebp - 0x1c]
push eax
call fcn.00625878
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
lea eax, [ebp - 0xe8]
push eax
push edi
mov ecx, dword [ebp - 0xec]
call fcn.004d6580
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xe8]
call fcn.00461410
mov esi, dword [ebp - 0xec]
inc edi
jmp 0x4d6840
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.00620b8d
mov esp, ebp
pop ebp
ret
Function at 0x4d69e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x653850
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
mov edi, ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov word [esp + 0x20], cx
mov dword [esp + 0x40], esi
push esi
push eax
push str._s_fda.pdb
lea ecx, [esp + 0x28]
call fcn.004021a0
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4d6a49
lea eax, [esp + 0x20]
push 0x68559c
push eax
call fcn.0062385d
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x4d6afb
call fcn.006263a4
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov word [esp + 0x2c], dx
mov byte [esp + 0x40], 1
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push 0x400
push eax
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4d6aa1
lea eax, [esp + 0x20]
mov edx, dword [0x75dd28]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [0x75f190]
push ecx
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00402310
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0x4d6ad5
lea eax, [esp + 0x2c]
mov ecx, dword [0x75f1b0]
push 0x30
push ecx
push eax
push esi
call fcn.00473810
add esp, 0x10
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x28]
call fcn.00401210
jmp 0x4d6bad
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0x40], 2
cmp dword [edi + 0x3f8], esi
jle 0x4d6b7f
mov edx, dword [edi + 0x400]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 8]
xor edx, edx
cmp byte [eax + 0xd], dl
push ecx
setne dl
xor ecx, ecx
cmp byte [eax + 0xc], cl
setne cl
push edx
xor edx, edx
cmp byte [eax + 0x10], dl
setne dl
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push esi
lea eax, [esp + 0x30]
push str._ld__ld__ld__d__d__d_p_s_n
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x38]
mov eax, ecx
add esp, 0x24
lea ebp, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4d6b60
push ebx
sub eax, ebp
push eax
push 1
push ecx
call fcn.00623715
inc esi
add esp, 0x10
cmp esi, dword [edi + 0x3f8]
jl 0x4d6b11
push ebx
call fcn.00623537
add esp, 4
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d6bad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00401210
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00620b8d
add esp, 0x30
ret 4
Function at 0x4d8b80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x653ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
mov dword [esi + 0x4c0], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4d8c42
lea ecx, [esp + 0xc]
call fcn.004024f0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x10]
push str.Gr_SetPID:RegCrKey_failed__err_ld_n
push edx
call fcn.00402f60
mov ecx, dword [0x75e22c]
add esp, 0xc
test ecx, ecx
je 0x4d8c1f
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004c1d70
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push str.maxProjectID
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x4d8c7b
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esi + 0x4c0], ecx
jmp 0x4d8ccb
cmp edi, 2
je 0x4d8ccb
lea ecx, [esp + 0xc]
call fcn.004024f0
mov dword [esp + 0x28], 1
push edi
lea edx, [esp + 0x10]
push str.Gr_SetPID:RegQVE_failed__err_ld_n
push edx
call fcn.00402f60
mov ecx, dword [0x75e22c]
add esp, 0xc
test ecx, ecx
je 0x4d8cba
mov eax, dword [esp + 0xc]
push 1
push eax
call fcn.004c1d70
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x753b3c]
cmp eax, dword [esi + 0x4c0]
jl 0x4d8cea
inc eax
mov dword [esi + 0x4c0], eax
mov edx, dword [esi + 0x4c0]
mov dword [0x753b3c], edx
mov eax, dword [esi + 0x4c0]
push eax
call fcn.004d5950
mov ecx, dword [0x75e25c]
add esp, 4
test ecx, ecx
je 0x4d8d1b
mov edx, dword [esi + 0x4c0]
push edx
call fcn.004c37c0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4e09c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x654480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x554], 0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
jne 0x4e0a93
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4e04f0
push 0
push 0
call ebp
mov dword [esi + 0x554], eax
test eax, eax
je 0x4e0a38
cmp dword [esi + 0x55c], 0
jne 0x4e0a93
push 1
push 0
call edi
cmp dword [esi + 0x55c], 0
je 0x4e0a27
jmp 0x4e0a93
lea ecx, [esp + 0x10]
call fcn.004024f0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push str.Gr_GetWW:CrTh_failed__err__ld_n
push ecx
call fcn.00402f60
mov ecx, dword [0x75e22c]
add esp, 0xc
test ecx, ecx
je 0x4e0a78
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.004c1d70
mov dword [esi + 0x55c], 0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402560
cmp dword [esi + 0x558], 0
jne 0x4e0b32
lea eax, [esp + 0x18]
push eax
push 0
push esi
push 0x4e0720
push 0
push 0
call ebp
mov dword [esi + 0x558], eax
test eax, eax
je 0x4e0ad7
cmp dword [esi + 0x560], 0
jne 0x4e0b32
push 1
push 0
call edi
cmp dword [esi + 0x560], 0
je 0x4e0ac6
jmp 0x4e0b32
lea ecx, [esp + 0x10]
call fcn.004024f0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push str.Gr_GetWW:CrTh2_failed__err__ld_n
push ecx
call fcn.00402f60
mov ecx, dword [0x75e22c]
add esp, 0xc
test ecx, ecx
je 0x4e0b17
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.004c1d70
mov dword [esi + 0x560], 0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402560
mov eax, dword [esi + 0x55c]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret