joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4147d0
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x4147d8
mov eax, dword [eax]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414803
test esi, esi
je 0x4147fe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor al, al
pop esi
pop ebp
ret
Function at 0x419a50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a4a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00410ba0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x419a8e
test ecx, ecx
je 0x419b01
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x419b01
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419afb
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.0046cd50
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 1
push 1
cmovne esi, eax
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00443050
push esi
call fcn.00419a10
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.0046d1c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x419b03
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x419b33
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419b29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b44
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3
Function at 0x41a630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a4dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00410ba0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41a672
test ecx, ecx
je 0x41a830
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x41a830
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a82a
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00429160
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00419930
add esp, 0x14
test al, al
je 0x41a7b4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41a715
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x41a715
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040ce30
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41a730
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x41a730
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040ce30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41a764
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a75a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a873
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41a7aa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a7a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a873
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x41a832
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41a7e8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a7de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a873
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41a82a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a820
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a873
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x41a862
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a858
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a878
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
call fcn.0045399f
int3
Function at 0x41b9c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 1
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0043e4a0
add esp, 0x10
push 1
push 1
push 1
push esi
call fcn.004142d0
cmp eax, 1
jne 0x41ba16
mov eax, dword [0x4b6b98]
test eax, eax
je 0x41ba0f
push 0x814
push eax
call fcn.0041c0cf
add esp, 8
xor esi, esi
jmp 0x41bbaa
push ebx
push edi
call fcn.0041b930
mov ebx, dword [ebp + 8]
mov dword [eax + 4], ebx
call fcn.0041b930
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, eax
push 0x200
lea ecx, [edi + 0x14]
push ecx
push 0x67
push dword [edi + 4]
call esi
push 0x200
lea eax, [edi + 0x414]
push eax
push 0x68
push dword [edi + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0x30
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x5c], 0x41b8f0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], ebx
call esi
push 0x7f00
push 0
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 6
call fcn.0041b930
push 0x6c
push dword [ebp - 0x50]
add eax, 0x414
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
call fcn.0041b930
add eax, 0x14
push eax
call fcn.0041b930
add eax, 0x414
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x41bb25
call fcn.0041b930
push 2
push esi
mov dword [eax + 0x10], esi
call fcn.00439af0
add esp, 8
push 2
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0041b930
mov ecx, eax
call fcn.00411d40
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x34]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0
push eax
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
call esi
test eax, eax
je 0x41bb82
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x34]
push eax
call edi
lea eax, [ebp - 0x34]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x41bb66
call fcn.0041b930
mov ecx, eax
call fcn.00411d70
mov eax, dword [0x4b6b98]
pop edi
pop ebx
test eax, eax
je 0x41bba7
push 0x814
push eax
call fcn.0041c0cf
add esp, 8
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [0x4b6b98], 0
cmp edx, 8
jb 0x41bbea
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bbe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bbf3
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0045399f
int3
Function at 0x41f980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0041fa10
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x41f9b2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x41fa06
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x41f9cb
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
add edx, dword [ebp - 0xc]
and edx, 0x800000ff
jns 0x41f9e5
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x41f9a9
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4249d0
Capabilities:
Check if file exists
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x424a01
cmp dword [ebp + 0xc], 0
je 0x424a01
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x424a01
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424a08
xor eax, eax
jmp 0x424af2
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x424a31
xor eax, eax
jmp 0x424af2
lea edx, [ebp - 8]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x424aef
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00450f70
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x34], 1
mov dx, word [ebp + 0x18]
mov word [ebp - 0x30], dx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x424aef
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x424acf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x424adf
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x424aef
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x424be0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00450f70
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov dx, word [ebp + 0x10]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x50], str.WinSta0default
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x424c5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x424c92
cmp dword [ebp - 0x10], 0
je 0x424c6d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x424c8d
cmp dword [ebp + 0x14], 0
je 0x424c83
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x424c8d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x426560
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x424990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4265c5
push 0xea60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4265b4
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4265c7
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x428150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0045c9d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ccc0
push 0xb
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00450f70
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x432150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b78d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0041e3d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00431490
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x4321a8
mov dword [ebp - 0x20], 1
jmp 0x4321af
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4321cb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x432293
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x4321ff
mov dword [ebp - 0x28], 1
jmp 0x432206
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x432222
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x432293
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x432256
mov dword [ebp - 0x30], 1
jmp 0x43225d
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x432279
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4322b6
lea edx, [ebp - 0x78]
push edx
call fcn.00431f50
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004230c0
mov eax, dword [ebp - 0x5c]
jmp 0x4322cf
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004230c0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4372f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a7ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.0041c110
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041e3d0
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.00450f70
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x437382
lea eax, [ebp - 0x1030]
push eax
call fcn.0045c6f6
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401490
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e370
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004230c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4376e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00450f70
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x808]
test ecx, ecx
je 0x43774d
push 0x49acb8
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x43774d
push 0x49acc0
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.0045c6f6
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x437780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00450f70
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x808]
push edx
call fcn.0045c6f6
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x437ed0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea ecx, [ebp - 0x6c]
call fcn.0041e3d0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x437f0a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x437f65
lea edx, [ebp - 0x6c]
push edx
push 0
call fcn.00436ef0
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x437f36
mov dword [ebp - 0x24], 1
jmp 0x437f3d
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x437f59
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4380b2
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00459c9c
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x437fb9
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230c0
mov eax, dword [ebp - 0x34]
jmp 0x4380cb
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4380a6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x49adc8
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4380a6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x84]
push ecx
call fcn.004211c0
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415df0
lea ecx, [ebp - 0x84]
call fcn.00422fd0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00459ae5
add esp, 4
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230c0
mov eax, dword [ebp - 0x50]
jmp 0x4380cb
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00459ae5
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004230c0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x438340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x438353
xor eax, eax
jmp 0x438426
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ffff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x438419
cmp dword [ebp - 4], 0
je 0x438410
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00438430
mov ecx, dword [ebp + 0x14]
call fcn.00422cc0
mov dword [ebp - 0x14], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x1ffff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x438404
cmp dword [ebp + 0x18], 0
je 0x4383ed
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x4383fb
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
jmp 0x43840e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x438417
mov dword [ebp - 0xc], 1
jmp 0x438423
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret