joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50bb70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52522b
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.0051e250
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x56e020
mov edi, ecx
push esi
call fcn.0043fc00
add esp, 8
test eax, eax
je 0x50bcd2
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.0043fc40
add esp, 0x10
test eax, eax
je 0x50bc6b
lea ecx, [esp + 0x220]
push 0x55b6c0
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x50bc22
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.0043fc40
add esp, 0x10
cmp word [esp + 0x220], 0
jne 0x50bc22
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.0043fc40
add esp, 0x10
lea ecx, [esp + 0x220]
push ecx
push 0x53d4a4
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.004bfa80
mov ecx, dword [esp + 0x126c]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x126c
ret 4
lea ecx, [esp + 8]
call fcn.004ade50
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.004adf20
mov esi, eax
test esi, esi
je 0x50bcb9
push esi
lea ecx, [esp + 0xc]
call fcn.004ae020
test eax, eax
je 0x50bcaf
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.004ae060
push esi
lea ecx, [esp + 0xc]
call fcn.004adf90
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.004adea0
jmp 0x50bc47
push 0x53fc98
push esi
call fcn.0043fc00
add esp, 8
test eax, eax
push esi
je 0x50bc2a
push 0x824
push edi
push 0x5711d0
push 0x5654bc
push 0x565880
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x50bc47
Function at 0x50ced0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x50cedc
jmp 0x507210
ret

Function at 0x50dc80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5253b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ebp, [esi + 0x24]
lea ebx, [esi + 0x28]
mov dword [esi], 0x52ce7c
mov dword [esi + 0x2c], 0x52ce5c
mov dword [ebp], 0x52ce78
mov dword [ebx], 0x52ce60
mov dword [esi + 0x34], 0x52ce4c
mov dword [esi + 0x38], 0x52ce44
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
mov dword [esp + 0x30], 7
call edi
mov ecx, dword [esi + 4]
push 0x65
push ecx
call edi
mov edx, dword [esi + 4]
push 0x66
push edx
call edi
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50dd1f
call fcn.00515890
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50dd15
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x285c], 0
lea ecx, [esi + 0x28c8]
mov byte [esp + 0x28], 6
call fcn.004e83c0
lea ecx, [esi + 0x2860]
mov byte [esp + 0x28], 5
call fcn.0050c590
lea ecx, [esi + 0xf2c]
mov byte [esp + 0x28], 4
call fcn.004ffb70
lea ecx, [esi + 0x3c]
mov byte [esp + 0x28], 3
call fcn.004ffb70
mov ecx, esi
lea eax, [esi + 0x2c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 2
and ecx, eax
call fcn.00506e40
mov ecx, esi
mov byte [esp + 0x28], 1
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.004ee350
mov ecx, esi
mov byte [esp + 0x28], 0
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.004f92c0
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0050bd50
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x511c75
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
lea edx, [esp + 0xc]
or ebx, 0xffffffff
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.005124d0
cmp dword [esp + 0xc], ebx
je 0x511d0f
mov eax, dword [esi + 0x2924]
test eax, eax
jne 0x511cfb
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x511cfb
cmp dword [esi + 0x2920], ebx
je 0x511cfb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x511cfb
mov eax, dword [esi + 0x2928]
test eax, eax
jne 0x511d69
push 1
mov ecx, esi
call fcn.00513ea0
test eax, eax
je 0x511cef
mov dword [esi + 0x292c], 1
jmp 0x511d69
mov dword [esi + 0x292c], 0
jmp 0x511d69
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x511d69
mov edx, dword [ecx]
push 0
push 2
call dword [edx]
jmp 0x511d69
mov ecx, dword [esi + 0x2930]
test ecx, ecx
je 0x511d3c
cmp eax, 3
jne 0x511d3c
mov ecx, dword [esi + 0x284c]
mov dword [esi + 0x2930], 0
test ecx, ecx
je 0x511d69
mov eax, dword [ecx]
push 1
push 1
call dword [eax]
jmp 0x511d69
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x511d4e
mov edx, dword [ecx]
push 0
push 1
call dword [edx]
call fcn.00422b70
mov eax, dword [eax + 4]
push 0
push 0x7534
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x2920], ebx
mov dword [esi + 0x2928], 0
pop esi
pop ebx
ret 4

Function at 0x511d84
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea edx, [esp + 8]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push edi
push edx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x292c], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.005124d0
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x511dce
mov dword [esi + 0x2924], 1
jmp 0x511dd8
mov dword [esi + 0x2924], 0
cmp edi, 3
jne 0x511dec
mov dword [esi + 0x2930], 1
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x511e06
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x2920], ecx
pop esi
ret 4
mov dword [esi + 0x2920], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x5129e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [esi + 0xf2c]
test edi, edi
je 0x512a08
lea eax, [esi + 0xf30]
jmp 0x512a0a
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x512ac4
mov edx, dword [esi + 0x2848]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x512a98
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test edi, edi
je 0x512a3c
lea edx, [esi + 0xf30]
jmp 0x512a3e
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [esi + 0x2be8]
push eax
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, ebx
sub ecx, eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
test edi, edi
pop ebx
je 0x512a84
lea eax, [esi + 0xf30]
push 5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
test edi, edi
je 0x512ab7
mov ecx, dword [esi + 0xf34]
lea eax, [esi + 0xf30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x512ad0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x2b9c]
xor eax, eax
test ecx, ecx
je 0x512afa
call fcn.00453af0
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x3c]
sub edx, eax
test esi, esi
mov dword [esp + 0xc], edx
je 0x512b10
lea eax, [edi + 0x40]
jmp 0x512b12
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x512bb6
mov eax, dword [edi + 0x2848]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x512b90
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test esi, esi
je 0x512b41
lea edx, [edi + 0x40]
jmp 0x512b43
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
push ebx
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test esi, esi
pop ebx
je 0x512b7c
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x40]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
test esi, esi
je 0x512ba9
lea eax, [edi + 0x40]
push 0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x518270
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00518550
test eax, eax
jne 0x5183a8
mov ecx, ebx
call fcn.00517790
mov ecx, dword [ebx + 4]
push eax
call fcn.00514540
test eax, eax
jne 0x5183a8
mov ecx, dword [ebx + 4]
call fcn.004f65f0
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x10
push 0x10
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
xor eax, eax
push esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, 0x10
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call fcn.00517860
mov eax, dword [ebx + 0x64]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x51831e
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x51832a
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.005175c0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x593a10]
add ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ecx
push 0xcc0020
sub eax, 0x10
push 0
cdq
sub eax, edx
mov edx, dword [0x593a08]
sar eax, 1
add ecx, eax
push 0
push esi
push 0x10
lea eax, [ecx + 0x10]
push 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add eax, edx
push ecx
push eax
push edi
lea edx, [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebx + 4]
push edi
call fcn.004f65f0
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x518ad0
Capabilities:
Check if file exists
Create thread
Get common file path
Read .ini file

Disassembly:
sub esp, 0x61c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x14]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x422]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov word [esp + 0x420], bx
push 0x56ffe8
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x424]
push ecx
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x518b73
lea ecx, [esp + 0x10]
push 0x56ffc0
lea edx, [esp + 0x21c]
push ecx
push edx
jmp 0x518b85
lea eax, [esp + 0x10]
push 0x565138
lea ecx, [esp + 0x21c]
push eax
push ecx
call esi
lea edx, [esp + 0x218]
push edx
push ebx
push str.NotJoinPrivate
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x518bf8
push 0x1048
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x518bf8
push 0x823
xor ecx, ecx
mov eax, 0x824
push edi
call fcn.005189f0
add esp, 8
test eax, eax
je 0x518bf8
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
push ebx
push edi
push 0x518830
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
je 0x518bf8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebx
add esp, 0x61c
ret

Function at 0x518d50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc8
push esi
mov esi, ecx
push edi
push esi
push 0
push 0x570044
push 0x570038
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
cmp edx, 9
jae 0x518d75
inc edx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x53dd34
lea eax, [esp + 0x10]
push 0x63
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x570044
push 0x570038
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0xc8
ret

Function at 0x518e00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc8
push esi
mov esi, ecx
push edi
push esi
push 0
push 0x570070
push 0x570038
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
cmp edx, 5
jae 0x518e25
inc edx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x53dd34
lea eax, [esp + 0x10]
push 0x63
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x570070
push 0x570038
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0xc8
ret
Function at 0x518f70
Capabilities:
Create thread

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push str.NotJoinPrivate
mov ebp, ecx
push str.option
mov dword [esp + 0x1c], 0
call fcn.0040e850
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x51908b
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x518fc1
mov ecx, ebp
call fcn.00519300
test eax, eax
jne 0x51908b
push 0x1048
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x51908b
mov edx, dword [esp + 0xe8]
mov ecx, 0x209
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
push 0x823
push ebx
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00519110
test eax, eax
je 0x51908b
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor edx, edx
add esp, 4
cmp esi, edx
je 0x51908b
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x63
push ecx
mov dword [esi], edx
mov dword [esi + 4], edx
push edx
mov ecx, ebp
mov dword [esi], ebx
stosw word es:[edi], ax
call fcn.005190a0
lea edx, [esp + 0x18]
push edx
call fcn.00457060
mov ecx, eax
call fcn.00459d10
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x518c30
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x51908b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0x10
Function at 0x519110
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
mov esi, ecx
cmp dword [esp + 0x34], eax
je 0x5192ec
cmp dword [esp + 0x38], eax
je 0x5192ec
push ebx
push ebp
push edi
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x519252
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x519250
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x570044
push 0x570038
call edi
push esi
push ebp
push 0x570050
push 0x570038
mov ebx, eax
call edi
push esi
push ebp
push 0x570084
push 0x570058
call edi
push esi
push 0
push 0x570070
push 0x570038
mov ebp, eax
call edi
push esi
push 0
push 0x570064
push 0x570058
mov dword [esp + 0x38], eax
call edi
push esi
push 0
push 0x5700a0
push 0x570090
mov dword [esp + 0x3c], eax
call edi
push esi
push 0
push 0x5700cc
push 0x570090
mov dword [esp + 0x34], eax
call edi
push esi
push 0
push 0x5700e8
push 0x570090
mov dword [esp + 0x2c], eax
call edi
push esi
push 0
push 0x570118
push 0x570104
mov dword [esp + 0x30], eax
call edi
push esi
push 0
push 0x570120
push 0x570104
mov dword [esp + 0x28], eax
call edi
push esi
push 0
push 0x570134
push 0x570104
mov dword [esp + 0x24], eax
call edi
push esi
push 0
push 0x56edbc
push 0x570104
mov dword [esp + 0x20], eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp edx, eax
jne 0x519269
cmp esi, eax
jne 0x519269
mov ecx, 1
jmp 0x519278
xor ecx, ecx
cmp edx, eax
je 0x519278
cmp esi, eax
jne 0x519278
mov eax, 1
mov esi, dword [esp + 0x3c]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ebp
push eax
push ecx
push 0
push ebx
call fcn.00519850
push eax
call fcn.0049bfa0
push eax
call fcn.004525e0
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
dec edx
push 0x57015c
push edx
push eax
call fcn.0042dfb0
add esp, 0x58
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 0x14
xor eax, eax
pop esi
add esp, 0x20
ret 0x14
Function at 0x519390
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x2dc
mov eax, 0x593c50
push ebx
push ebp
push esi
xor esi, esi
test eax, eax
push edi
je 0x519530
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x519530
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x7e]
mov word [esp + 0x7c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xe2]
mov word [esp + 0xe0], si
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2f0]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x519530
mov ebp, dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [sym.imp.MSVCRT.dll_gmtime]
xor ebx, ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
sub eax, ebx
push edx
mov dword [esp + 0x18], eax
call esi
add esp, 8
test eax, eax
je 0x519479
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push 0x5702bc
lea ecx, [esp + 0x8c]
push 0x31
push ecx
call fcn.0042dfb0
add esp, 0x18
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
add eax, 0x15180
push edx
mov dword [esp + 0x14], eax
call esi
add esp, 4
test eax, eax
je 0x5194ba
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push 0x5702bc
lea ecx, [esp + 0x28]
push 0x31
push ecx
call fcn.0042dfb0
add esp, 0x18
lea edx, [esp + 0x18]
lea eax, [esp + 0x7c]
push edx
push eax
push 0x593c50
push 0x570284
lea ecx, [esp + 0xf0]
push 0x104
push ecx
call fcn.0042e020
add esp, 0x18
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x519520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2f0]
inc eax
add ebx, 0x15180
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x519419
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2dc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2dc
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x5198f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x1054
call fcn.0051e250
lea eax, [esp]
push esi
push eax
xor esi, esi
push 0x57043c
push SysReAllocStringLen
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x5199fe
push ebx
push ebp
push edi
mov ecx, 0x411
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], si
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x24], 0x823
mov ebx, 1
call ebp
test eax, eax
jne 0x5199d7
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea ecx, [esp + 0x20]
push 0x57042c
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x5199a5
push 0x12
lea edx, [esp + 0x20]
push 0x570404
push edx
call esi
add esp, 0xc
test eax, eax
je 0x5199a5
push 0x12
lea eax, [esp + 0x20]
push 0x5703dc
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x5199a9
inc dword [esp + 0x18]
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov eax, ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], 0x823
inc ebx
call ebp
test eax, eax
je 0x519966
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
cmp eax, 3
pop ebx
jne 0x5199fe
push 0x57043c
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
add esp, 0x1054
ret
Function at 0x51aba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x55d158
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp + 8], edi
je 0x51acde
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov esi, eax
call ebx
add esp, 0x1c
test esi, esi
je 0x51acd4
lea eax, [esi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x51acd4
lea ecx, [esi + 1]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push 1
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
je 0x51acc8
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10c]
push 0x104
push ecx
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.0051aa60
test eax, eax
je 0x51acc8
lea edx, [ebp - 0x10c]
test edx, edx
jne 0x51ac78
xor edi, edi
jmp 0x51acb1
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051e250
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x10c]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
dec edx
push 0x53d4a4
push edx
push eax
call fcn.0042e020
add esp, 0x10
push ebx
call fcn.0051e1fa
mov edi, dword [ebp + 8]
add esp, 4
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea esp, [ebp - 0x118]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc