joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5044e0
Capabilities:
Check os version

Disassembly:
push ecx
push ebx
mov ebx, 1
test byte [0x74bcf8], bl
jne 0x504522
or dword [0x74bcf8], ebx
cmp dword [0x74aff0], 0
jne 0x504518
mov dword [0x74aff0], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x504518
cmp al, 6
jb 0x504518
mov dword [0x74afec], ebx
mov eax, dword [0x74afec]
mov dword [0x74bcf4], eax
mov eax, dword [0x69069c]
cmp eax, 0xffffffff
jne 0x504536
call fcn.004d8f30
mov dword [0x69069c], eax
cmp eax, 2
jle 0x504589
call fcn.004d8e50
test eax, eax
je 0x504589
cmp dword [0x74bcf4], 0
je 0x504556
call fcn.004e2580
test eax, eax
jne 0x504589
mov eax, dword [esp + 0xc]
cmp eax, 0xfffffffe
jne 0x50456d
lea ecx, [esp + 4]
push ecx
push 0
call fcn.00504590
jmp 0x504571
mov dword [esp + 4], eax
push 0
call fcn.004fc580
cmp eax, dword [esp + 4]
je 0x504589
test eax, eax
je 0x504589
xor eax, eax
pop ebx
pop ecx
ret 4
mov eax, ebx
pop ebx
pop ecx
ret 4
Function at 0x504590
Capabilities:
Check os version

Disassembly:
sub esp, 8
test byte [0x74bd18], 1
push ebx
push esi
push edi
mov esi, 1
jne 0x5045b4
or dword [0x74bd18], esi
call fcn.004d9870
mov dword [0x74bd14], eax
mov eax, 2
test byte [0x74bd18], al
jne 0x5045f4
or dword [0x74bd18], eax
cmp dword [0x74aff0], 0
jne 0x5045ea
mov dword [0x74aff0], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x5045ea
cmp al, 6
jb 0x5045ea
mov dword [0x74afec], esi
mov eax, dword [0x74afec]
mov dword [0x74bd10], eax
mov edi, dword [esp + 0x18]
test edi, edi
je 0x5045fe
mov dword [edi], esi
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x50460c
mov dword [ebx], 0
cmp dword [0x74bd14], 0
je 0x50476a
cmp dword [0x74bd0c], 0
jne 0x504643
push 0x61bed4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x74bd0c], eax
test eax, eax
je 0x50476a
cmp eax, 0xffffffff
je 0x50476a
cmp dword [0x74bd08], 0
jne 0x5046aa
push 0x613110
call fcn.004f4be0
mov dword [0x74bd08], eax
test eax, eax
je 0x50476a
cmp eax, 0xffffffff
je 0x50476a
mov ecx, dword [0x74bd0c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x627a4c
push ecx
call esi
mov edx, dword [0x74bd08]
push 0x6130f4
push edx
mov dword [0x74bd04], eax
call esi
mov dword [0x74bd00], eax
mov eax, dword [0x74bd08]
push 0x6130e4
push eax
call esi
mov dword [0x74bcfc], eax
mov eax, dword [0x74bd04]
test eax, eax
je 0x50476a
cmp dword [0x74bd00], 0
je 0x50476a
cmp dword [0x74bcfc], 0
je 0x50476a
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x50476a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 8
push esi
push 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call dword [0x74bd00]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x50471f
cmp dword [esp + 0x10], 4
jne 0x50471f
test edi, edi
je 0x50471f
xor ecx, ecx
cmp dword [eax], ecx
sete cl
mov dword [edi], ecx
test eax, eax
je 0x504732
push eax
call dword [0x74bcfc]
mov dword [esp + 0xc], 0
mov edi, esi
test ebx, ebx
je 0x50473a
mov dword [ebx], esi
cmp dword [0x74bd10], 0
je 0x504748
test esi, esi
jbe 0x504748
dec esi
push 0
call fcn.004fc3a0
test eax, eax
je 0x50475f
push edi
call fcn.005044e0
test eax, eax
jne 0x50475f
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x508130
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x310
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x30c], eax
push esi
mov esi, dword [esp + 0x318]
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x119]
push 0
push ecx
mov byte [esp + 0x120], 0
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x229]
push 0
push edx
mov byte [esp + 0x230], 0
call fcn.005dfd60
add esp, 0x24
test esi, esi
jne 0x5081b9
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x310
ret
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 4]
push ecx
call fcn.004ebde0
add esp, 4
cmp byte [esp + 4], 0
je 0x508203
lea eax, [esp + 4]
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x5081e0
lea edx, [esp + 4]
sub eax, edx
je 0x508203
cmp byte [esp + eax + 3], 0x5c
je 0x508203
push 0x66da34
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push 0x61af28
push edx
call fcn.005dfb23
lea eax, [esp + 0x114]
push eax
call fcn.004e0fb0
add esp, 0x10
cmp eax, 0xffffffff
je 0x5081a1
test al, 0x20
je 0x5082db
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x210]
push str._sINITOREG.EXE
push edx
call fcn.005dfb23
push 1
push 0
push 0
push 0
lea eax, [esp + 0x228]
push 0
push eax
call fcn.004e8950
add esp, 0x24
test eax, eax
jne 0x5081a1
push eax
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x214]
push str._sINITOREG.EXE__s
push ecx
call fcn.005dfb23
add esp, 0x10
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 1
lea edx, [esp + 0x224]
push edx
push 0
call fcn.005069e0
mov eax, 1
pop esi
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x310
ret
mov ecx, dword [esp + 0x310]
pop esi
xor ecx, esp
mov eax, 2
call fcn.005dfbbe
add esp, 0x310
ret
Function at 0x508b00
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x7c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x88]
push esi
push edi
mov edi, dword [esp + 0x9c]
xor esi, esi
push 0x5f
lea edx, [esp + 0x2d]
push esi
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], esi
mov byte [esp + 0x34], 0
call fcn.005dfd60
mov eax, dword [esp + 0x24]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x508b70
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
cmp eax, ecx
je 0x508b7a
mov dword [eax], ecx
cmp edi, ecx
jne 0x508bf5
push 0x60cf0c
push ebp
call fcn.005e00ad
mov esi, eax
add esp, 8
test esi, esi
jne 0x508bf5
push ebp
call fcn.004e9d50
test eax, eax
je 0x508bce
push esi
call fcn.00503120
test eax, eax
je 0x508bce
push esi
push esi
push esi
push esi
call fcn.005047d0
add esp, 0x10
test eax, eax
jne 0x508bce
push 0x60cf0c
push ebp
mov dword [esp + 0x1c], 1
call fcn.005e00ad
add esp, 8
mov esi, eax
test esi, esi
jne 0x508bf5
cmp dword [esp + 0x14], 1
jne 0x508bde
call fcn.00504780
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x7c
ret 0x18
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x508c2c
test esi, esi
je 0x508c4c
push 2
push 0
push esi
call fcn.005e0626
add esp, 0xc
test eax, eax
jne 0x508c1f
push esi
call fcn.005e45b4
add esp, 4
mov dword [ebx], eax
push 0
push 0
push esi
call fcn.005e0626
add esp, 0xc
test esi, esi
je 0x508c57
push esi
push 0x40
lea eax, [esp + 0x30]
push 1
push eax
call fcn.005e057f
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x508c80
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
push 1
push 0
push 0
push edi
call ebp
push 0
push 0
push 0
push edi
mov ebx, eax
call ebp
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x40
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], 0x40
jb 0x508cae
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x18]
push 0
push eax
push ecx
push esi
push edi
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004f7fa0
add esp, 0x1c
mov dword [esp + 0x1c], eax
test esi, esi
je 0x508cbd
push esi
call fcn.005dff6d
add esp, 4
jmp 0x508cc5
push 0
push 0
push ebx
push edi
call ebp
cmp dword [esp + 0x14], 1
jne 0x508cd1
call fcn.00504780
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x7c
ret 0x18
Function at 0x509a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push ebx
push edi
mov ebx, 1
test eax, eax
je 0x509aec
mov edi, dword [esp + 0x18]
test edi, edi
je 0x509aec
cmp byte [edi], 0
je 0x509aec
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push ecx
push esi
push 0
push 0
push str.SchedulerLockFile
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x509ad2
push ebx
push eax
push eax
push eax
push eax
push esi
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x509ad2
push esi
call fcn.004e0670
add esp, 4
test eax, eax
jne 0x509ad2
pop esi
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
ret
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push edi
push 0
call fcn.005069e0
pop esi
pop edi
mov eax, ebx
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret
Function at 0x509e60
Capabilities:
Check os version

Disassembly:
sub esp, 0x110
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push 0x103
xor esi, esi
lea eax, [esp + 0x11]
push esi
push eax
mov byte [esp + 0x18], 0
call fcn.005dfd60
add esp, 0xc
push esi
push esi
call fcn.00504590
test eax, eax
jne 0x509eb3
push str.commstrt_mutex
lea ecx, [esp + 0x10]
push 0x60c800
push ecx
call fcn.005dfb23
add esp, 0xc
jmp 0x509ecb
push eax
push str.commstrt_mutex
lea edx, [esp + 0x14]
push str._s_d
push edx
call fcn.005dfb23
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call fcn.004eaf40
add esp, 4
mov dword [esp + 8], eax
test eax, eax
je 0x509f07
lea ecx, [esp + 8]
push ecx
mov esi, 1
call fcn.004dca10
mov eax, esi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x509f64
cmp dword [0x74aff0], esi
jne 0x509f3e
mov dword [0x74aff0], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x509f3e
cmp al, 6
jb 0x509f3e
mov dword [0x74afec], 1
jmp 0x509f46
cmp dword [0x74afec], esi
je 0x509f64
lea edx, [esp + 7]
push edx
mov byte [esp + 0xb], 0
call fcn.004e25e0
add esp, 4
cmp byte [esp + 7], 3
mov eax, 1
jne 0x509f66
mov eax, esi
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
call fcn.005dfbbe
add esp, 0x110
ret

Function at 0x50a200
Capabilities:
Access the windows event log

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push esi
call fcn.00509f80
add esp, 4
test eax, eax
je 0x50a27b
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
test esi, esi
je 0x50a27b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, 0x20000000
cmp eax, 3
jne 0x50a24e
mov eax, 1
jmp 0x50a25c
xor edx, edx
cmp eax, 2
setne dl
lea edx, [edx + edx + 2]
mov eax, edx
push 0
lea edx, [esp + 8]
push edx
push 0
push 1
push 0
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 8
ret
Function at 0x50b090
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0x824
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
mov ebx, dword [esp + 0x830]
push esi
mov esi, dword [esp + 0x830]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
cmp esi, edi
je 0x50b1c8
cmp byte [esi], 0
je 0x50b1c8
cmp ebx, edi
je 0x50b1c8
push ebp
push edi
push esi
mov byte [ebx], 0
call fcn.00508760
add esp, 8
push esi
test eax, eax
jne 0x50b19a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x820], edi
call esi
push 0x60c81c
lea ecx, [esp + 0x418]
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push edi
push 0x50af90
mov dword [esp + 0x828], edi
call fcn.005e07ac
add esp, 0xc
mov dword [esp + 0x824], eax
cmp eax, 0xffffffff
je 0x50b1a9
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x81c], edi
jne 0x50b150
push 1
call ebp
cmp dword [esp + 0x81c], edi
je 0x50b143
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
jae 0x50b17e
push 5
call ebp
cmp dword [esp + 0x818], 1
je 0x50b188
call esi
sub eax, edi
cmp eax, 0x2710
jb 0x50b165
cmp dword [esp + 0x818], 1
jne 0x50b1b0
cmp byte [esp + 0x414], 0
je 0x50b1a9
lea eax, [esp + 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
jmp 0x50b1ca
mov eax, dword [esp + 0x828]
test eax, eax
je 0x50b1a9
mov dword [eax], 1
mov eax, dword [esp + 0x10]
pop ebp
jmp 0x50b1ca
xor eax, eax
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x824
ret 8
Function at 0x50c480
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x518
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
push esi
mov esi, dword [esp + 0x524]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x111]
push ebx
push eax
mov byte [esp + 0x118], bl
call fcn.005dfd60
add esp, 0xc
cmp esi, ebx
je 0x50c4c2
mov byte [esi], bl
push ebx
push 0x104
lea ecx, [esp + 0x114]
push ecx
push 0x60c81c
push str.IsCloud
push 0x60c810
call fcn.004edfd0
add esp, 0x18
cmp byte [esp + 0x10c], 0x31
jne 0x50c666
push 0x103
lea edx, [esp + 0xd]
push ebx
push edx
mov byte [esp + 0x14], bl
call fcn.005dfd60
push ebx
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x60c81c
push str.CloudHost
push 0x60c810
call fcn.004edfd0
add esp, 0x24
cmp byte [esp + 8], bl
je 0x50c666
lea ecx, [esp + 8]
push 0x2c
push ecx
call fcn.005e0940
add esp, 8
test eax, eax
jne 0x50c666
lea edx, [esp + 8]
push ebx
push edx
call fcn.00508760
add esp, 8
test eax, eax
jne 0x50c666
cmp byte [0x74bd78], bl
jne 0x50c5c8
push 0x103
lea eax, [esp + 0x215]
push ebx
push eax
mov byte [esp + 0x21c], bl
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 0x210]
push ecx
call fcn.004ef9d0
test eax, eax
je 0x50c5c8
lea edx, [esp + 0x210]
push edx
push 0x74bd78
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x74bd78
call fcn.004e24e0
add esp, 4
push str.eupdate.ini
push 0x74bd78
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x207
lea eax, [esp + 0x319]
push ebx
push eax
mov byte [esp + 0x320], bl
call fcn.005dfd60
add esp, 0xc
push 0x74bd78
push 0x208
lea ecx, [esp + 0x31c]
push ecx
push 0x60c81c
push str.httphost
push 0x60da74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x314], bl
je 0x50c666
push ebx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x31c]
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x50c666
cmp esi, ebx
je 0x50c64a
lea eax, [esp + 8]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x50c640
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x518
ret
mov ecx, dword [esp + 0x51c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x518
ret
Function at 0x50d920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x324
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x320], eax
push esi
mov esi, dword [esp + 0x32c]
push edi
mov edi, dword [esp + 0x334]
push 0x103
lea eax, [esp + 0x21]
push 0
push eax
mov byte [esp + 0x28], 0
call fcn.005dfd60
push 0x207
lea ecx, [esp + 0x131]
push 0
push ecx
mov byte [esp + 0x138], 0
call fcn.005dfd60
add esp, 0x18
test esi, esi
je 0x50db55
cmp byte [esi], 0
je 0x50db55
push ebp
push esi
xor eax, eax
lea edx, [esp + 0x24]
push 0x628b4c
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.005dfb23
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebp, ebp
jne 0x50da98
push esi
call fcn.004e7d70
add esp, 4
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x648160
push edx
mov dword [esp + 0x28], 8
call ebp
cmp byte [esp + 0x18], 1
jne 0x50da33
mov edx, dword [esp + 0xc]
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x324
ret
push 0x208
lea eax, [esp + 0x128]
push 0
push eax
mov dword [esp + 0x1c], 0x208
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x648094
push ecx
call ebp
test eax, eax
je 0x50dab2
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004d8af0
add esp, 4
cmp eax, 1
je 0x50da98
push esi
call fcn.004e9580
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x324
ret
test edi, edi
je 0x50db2b
push 0x104
push 0
lea eax, [esp + 0x12c]
push 1
push eax
call fcn.0050d0f0
add esp, 0x10
lea ecx, [esp + 0x124]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov al, byte [edi]
test al, al
je 0x50db2b
cmp al, 0x22
je 0x50db2b
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
push 0x631384
push edi
call fcn.005e0a30
add esp, 8
test eax, eax
jne 0x50db13
push 0x63fd64
push edi
call fcn.005e0a30
add esp, 8
test eax, eax
je 0x50db19
mov byte [eax + 4], 0
jmp 0x50db2b
push 0x20
push edi
call fcn.005e0940
add esp, 8
test eax, eax
je 0x50db2b
mov byte [eax], 0
mov edx, dword [esp + 0xc]
push edx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x324
ret
mov ecx, dword [esp + 0x328]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x324
ret
Function at 0x50eab0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x115]
push 0
push ecx
mov byte [esp + 0x11c], 0
call fcn.005dfd60
push 0
lea edx, [esp + 0x120]
push 0
push edx
call fcn.005098d0
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x28]
push str._sWSSPORD.DAT
push ecx
call fcn.005dfb23
push 1
push 0
push 0
push 0
lea edx, [esp + 0x40]
push 0
push edx
call fcn.004e8950
add esp, 0x48
test eax, eax
jne 0x50eb78
lea eax, [esp]
push eax
call fcn.004e0fb0
add esp, 4
cmp eax, 0xffffffff
je 0x50eb5e
test al, 7
je 0x50eb5e
push 0x80
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x20c
ret
push esi
lea edx, [esp + 4]
push 0x104
push edx
call fcn.004ebf90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
cmp byte [esp + 4], 0
je 0x50ebbf
lea eax, [esp + 4]
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x50eba0
lea ecx, [esp + 4]
sub eax, ecx
je 0x50ebbf
cmp byte [esp + eax + 3], 0x5c
je 0x50ebbf
push 0x66da34
mov edx, ecx
push edx
call esi
push str.WSSPORD.DAT
lea eax, [esp + 8]
push eax
call esi
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.004e8950
add esp, 0x18
pop esi
test eax, eax
jne 0x50ec26
lea edx, [esp]
push edx
call fcn.004e0fb0
add esp, 4
cmp eax, 0xffffffff
je 0x50ec0c
test al, 7
je 0x50ec0c
push 0x80
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x20c
ret
Function at 0x50ec40
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x115]
push 0
push ecx
mov byte [esp + 0x11c], 0
call fcn.005dfd60
push 0
lea edx, [esp + 0x120]
push 0
push edx
call fcn.005098d0
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x28]
push str._sWSSPORDx.DAT
push ecx
call fcn.005dfb23
push 1
push 0
push 0
push 0
lea edx, [esp + 0x40]
push 0
push edx
call fcn.004e8950
add esp, 0x48
test eax, eax
jne 0x50ed08
lea eax, [esp]
push eax
call fcn.004e0fb0
add esp, 4
cmp eax, 0xffffffff
je 0x50ecee
test al, 7
je 0x50ecee
push 0x80
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x20c
ret
push esi
lea edx, [esp + 4]
push 0x104
push edx
call fcn.004ebf90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 8
cmp byte [esp + 4], 0
je 0x50ed4f
lea eax, [esp + 4]
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x50ed30
lea ecx, [esp + 4]
sub eax, ecx
je 0x50ed4f
cmp byte [esp + eax + 3], 0x5c
je 0x50ed4f
push 0x66da34
mov edx, ecx
push edx
call esi
push str.WSSPORDx.DAT
lea eax, [esp + 8]
push eax
call esi
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.004e8950
add esp, 0x18
pop esi
test eax, eax
jne 0x50edb6
lea edx, [esp]
push edx
call fcn.004e0fb0
add esp, 4
cmp eax, 0xffffffff
je 0x50ed9c
test al, 7
je 0x50ed9c
push 0x80
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x20c
ret
Function at 0x50fb00
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push 0
push 0x100401
call fcn.004e45c0
mov esi, eax
add esp, 0xc
mov dword [esp + 0xc], esi
test esi, esi
jne 0x50fb25
pop edi
pop esi
ret 8
push edi
push 0x4dba70
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x50fb6f
push 0
push 1
call fcn.00509b00
push 0
push esi
call fcn.004e4500
add esp, 0x10
mov esi, eax
neg esi
lea ecx, [esp + 0xc]
sbb esi, esi
push ecx
and esi, 2
call fcn.004dca10
pop edi
mov eax, esi
pop esi
ret 8
lea ecx, [esp + 0xc]
push ecx
mov esi, 1
call fcn.004dca10
pop edi
mov eax, esi
pop esi
ret 8