joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b544
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
add ecx, 0x26e4
call fcn.0047546c
mov esi, dword [eax]
push 0xa
lea edx, [esi + 0x8044]
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, 0x8000
push edi
push eax
lea ebx, [esi + 0x40]
push ebx
mov dword [edx], 0x28
call fcn.004561f0
mov ecx, dword [esi + 0x8040]
mov dword [esi + 0x8058], ebx
add esp, 0xc
lea ebx, [esi + 0x805c]
mov dword [ebx], edi
test ecx, ecx
je 0x44b5b2
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x18]
sub eax, dword [ecx + 8]
inc eax
cmp eax, edi
jle 0x44b5ae
mov eax, edi
mov dword [ebx], eax
jmp 0x44b5d6
mov ecx, dword [ebp - 4]
lea eax, [ecx + 0x5d120]
cmp dword [eax], 0xffffffff
jne 0x44b5c6
cmp dword [eax + 4], 0xffffffff
je 0x44b5d6
mov eax, dword [eax]
sub eax, dword [ecx + 0x5d130]
cmp eax, edi
jg 0x44b5d4
mov edi, eax
mov dword [ebx], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x20]
xor edi, edi
inc edi
mov dword [esi + 0x28], 9
cmp dword [eax + 4], edi
je 0x44b635
push esi
push edi
lea eax, [esi + 0x8044]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x44b614
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
jmp 0x44b62e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x44b610
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0044acaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
push dword [ebx]
push dword [esi + 0x8058]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x44b603
Function at 0x44c18d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x214], ebx
call fcn.004561f0
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push ebx
push 0xffffffffffffff96
push dword [edi + 8]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x44c379
mov edx, 0x4dff88
lea eax, [ebp - 0x20c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x44c24b
cmp cx, bx
je 0x44c247
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x44c24b
add eax, 4
add edx, 4
cmp cx, bx
jne 0x44c225
xor eax, eax
jmp 0x44c250
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44c379
push 1
push ebx
push 0xffffffffffffff92
push dword [edi + 8]
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x224]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
push 1
add eax, ecx
push ebx
neg eax
push eax
push dword [edi + 8]
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x218], ebx
cmp dword [ebp - 0x214], ebx
jbe 0x44c343
lea esi, [edi + 0x5cfe0]
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x20
lea eax, [esi - 8]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x10]
add dword [esi], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
adc dword [esi + 4], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esi - 8], ebx
sbb ecx, dword [esi + 4]
add eax, 1
adc ecx, ebx
add dword [ebp - 0x220], eax
lea eax, [esi - 8]
mov dword [ebp - 0x228], eax
adc dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [edi + 0x26fc]
mov dword [esi - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0044c0e0
inc dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
add esi, 0x20
cmp eax, dword [ebp - 0x214]
jb 0x44c2c7
mov ecx, dword [edi + 0x5d120]
sub ecx, dword [ebp - 0x220]
mov edx, dword [edi + 0x5d124]
sbb edx, dword [ebp - 0x21c]
lea eax, [edi + 0x5d138]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, edx
mov dword [edi + 0x5d134], eax
xor eax, eax
mov dword [edi + 0x5d130], ecx
inc eax
jmp 0x44c37b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x44cc5e
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x44cc81
xor eax, eax
inc eax
jmp 0x44cdec
push ebx
lea ebx, [esi + 0x5d140]
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
push edi
mov word [ebp - 6], ax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44cde9
mov ecx, dword [esi + 0x5d120]
mov eax, dword [esi + 0x5d124]
cmp ecx, 0xffffffff
jne 0x44ccdd
cmp eax, ecx
je 0x44ccfc
mov edx, dword [ebp - 0x10]
cmp edx, eax
ja 0x44ccfc
jb 0x44cced
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x44ccfc
mov dword [esi + 0x2470], 2
jmp 0x44cde9
push edi
push 0x20
push 4
push edi
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x44cdd3
cmp dword [esi + 0x2714], edi
je 0x44cdce
lea ebx, [esi + 0x26fc]
mov ecx, ebx
call fcn.0044ab48
mov ecx, esi
call fcn.0044c18d
test eax, eax
jne 0x44cdce
lea eax, [esi + 0x2468]
cmp dword [eax], edi
ja 0x44cd54
mov dword [eax], 5
push 0xa
pop ecx
cmp dword [eax], ecx
jbe 0x44cd5d
mov dword [eax], ecx
mov eax, dword [esi + 0x5d120]
mov ecx, dword [esi + 0x5d124]
add eax, 0xffffffff
mov dword [esi + 0x5cfe8], eax
lea eax, [esi + 0x5cfd8]
adc ecx, 0xffffffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [esi + 0x5cfec], ecx
push eax
mov ecx, ebx
mov dword [esi + 0x5cfe0], edi
mov dword [esi + 0x5cfe4], edi
call fcn.0044c0e0
mov eax, dword [esi + 0x5d120]
mov edx, dword [esi + 0x5d124]
mov cl, 0x20
call fcn.004589e0
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x5d120]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
inc eax
jmp 0x44cdeb
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045633d
leave
ret
Function at 0x44cdfa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x805c]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
push esi
push edi
mov edi, ecx
jne 0x44ce1e
mov eax, dword [ebx]
mov dword [ebp + 8], eax
xor esi, esi
cmp dword [edi + 0x2714], esi
je 0x44cebf
call fcn.00448faa
mov esi, dword [ebx + 0x8040]
mov ecx, dword [esi + 8]
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
adc eax, dword [esi + 0x1c]
push 0
mov edx, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push dword [edi + 8]
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44ce6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44cef9
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44cef9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x44cef9
add dword [esi + 0x18], eax
lea eax, [edi + 0x5d130]
adc dword [esi + 0x1c], 0
mov ecx, dword [ebp - 4]
add dword [eax], ecx
push ecx
push ebx
adc dword [eax + 4], 0
mov ecx, edi
call fcn.0044c38a
mov ecx, edi
call fcn.00449fe4
xor eax, eax
inc eax
jmp 0x44cefb
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44cef9
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x44cef9
lea eax, [edi + 0x5d130]
add dword [eax], ecx
push ecx
push ebx
adc dword [eax + 4], esi
mov ecx, edi
call fcn.0044c38a
jmp 0x44ceba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44cf02
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea ecx, [edi + 0x26e4]
call fcn.0047546c
mov esi, dword [eax]
mov eax, dword [esi + 0x20]
xor ebx, ebx
inc ebx
mov dword [esi + 0x28], 2
cmp dword [eax + 4], ebx
je 0x44cf7b
cmp dword [edi + 0x2480], 0
je 0x44cf68
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x44cf6c
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, ebx
jmp 0x44cfa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44cf9f
jmp 0x44cf68
cmp dword [esi], 0
jne 0x44cf8c
mov eax, dword [esi + 4]
test eax, eax
je 0x44cf8c
mov dword [esi + 0x18], eax
jmp 0x44cf68
and dword [esi + 0x28], 0
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.0044cb89
test eax, eax
jne 0x44cf68
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44d745
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea ecx, [edi + 0x26e4]
call fcn.0047546c
mov esi, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x44d7bc
cmp dword [edi + 0x2480], 0
je 0x44d7ee
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x44d7aa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x44d7ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x3e5
neg eax
sbb eax, eax
inc eax
jmp 0x44d7f1
cmp dword [esi], 0
jne 0x44d7cd
mov eax, dword [esi + 4]
test eax, eax
je 0x44d7cd
mov dword [esi + 0x18], eax
jmp 0x44d7ee
push 1
push dword [ebp + 8]
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0044cb89
test eax, eax
jne 0x44d7ee
push dword [ebp + 8]
mov ecx, edi
call fcn.0044acaa
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x44dfca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x44dfe0
xor eax, eax
jmp 0x44e06a
push edi
mov edi, 0x4e023c
lea eax, [esi + 0x5d550]
push edi
push eax
call fcn.004565f4
pop ecx
pop ecx
cmp eax, ebx
je 0x44e021
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
mov di, word [ecx]
inc ecx
inc ecx
cmp di, bx
jne 0x44e003
sub ecx, edx
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
call fcn.0045861c
pop ecx
mov dword [esi + 0x2694], eax
mov ecx, esi
call fcn.0044a2a8
pop edi
test eax, eax
je 0x44dfd9
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
cmp eax, ebx
je 0x44e067
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x44df0e
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x5d118], 8
call fcn.00458c2c
add esp, 0x18
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret

Function at 0x44e28d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 0
pop edi
jne 0x44e2ba
mov dword [ebp - 0x24], 0x1000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea ecx, [eax + ecx - 1]
jmp 0x44e2cb
mov dl, byte [eax]
add eax, dword [ebp - 0x24]
cmp eax, ecx
jb 0x44e2c6
mov al, byte [ecx]
leave
ret
Function at 0x44e678
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.004174f0
cmp eax, 1
jle 0x44e760
push ebx
push 0x8000000
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 4]
call fcn.00413700
push dword [ebp - 4]
call fcn.00412d20
pop ecx
test al, al
jne 0x44e6d2
lea ecx, [ebp - 4]
call fcn.00413900
xor al, al
jmp 0x44e7cd
mov ecx, dword [ebp + 0x10]
mov eax, 0x100000
mov dword [ebp - 0x14], eax
cmp ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x14]
jb 0x44e6ea
lea eax, [ebp - 8]
mov edi, dword [eax]
push 4
push 0x1000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x44e6c3
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 8], ebx
push eax
jmp 0x44e73e
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jbe 0x44e747
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x44e72b
cmp dword [ebp - 8], eax
sbb eax, eax
neg eax
jmp 0x44e72e
xor eax, eax
inc eax
cmp eax, ebx
je 0x44e747
add dword [ebp - 8], ecx
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x44e714
push 0x8000
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 4]
call fcn.00413900
jmp 0x44e7cb
push 9
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x44e6cb
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x4cd1e4
mov dword [ebp - 0xc], esi
call fcn.00424440
test al, al
jne 0x44e791
call fcn.00417150
lea ecx, [ebp - 0x10]
call fcn.004241b0
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x44e7ab
mov dword [ebp - 8], ecx
jmp 0x44e7af
or dword [ebp - 8], 0xffffffff
cmp eax, dword [ebp - 8]
lea eax, [ebp - 0x14]
jb 0x44e7ba
lea eax, [ebp - 8]
push dword [eax]
push esi
call fcn.0044e28d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44e81d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
add ecx, ecx
cmp dword [eax + 0x18], 8
jb 0x44e833
mov eax, dword [eax + 4]
jmp 0x44e836
add eax, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 8
jb 0x44e844
mov edx, dword [edx + 4]
jmp 0x44e847
add edx, 4
push ecx
push eax
push 1
push 0
push edx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x44f1fe
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x424], eax
cmp eax, edi
je 0x44f40f
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x44f22a
sub eax, edx
sar eax, 1
je 0x44f40f
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004561f0
xor eax, eax
push esi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push edi
inc ebx
push eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x428], 0x208
call fcn.004561f0
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e0750
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x44f305
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x56d3c4
push 0x4e0490
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x44f305
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x44f30e
sub eax, edx
sar eax, 1
je 0x44f347
push 0xa
push edi
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push eax
push 0x4e0744
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, ebx
jmp 0x44f411
lea eax, [ebp - 0x41c]
push eax
push 0x4e59e0
push 0x15
push edi
push 0x4e59f0
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44f40f
mov eax, dword [ebp - 0x41c]
cmp eax, edi
je 0x44f340
lea edx, [ebp - 0x418]
push edx
mov dword [ebp - 0x418], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x418], edi
je 0x44f3b0
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x424]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov esi, eax
xor eax, eax
mov word [ebp - 0x438], ax
pop eax
lea edx, [ebp - 0x438]
push edx
push edx
push edx
push edx
mov word [ebp - 0x448], ax
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x448]
push edx
mov dword [ebp - 0x440], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x44f340
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret
Function at 0x44f420
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004561f0
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x208
call fcn.004561f0
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4e0750
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x44f4ff
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x56d3c4
push 0x4e0490
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x44f4ff
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x44f508
sub eax, edx
sar eax, 1
je 0x44f51d
xor eax, eax
inc eax
jmp 0x44f555
lea eax, [ebp - 0x418]
push eax
push 0x4e59e0
push 0x15
push edi
push 0x4e59f0
mov dword [ebp - 0x418], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44f553
mov eax, dword [ebp - 0x418]
cmp eax, edi
je 0x44f553
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44f518
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045633d
leave
ret
Function at 0x45633d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x573510]
jne 0x456347
repz ret
jmp fcn.00460115

Function at 0x46fdf7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045ecf7
and dword [ebp - 4], 0
cmp dword [0x5ddbfc], 0
mov ebx, eax
jne 0x46fea8
push 0x4e507c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ff59
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e5070
push edi
call esi
test eax, eax
je 0x46ff59
push eax
call fcn.0045ec85
mov dword [esp], 0x4e5060
push edi
mov dword [0x5ddbfc], eax
call esi
push eax
call fcn.0045ec85
mov dword [esp], 0x4e504c
push edi
mov dword [0x5ddc00], eax
call esi
push eax
call fcn.0045ec85
mov dword [esp], 0x4e5030
push edi
mov dword [0x5ddc04], eax
call esi
push eax
call fcn.0045ec85
pop ecx
mov dword [0x5ddc0c], eax
test eax, eax
je 0x46fea8
push 0x4e5018
push edi
call esi
push eax
call fcn.0045ec85
pop ecx
mov dword [0x5ddc08], eax
mov eax, dword [0x5ddc08]
cmp eax, ebx
je 0x46ff00
cmp dword [0x5ddc0c], ebx
je 0x46ff00
push eax
call fcn.0045ed00
push dword [0x5ddc0c]
mov esi, eax
call fcn.0045ed00
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46ff00
test edi, edi
je 0x46ff00
call esi
test eax, eax
je 0x46fef7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46fef7
test byte [ebp - 0xc], 1
jne 0x46ff00
or dword [ebp + 0x10], 0x200000
jmp 0x46ff39
mov eax, dword [0x5ddc00]
cmp eax, ebx
je 0x46ff39
push eax
call fcn.0045ed00
pop ecx
test eax, eax
je 0x46ff39
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46ff39
mov eax, dword [0x5ddc04]
cmp eax, ebx
je 0x46ff39
push eax
call fcn.0045ed00
pop ecx
test eax, eax
je 0x46ff39
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ddbfc]
call fcn.0045ed00
pop ecx
test eax, eax
je 0x46ff59
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46ff5b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret