joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0af0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x7ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x80c]
push ecx
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x808]
push eax
push 0
push esi
push edi
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x80c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e0b9c
mov eax, dword [ebp - 0x80c]
test eax, eax
je 0x4e0b9c
mov edx, dword [ebp - 0x808]
push eax
lea ecx, [ebp - 0x804]
push ecx
push edx
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x4e0d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call fcn.004e0bb0
mov esi, eax
test esi, esi
jne 0x4e0da7
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea ecx, [ebp - 8]
push ecx
push 0
push str.proxytype
push esi
call ebx
lea edx, [ebp - 4]
push edx
push edi
test eax, eax
lea eax, [ebp - 8]
push eax
push 0
push str.defaultproxytype
push esi
jne 0x4e0df0
call ebx
test eax, eax
je 0x4e0e06
mov ecx, dword [edi]
push ecx
jmp 0x4e0dfe
call ebx
test eax, eax
je 0x4e0e06
mov dword [edi], 1
push 1
call fcn.004e0d40
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e0e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call fcn.004e0d90
add esp, 4
test eax, eax
je 0x4e0e65
push esi
call fcn.004e0bb0
mov esi, eax
test esi, esi
je 0x4e0e64
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.proxytype
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e2e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
jne 0x4e2e83
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
push edi
lea edx, [ebp + 8]
push edx
mov edx, dword [esi + 0xc]
or edx, 0x20019
push edx
xor edi, edi
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e2eca
mov esi, dword [esi + 8]
mov ecx, dword [ebp + 8]
push eax
push eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e2ec0
lea edi, [eax + 1]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e2f50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4e304d
test edi, edi
je 0x4e304d
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x100
jl 0x4e304d
xor eax, eax
push 0x3ffe
push eax
lea ecx, [ebp - 0x4002]
push ecx
mov word [ebp - 0x4004], ax
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x400c]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4e304d
cmp eax, 0x3fff
ja 0x4e304d
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4e304d
lea edx, [ebp - 0x4010]
push edx
lea eax, [ebp - 0x4008]
push eax
push 0x560120
lea ecx, [ebp - 0x4004]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4e304d
push ebx
push 0
push edi
call fcn.0051d250
mov eax, dword [ebp - 0x4008]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
dec ebx
push ebx
push edi
call fcn.00436fa0
add esp, 0x28
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x4e8340
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x206
xor edi, edi
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x56cd90
push 0x598518
lea edx, [ebp - 0x20c]
push edx
call esi
push 0x40e
lea ecx, [ebp - 0x61a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x61c], ax
call fcn.0051d250
add esp, 0xc
push 0x56cd8c
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x61c]
push eax
call esi
mov ecx, 0x5c
lea edx, [ebp - 0x61c]
mov word [ebp - 0x628], cx
push edx
lea ecx, [ebp - 0xa80]
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x620], edi
call fcn.004e2d50
test eax, eax
je 0x4e8557
mov eax, dword [ebp - 0x620]
lea ebx, [ebx]
cmp eax, edi
je 0x4e8491
mov eax, dword [ebp - 0xa80]
shr eax, 4
and eax, 1
je 0x4e8464
cmp word [ebp - 0xa54], 0x2e
jne 0x4e8464
mov cx, word [ebp - 0xa52]
cmp cx, di
je 0x4e843b
cmp cx, 0x2e
jne 0x4e8464
cmp word [ebp - 0xa50], di
jne 0x4e8464
mov eax, dword [ebp - 0x624]
cmp eax, edi
je 0x4e855d
lea ecx, [ebp - 0xa80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x620], eax
mov esi, eax
jmp 0x4e854d
cmp eax, edi
je 0x4e8491
mov eax, dword [ebp - 0x624]
cmp eax, edi
je 0x4e855d
lea edx, [ebp - 0xa80]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x620], eax
mov esi, eax
jmp 0x4e854d
lea eax, [ebp - 0xa84]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004e81c0
mov edi, dword [ebp - 0xa84]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0xa88]
call fcn.00464b60
mov ebx, dword [ebp - 0xa88]
push str..tmp
push ebx
call fcn.0051dcaf
add esp, 8
test eax, eax
jne 0x4e84de
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x624]
test eax, eax
jne 0x4e84ec
xor esi, esi
jmp 0x4e850f
cmp dword [ebp - 0x620], 0
jne 0x4e84f9
xor esi, esi
jmp 0x4e850f
lea ecx, [ebp - 0xa80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x620], eax
mov esi, eax
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e852b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e8547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x620]
xor edi, edi
cmp esi, edi
jne 0x4e8400
mov eax, dword [ebp - 0x624]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x620], edi
cmp eax, edi
je 0x4e857d
cmp eax, 0xffffffff
je 0x4e857d
push eax
call esi
xor eax, eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x620], edi
cmp eax, edi
je 0x4e858f
cmp eax, 0xffffffff
je 0x4e858f
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x4e9670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
lea eax, [ebp - 4]
push eax
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.004e0d90
add esp, 4
test eax, eax
je 0x4e96ba
push esi
call fcn.004e0bb0
mov esi, eax
test esi, esi
je 0x4e96b9
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.proxytype
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
or eax, 0xffffffff
lea edx, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.004e5280
test al, al
lea eax, [edi + 0xf4]
je 0x4e96e3
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x4e96e9
mov dword [eax], 1
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [edi + 0xf8]
call fcn.004e7e20
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4eced0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
xor edi, edi
push str.AVE360KP.dll
push eax
mov dword [ebp - 0x1c], edi
lea ebx, [edi + 3]
call fcn.004b4e80
add esp, 4
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044f400
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push eax
call esi
test eax, eax
je 0x4ecf66
lea edx, [ebp - 0x14]
push str.AVE360KPBase.dll
push edx
lea ebx, [edi + 0xf]
call fcn.004b4e80
add esp, 4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044f400
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
test eax, eax
je 0x4ecf66
lea ecx, [ebp - 0xc]
push str.AVEkpb.def
push ecx
lea ebx, [edi + 0x3f]
call fcn.004b4e80
add esp, 4
push eax
lea edx, [ebp - 8]
push edx
call fcn.0044f400
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov byte [ebp - 1], 1
test eax, eax
jne 0x4ecf6a
mov byte [ebp - 1], 0
test bl, 0x20
je 0x4ecf91
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
and ebx, 0xffffffdf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecf91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
je 0x4ecfb8
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
and ebx, 0xffffffef
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecfb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
je 0x4ecfdf
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
and ebx, 0xfffffff7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ecfdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 4
je 0x4ed006
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
and ebx, 0xfffffffb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ed006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
je 0x4ed02d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
and ebx, 0xfffffffd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ed02d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
je 0x4ed051
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ed051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 1], 0
mov eax, 1
jne 0x4ed05e
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ed8f0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov ebx, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ed94a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4eda9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push edi
push ecx
xor edi, edi
push edi
push str.count
push str.uploadfiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
mov dword [ebp - 0x418], eax
jg 0x4ed982
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
jmp 0x4eda8f
push esi
lea ecx, [ebp - 0x420]
lea esi, [ebx + 0x74]
push ecx
mov ecx, esi
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], esi
call fcn.004b7b90
cmp dword [ebp - 0x418], edi
mov dword [ebx + 4], 1
jle 0x4eda64
jmp 0x4ed9c0
push 0x576bd0
lea ecx, [ebp - 0x41c]
call fcn.00464b60
push edi
lea edx, [ebp - 0x41c]
push 0x5607c4
push edx
call fcn.0044ff30
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0051d250
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x41c]
add esp, 0x18
push edx
push 0x208
lea eax, [ebp - 0x414]
push eax
push 0x576bd0
push esi
push str.uploadfiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x414]
push ecx
mov ecx, ebx
call fcn.004ed5f0
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4eda51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [ebp - 0x418]
jl 0x4ed9c0
mov esi, dword [ebp - 0x424]
lea ecx, [ebx + 8]
call fcn.004dfb50
mov ecx, esi
call fcn.004b75c0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop esi
test ecx, ecx
jg 0x4eda9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 4
Function at 0x4efd20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x5995a6
push 0x4000
call fcn.0051f00a
mov esi, eax
add esp, 8
test esi, esi
jne 0x4efd44
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x4000
push 0
push esi
call fcn.0051d250
mov edi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 8]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4efdd1
cmp eax, 0x3fff
ja 0x4efdd1
push esi
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4efdd1
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x560120
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4efdd1
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
movzx ecx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
mov word [ecx], ax
call fcn.0051d538
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0051d538
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4efe80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push str.UserExperience
push str.SOFTWARE360TotalSecurityExperience
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 1
jne 0x4efed1
cmp dword [ebp - 8], 4
jne 0x4efed1
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4f9ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
call fcn.004f51d0
mov esi, dword [ebp + 8]
test esi, esi
je 0x4f9bd3
cmp word [esi], 0
je 0x4f9bd3
cmp dword [edi], 0xffffffff
je 0x4f9bd3
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
add eax, 0x10
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [ebp - 6]
movzx edx, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push ecx
movzx ecx, word [ebp - 0xc]
push edx
push eax
push ecx
lea edx, [ebp + 8]
push str._02d:_02d:_02d:_04d__0x_x__t_s_r_n
push edx
call fcn.0044ff30
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 3]
add esp, 0x20
test eax, eax
jl 0x4f9bdb
cmp eax, ecx
jg 0x4f9bdb
cmp word [esi + eax*2], 0xa
jne 0x4f9ba1
cmp dword [esi - 4], 1
jle 0x4f9b7a
mov eax, ecx
push eax
lea ecx, [ebp + 8]
call fcn.00439d30
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
mov edx, 0xd
mov word [esi + ecx*2 - 6], dx
mov eax, dword [esi - 0xc]
mov ecx, 0xa
mov word [esi + eax*2 - 4], cx
mov edx, dword [esi - 0xc]
dec edx
push edx
lea ecx, [ebp + 8]
call fcn.00439340
mov ecx, dword [esi - 0xc]
mov edx, dword [edi]
push 0
lea eax, [ebp - 4]
push eax
add ecx, ecx
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f9bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00414840
int3

Function at 0x4f9d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5979d8]
test eax, eax
jne 0x4f9d66
call fcn.0044ef40
mov dword [0x5979d8], eax
mov eax, dword [eax + 0x140]
cmp eax, 2
jne 0x4f9d89
mov eax, dword [0x5979d8]
mov ecx, dword [eax + 0x140]
cmp ecx, 2
jne 0x4f9d89
mov eax, dword [eax + 0x88]
jmp 0x4f9d8b
xor eax, eax
test eax, eax
je 0x4f9d92
pop ebp
jmp eax
pop ebp
jmp dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
Function at 0x4fb5a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4fb5ae
xor al, al
pop ebp
ret
push esi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push 0x4fb580
push 0
push 0
mov dword [ebp + 8], 0
call fcn.005247af
mov esi, eax
add esp, 0x18
cmp dword [0x583498], esi
je 0x4fb5dc
test esi, esi
jne 0x4fb5e1
xor al, al
pop esi
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x583498], esi
je 0x4fb5fb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret

Function at 0x4fe440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x4fe5aa
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4fe5aa
lea eax, [ebp - 4]
push eax
push 0xa
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004fb450
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4fe48c
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp + 8]
push edx
mov ecx, esi
mov dword [ebp + 8], ebx
call fcn.004fd6e0
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x4fe4a7
mov dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4fe5aa
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push edi
push eax
call edx
test eax, eax
je 0x4fe59b
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
push 4
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x4fe516
mov eax, dword [ebp + 0xc]
shl eax, 0x10
sar eax, 0x1c
cmp eax, 2
je 0x4fe4ef
cmp eax, 3
jne 0x4fe516
cmp esi, ebx
je 0x4fe4f9
mov dword [esi], 1
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4fe508
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
push 3
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x4fe566
mov ecx, dword [ebp + 0xc]
and ecx, 0xf00
cmp ecx, 0x300
jne 0x4fe566
cmp esi, ebx
je 0x4fe549
mov dword [esi], 3
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4fe558
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
je 0x4fe59b
mov ecx, dword [ebp + 0xc]
and ecx, 0xf0000
cmp ecx, 0x30000
jne 0x4fe59b
cmp esi, ebx
je 0x4fe549
mov dword [esi], 4
jmp 0x4fe549
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4fe5aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x510220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xffffffffffffffff
mov esi, ecx
push 0
push eax
lea ecx, [esi + 0x4c]
call fcn.0044f8b0
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x50f340
push 0
push 0
mov dword [ebp + 8], 0
call fcn.005247af
mov ebx, dword [0x583498]
mov edi, eax
add esp, 0x18
cmp ebx, edi
je 0x510267
test edi, edi
jne 0x51028c
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x583498], edi
je 0x510283
test edi, edi
je 0x510283
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
mov eax, dword [ebp + 8]
lea edx, [esi + 4]
push edx
push eax
push edi
lea ecx, [esi + 8]
call fcn.004f7160
cmp dword [0x583498], ebx
je 0x5102b0
test ebx, ebx
je 0x5102b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x516540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x516559
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x516563
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8