joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 4], eax
ja 0x422b6a
lea eax, [ebp - 0x20c]
mov edi, SysReAllocString
push eax
push str..htm
push edi
call fcn.0042290b
add esp, 0xc
test eax, eax
jne 0x422b6a
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x20c]
push str._shellopencommand
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0042290b
add esp, 0xc
test eax, eax
jne 0x422b6a
lea eax, [ebp - 0x20c]
push 0x584f94
push eax
call fcn.004f10a8
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x422b47
lea eax, [ebp - 0x20c]
push 0x584f90
push eax
call fcn.004ef890
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x422b47
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [ebp + eax - 0x20d]
jmp 0x422b49
mov byte [edi], bl
push 0x583714
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42cefd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
cmp dword [ebp + 8], 0x10
push esi
mov esi, ecx
mov dword [esi + 0x3c], eax
jb 0x42cf2d
cmp dword [ebp + 8], 0x12
ja 0x42cf2d
push 0x59758c
push dword [ebp + 0x10]
call fcn.004efe30
pop ecx
pop ecx
jmp 0x42d031
push edi
lea eax, [ebp - 0x20]
push 0x20
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov edi, 0x59758c
push edi
push dword [ebp + 0x10]
call fcn.004efe30
test byte [ebp + 0xf], 0x20
pop ecx
pop ecx
je 0x42cf86
lea eax, [ebp - 0x20]
push 0x585314
push eax
call fcn.004f10a8
pop ecx
test eax, eax
pop ecx
je 0x42cf73
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004efe30
pop ecx
pop ecx
push str._Alt
push dword [ebp + 0x10]
call fcn.004efe40
or byte [esi + 0x3d], 1
pop ecx
pop ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
test ax, ax
jge 0x42cfc9
lea eax, [ebp - 0x20]
push str.Shift
push eax
call fcn.004f10a8
pop ecx
test eax, eax
pop ecx
je 0x42cfb6
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004efe30
pop ecx
pop ecx
push str._Shift
push dword [ebp + 0x10]
call fcn.004efe40
or byte [esi + 0x3d], 4
pop ecx
pop ecx
push 0x11
call ebx
test ax, ax
pop ebx
jge 0x42d006
lea eax, [ebp - 0x20]
push str.Ctrl
push eax
call fcn.004f10a8
pop ecx
test eax, eax
pop ecx
je 0x42cff3
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004efe30
pop ecx
pop ecx
push str._Ctrl
push dword [ebp + 0x10]
call fcn.004efe40
or byte [esi + 0x3d], 2
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004ef410
pop ecx
pop edi
test eax, eax
jbe 0x42d031
push 0x5852e4
push dword [ebp + 0x10]
call fcn.004efe40
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
call fcn.004efe40
add esp, 0x10
mov eax, dword [ebp + 0x10]
pop esi
leave
ret 0xc

Function at 0x42dcac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
push str.BIN_DATA
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
je 0x42dd08
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x42dd08
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [ebp + 8], 0
mov esi, eax
je 0x42dd04
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x42dd08
push esi
push eax
push dword [ebp + 8]
call fcn.004ef020
add esp, 0xc
mov eax, esi
jmp 0x42dd0b
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
Function at 0x43e4f4
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5326f5
call fcn.004eec88
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x807]
push eax
call fcn.004cd540
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00509ffe
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0050a4c4
mov eax, dword [0x5927d4]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x767]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042fd4c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0050a0c9
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00509f90
push dword [ebp - 0x10]
mov ecx, edi
push str.__account__
call fcn.00505800
push dword [ebp - 0x14]
mov ecx, edi
push str.__password__
call fcn.00505800
push dword [esi + 0x9bd]
mov ecx, edi
push str.__commpwd__
call fcn.00505800
mov al, byte [esi + 0x865]
lea ecx, [ebp - 0x14]
push eax
call fcn.005055dd
push dword [ebp - 0x14]
mov ecx, edi
push str.__setcode__
call fcn.00505800
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.004efe30
lea eax, [ebp - 0x18]
push eax
call fcn.0042e42d
mov eax, dword [eax]
mov ecx, dword [esi + 0xc79]
add esp, 0xc
lea edx, [ebp - 0x58]
push 0x40
push edx
push eax
push 7
push ecx
call fcn.004b70ba
lea ecx, [ebp - 0x18]
call fcn.00509f90
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push str.__port__
call fcn.00505800
cmp dword [esi + 0xc1b], ebx
je 0x43e665
push 0x11c
call fcn.00509cd1
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x43e622
push esi
call fcn.0047dc31
mov dword [ebp + 8], eax
jmp 0x43e625
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x43e674
push dword [edi]
call fcn.0047dd76
mov ecx, dword [ebp + 8]
push 5
call fcn.0050e450
push 1
mov ecx, dword [ebp + 8]
push dword [esi + 0xc2b]
push dword [esi + 0xc27]
push dword [esi + 0xc23]
push dword [esi + 0xc1f]
call fcn.0050e3c0
jmp 0x43e674
mov edi, dword [edi]
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00509f90
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44026d
Capabilities:
Delete file

Disassembly:
mov eax, 0x532a74
call fcn.004eec88
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp word [esi + 0x90], 0
je 0x4402cd
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jne 0x44040e
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLangID]
cmp ax, 0x404
jne 0x4402b6
lea eax, [esi + 0x92]
push 0x50
push eax
call fcn.004cd6c0
pop ecx
pop ecx
push 0
add esi, 0x92
push 0
push esi
mov ecx, ebx
call fcn.00438743
jmp 0x44040e
mov eax, dword [esi + 0x145]
mov edx, dword [ebp + 0x10]
mov ecx, eax
push edi
sub ecx, dword [ebp + 0xc]
lea edi, [ecx + edx]
cmp eax, edi
jge 0x4402e5
mov edi, eax
cmp dword [0x597f28], 0
jne 0x440304
push 0x809f
mov ecx, ebx
call fcn.004386f1
mov dword [0x597f28], 1
mov ecx, dword [ebx + 0x110b]
lea eax, [ebp + 8]
push eax
call fcn.004af7b3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0050fa1d
mov eax, dword [esi + 0x141]
mov byte [ebp - 4], 1
cmp eax, dword [esi + 0x13d]
jl 0x44033c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x4403ba
test eax, eax
jne 0x440361
push eax
push 0x3001
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0050fb2f
test eax, eax
je 0x4403ba
lea ecx, [ebp - 0x20]
call fcn.0050fe29
mov ebx, eax
jmp 0x44038b
jle 0x4403ba
push 0
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0050fb2f
test eax, eax
je 0x4403ba
lea ecx, [ebp - 0x20]
call fcn.0050fe29
push 0xfffffffffffffff0
mov ebx, eax
pop eax
sub eax, dword [esi + 0x141]
add ebx, eax
cmp ebx, edi
jge 0x4403af
mov eax, dword [ebp - 0x20]
push 2
push 0
lea ecx, [ebp - 0x20]
call dword [eax + 0x28]
sub edi, ebx
lea eax, [ebx + esi + 0x149]
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.0050fc86
lea ecx, [ebp - 0x20]
call fcn.0050fd4a
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
pop edi
cmp dword [ebp + 0xc], eax
jne 0x4403f6
and dword [0x597f28], 0
mov ecx, dword [ebx + 0xc7d]
lea esi, [ebx + 0xc7d]
test ecx, ecx
je 0x4403e4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
push 0
push 0x24
push 0x7e5
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0050fa72
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00509f90
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x44d63c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x44d6da
cmp dword [ebp + 8], ebx
je 0x44d6da
cmp dword [ebp + 0xc], ebx
je 0x44d6da
push esi
push edi
mov edi, 0xf003f
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
lea ecx, [ebp - 4]
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push esi
call fcn.0044d58d
test eax, eax
je 0x44d6ad
lea eax, [ebp + 0x10]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x44d6ad
cmp dword [ebp - 4], ebx
je 0x44d6a7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], ebx
pop edi
pop esi
je 0x44d6da
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret

Function at 0x44d6dd
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x534413
call fcn.004eec88
sub esp, 0x118
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x20], ebx
je 0x44d7de
cmp dword [ebp + 0xc], ebx
je 0x44d7de
push esi
push edi
mov dword [ebp - 0x10], ebx
mov esi, 0xf003f
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x10]
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
push edi
call fcn.0044d58d
test eax, eax
je 0x44d75e
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x44d75e
cmp dword [ebp - 0x10], ebx
je 0x44d758
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x123]
mov byte [ebp - 0x124], bl
mov dword [ebp - 0x1c], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x10], ebx
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x14]
push eax
call fcn.00509ffe
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00509d05
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
call fcn.00509f90
cmp dword [ebp - 0x10], ebx
pop edi
pop esi
je 0x44d7eb
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44d7eb
mov ecx, dword [ebp + 8]
push 0x59758c
call fcn.00509ffe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44d7fb
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x534430
call fcn.004eec88
sub esp, 0x37c
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004e7545
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 0x388]
push str._s.
push eax
call fcn.004f0473
add esp, 0xc
lea eax, [ebp - 0x388]
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.004e7608
test eax, eax
je 0x44d8fc
mov esi, str._s_s
lea ecx, [ebp - 0x2c]
call fcn.004e7828
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.004e77ef
test eax, eax
jne 0x44d8f2
lea eax, [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004e7a20
push 0xc8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0050a3c0
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004efe30
and byte [ebp - 4], 0
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00509f90
mov eax, dword [ebp - 0x2c]
push 0x10
lea ecx, [ebp - 0x2c]
call dword [eax + 0x38]
test eax, eax
lea eax, [ebp - 0xf4]
push eax
push edi
push esi
je 0x44d8d6
lea eax, [ebp - 0x284]
push eax
call fcn.004f0473
lea eax, [ebp - 0x284]
push eax
call fcn.0044d7fb
add esp, 0x14
jmp 0x44d8f2
lea eax, [ebp - 0x1bc]
push eax
call fcn.004f0473
add esp, 0x10
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [ebp - 0x10], 0
jne 0x44d84f
lea ecx, [ebp - 0x2c]
call fcn.004e75be
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
jne 0x44d913
xor esi, esi
jmp 0x44d916
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004e7582
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x44e3f9
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x74], edi
je 0x44e439
call fcn.0044ed4e
test eax, eax
je 0x44e43f
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x44e7af
push edi
push edi
call fcn.004f165f
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x90], eax
je 0x44e439
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x98]
cmp eax, edi
je 0x44e439
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x98]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x98]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x50]
push dword [esi + 0x4c]
push edi
push edi
push dword [esi + 0x78]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x44e439
push edi
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x44e43b
Function at 0x44e49c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.005245be
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
je 0x44e545
call fcn.005245be
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x44e545
call fcn.005245be
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44e545
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x44e541
test ebx, ebx
je 0x44e541
push edi
push eax
push ebx
call fcn.004ef020
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0044dfad
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, edi
pop ebx
jmp 0x44e547
xor edi, edi
jmp 0x44e535
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x45328e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 8], ecx
call fcn.00456d56
push dword [ebp + 0xc]
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 4], eax
ja 0x453381
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
mov edi, SysReAllocString
push str..htm
push edi
call fcn.0045338b
test eax, eax
jne 0x453381
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x210]
push str._shellopencommand
push eax
call esi
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.0045338b
test eax, eax
jne 0x453381
lea eax, [ebp - 0x210]
push 0x584f94
push eax
call fcn.004f10a8
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x45335e
lea eax, [ebp - 0x210]
push 0x584f90
push eax
call fcn.004f10a8
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x45335e
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [ebp + eax - 0x211]
jmp 0x453360
mov byte [edi], bl
push 0x583714
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x45338b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4533e4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x45671b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x534aee
call fcn.004eec88
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00509d05
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00509d05
mov eax, dword [edi + 0x20]
lea ecx, [esi + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00509d05
mov eax, dword [edi + 0x44]
add edi, 0x74
mov dword [esi + 0x44], eax
mov eax, dword [edi - 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [edi - 0x28]
mov dword [esi + 0x4c], eax
mov eax, dword [edi - 0x24]
mov dword [esi + 0x50], eax
mov eax, dword [edi - 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [edi - 0x1c]
mov dword [esi + 0x58], eax
mov eax, dword [edi - 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [edi - 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [edi - 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [edi - 0xc]
mov dword [esi + 0x68], eax
mov eax, dword [edi - 8]
mov dword [esi + 0x6c], eax
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 2
mov dword [esi + 0x70], eax
call fcn.00509d05
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46f963
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
call fcn.00509f1b
push dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov esi, 0x1000
push esi
push esi
mov dword [ebp - 4], esi
call fcn.0050a3c0
mov edi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov ebx, 0x59758c
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
mov dword [ebp - 8], eax
jge 0x46f9c2
push dword [ebp + 8]
add dword [ebp - 4], esi
mov ecx, dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp - 4]
call fcn.0050a3c0
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x46f99b
mov esi, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0050a40f
mov eax, dword [esi]
cmp dword [eax - 8], 0
je 0x46fa03
mov eax, dword [ebp - 4]
lea ecx, [eax - 1]
cmp dword [ebp - 8], ecx
jl 0x46fa03
push dword [ebp + 8]
add eax, eax
mov ecx, esi
mov dword [ebp - 4], eax
push eax
push eax
call fcn.0050a3c0
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
mov dword [ebp - 8], eax
push 0xffffffffffffffff
jmp 0x46f9c7
mov eax, dword [esi]
xor ecx, ecx
pop edi
pop esi
cmp dword [eax - 8], ecx
pop ebx
setne cl
mov eax, ecx
leave
ret

Function at 0x46ff79
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x537144
call fcn.004eec88
sub esp, 0x418
mov eax, dword [0x5927d4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.004acebd
mov edx, dword [eax]
push 0x14
mov esi, str.System
push str.WT_NotiCount
push esi
mov ecx, eax
call dword [edx + 0xa4]
mov ebx, eax
call fcn.004acebd
mov edx, dword [eax]
push 0
push str.WT_NotiCurNum
push esi
mov ecx, eax
call dword [edx + 0xa4]
test ebx, ebx
mov esi, eax
jle 0x470094
mov dword [ebp - 0x1c], ebx
inc esi
cmp esi, ebx
jg 0x46fff0
cmp esi, 1
jge 0x46fff3
push 1
pop esi
push esi
lea eax, [ebp - 0x18]
push 0x583b60
push eax
call fcn.00505f09
add esp, 0xc
lea eax, [ebp - 0x424]
push dword [edi + 0xa8]
push 0x400
push eax
push 0x59758c
push dword [ebp - 0x18]
push str.WT_NotiNums
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
je 0x47008b
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x10]
push eax
call fcn.0050a119
mov eax, dword [edi + 0xa8]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push str.WT_NotiData
push eax
call fcn.0046f963
add esp, 0x10
test eax, eax
je 0x47008b
push 0
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00509d05
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 3
call fcn.00509d05
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0046fcf3
dec dword [ebp - 0x1c]
jne 0x46ffe6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00509f90
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00509f90
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret