joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f5a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00497150
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x4000
lea eax, [ebp - 0x4004]
mov esi, ecx
push 0
push eax
call fcn.004d82b0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x40f692
lea eax, [ebp - 0x4008]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x40f692
cmp eax, 0x3fff
ja 0x40f692
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40f692
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x53152c
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40f692
push 0x208
push 0
push 0x5545e8
call fcn.004d82b0
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0x103
push 0x5545e8
call fcn.0040f510
add esp, 0x28
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004965ac
mov esp, ebp
pop ebp
ret

Function at 0x40f7f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x40f86e
test esi, esi
je 0x40f86e
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x40f86e
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40f868
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40f868
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004965ac
mov esp, ebp
pop ebp
ret
Function at 0x40fff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53cde0
push 0x4d7b10
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x548394]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004d82b0
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41010b
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004d82b0
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41010b
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x107
jge 0x41010b
push 0x107
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041013d
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret 4
Function at 0x410260
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53ce20
push 0x4d7b10
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x548394]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [edx], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4102d6
cmp dword [ebp - 0x2c], edi
je 0x4102d6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41030e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x4103f0
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4103f0
cmp dword [ebp - 0x2c], 0
je 0x4103f0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x4103f0
cmp dword [ebp - 0x30], eax
jbe 0x4103f0
call esi
cmp eax, 0x7a
jne 0x4103f0
push dword [ebp - 0x30]
call fcn.004e01b3
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4103f0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x2c]
call ebx
test eax, eax
je 0x4103f0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x4103f0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4103f0
cmp dword [ebp - 0x34], 0
je 0x4103f0
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x4103f0
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4103d9
inc esi
jmp 0x4103bc
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041041b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
Function at 0x412470
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502819
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x548394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], 0
cmp byte [esi + 8], 0
je 0x4124b3
call fcn.00412600
mov byte [esi + 8], 0
cmp dword [esi + 4], 0x40000000
jle 0x4124ef
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x4124d4
push eax
call fcn.004e0628
add esp, 4
mov dword [esi + 0x24], 0xffffffff
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x4124df
mov eax, dword [eax]
push eax
call fcn.004e1b87
add esp, 4
mov ecx, esi
call fcn.00412600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov eax, dword [edi + 0x10]
push 0
add eax, eax
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00413560
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
test edx, edx
je 0x412560
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
mov eax, edi
cmovae ecx, dword [ebp - 0x24]
cmp dword [edi + 0x14], 8
jb 0x41253b
mov eax, dword [edi]
push 0
push 0
push edx
push ecx
push dword [edi + 0x10]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c000
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ebx, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
cmp eax, 0x10
cmovae ebx, ecx
cmp dword [esi + 0x24], 0xffffffff
je 0x41258c
push edx
push ebx
push dword [esi + 0x24]
call fcn.004e0cf4
mov ecx, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
jmp 0x41258f
or ebx, 0xffffffff
cmp eax, 0x10
jb 0x4125bb
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4125b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4125f9
push edx
push ecx
call fcn.00496af7
add esp, 8
test ebx, ebx
jle 0x4125d6
add dword [esi + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x14], 8
jb 0x4125de
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004dbc1d
int3
Function at 0x412600
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50284b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 8
lea edi, [esi + 0xc]
lea ebx, [esi + 0x24]
jb 0x41263e
mov edi, dword [edi]
push 0x180
push 0x40
push 0x8101
push edi
push ebx
call fcn.004e18d8
add esp, 0x14
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x412767
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004d82b0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00407750
push str._error.__
push ecx
push edi
push ecx
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str.open
push eax
call fcn.004091c0
add esp, 0xc
push eax
call fcn.004091c0
add esp, 0xc
push eax
call fcn.004091c0
add esp, 8
push 0x53234c
push ecx
push dword [ebp - 0xc4]
mov ecx, eax
call fcn.004133e0
add esp, 4
push eax
call fcn.004091c0
add esp, 8
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00413320
cmp dword [eax + 0x14], 8
jb 0x4126f1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x412738
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41272e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412844
push edx
push ecx
call fcn.00496af7
add esp, 8
xor eax, eax
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00405db0
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x41277d
push 2
push 0
push eax
call fcn.004e1b39
add esp, 0xc
jmp 0x412780
or eax, 0xffffffff
mov dword [esi + 4], eax
test eax, eax
jne 0x412828
push 3
push 0x532374
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.00408940
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xc0]
mov ecx, dword [ebp - 0xc0]
cmp eax, 0x10
mov edi, dword [ebx]
cmovae edx, ecx
cmp edi, 0xffffffff
je 0x4127f2
push dword [ebp - 0xb0]
push edx
push edi
call fcn.004e0cf4
mov ecx, dword [ebp - 0xc0]
mov edi, eax
mov eax, dword [ebp - 0xac]
add esp, 0xc
jmp 0x4127f5
or edi, 0xffffffff
cmp eax, 0x10
jb 0x412821
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x412817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412849
push edx
push ecx
call fcn.00496af7
add esp, 8
test edi, edi
jle 0x412828
add dword [esi + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
call fcn.004dbc1d
call fcn.004dbc1d
int3
Function at 0x414490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502b64
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x548394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
sub eax, 0x42e
je 0x4145a6
sub eax, 1
je 0x4144eb
sub eax, 1
jne 0x4146c0
push eax
push eax
push 0x10
push dword [edi + 0x354]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4146c0
cmp dword [edi + 0x350], 0
jne 0x4146c0
push 0x324
call fcn.0049684a
mov esi, eax
mov dword [ebp + 8], esi
push 0x324
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d82b0
add esp, 0x10
mov ecx, esi
call fcn.0040e000
push 0
sub esp, 0x10
mov dword [esi], vtable.CRightMenuWnd.3.0
mov eax, esp
mov dword [esi + 0x14], vtable.CRightMenuWnd.1.0
mov dword [esi + 0x24], vtable.CRightMenuWnd.4.0
mov ecx, esi
mov dword [esi + 0x28], vtable.CRightMenuWnd.2.0
push 0x88
push SysReAllocString
mov dword [esi + 0x2c], vtable.CRightMenuWnd.0
mov dword [esi + 0x318], 0
mov dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x5332f0]
mov dword [esi + 0x31c], 0
mov dword [esi + 0x320], 0
push str.tray_menu
mov dword [esi + 0x314], edi
push 0
mov dword [edi + 0x350], esi
movups xmmword [eax], xmm0
call fcn.0042bda0
jmp 0x4146c0
cmp dword [edi + 0x34c], 0
jne 0x4146b7
cmp dword [edi + 0x350], 0
jne 0x4146b7
call fcn.00407140
push dword [eax]
push 1
push str.protect_days
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x324
mov edi, eax
call fcn.0049684a
mov esi, eax
mov dword [ebp + 8], esi
push 0x324
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004d82b0
add esp, 0x10
mov ecx, esi
call fcn.0040e000
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x5332e0]
push 0
mov dword [esi], vtable.CBlockRecordWnd.4.0
sub esp, 0x10
mov dword [esi + 0x14], vtable.CBlockRecordWnd.3.0
mov dword [esi + 0x24], vtable.CBlockRecordWnd.2.0
mov dword [esi + 0x28], vtable.CBlockRecordWnd.1.0
mov dword [esi + 0x2c], vtable.CBlockRecordWnd.0
mov dword [esi + 0x314], 0
mov dword [esi + 0x318], 0
mov dword [esi + 0x31c], 0
mov dword [esi + 0x320], ecx
mov dword [ecx + 0x34c], esi
mov dword [esi + 0x314], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x318], eax
mov eax, esp
push 0x88
push SysReAllocString
push str.block_record
mov dword [esi + 0x31c], edi
mov ecx, dword [ecx + 0x34c]
push 0
movups xmmword [eax], xmm0
call fcn.0042bda0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x354], eax
mov ecx, dword [ecx + 0x34c]
call fcn.0042c2d0
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4146e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502b90
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00414a50
call fcn.00407140
push dword [eax]
push 0
push str.first_run
push str.Default
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x41482e
call fcn.00407140
mov esi, eax
mov dword [ebp - 4], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x4148aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push 0x531cbc
push eax
call fcn.0040c140
add esp, 0xc
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
push str.first_run
push str.Default
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 4], 2
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4147ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00407140
mov esi, eax
mov dword [ebp - 4], 3
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x4148b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push 0x531cbc
push eax
call fcn.0040c140
add esp, 0xc
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
push 0x531e50
push str.auto_run
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
mov dword [ebp - 4], 5
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x414827
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00414cf0
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x61a8
push 0x402
push dword [edi + 4]
call esi
push 0
push 0x3e8
push 0x403
push dword [edi + 4]
call esi
push 0
push 0x6ddd00
push 0x401
push dword [edi + 4]
call esi
mov esi, dword [edi + 0x35c]
push 0x6c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push dword [edi + 4]
mov ecx, esi
call fcn.00419f50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404780
push 0x80004005
call fcn.00404780
int3
Function at 0x415480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502ce0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004deae0
add esp, 4
mov edi, eax
mov esi, edx
call fcn.00407140
push dword [eax]
push 1
push str.protect_time
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cdq
sub edi, eax
sbb esi, edx
mov dword [ebp - 0x14], esi
js 0x415602
jg 0x4154ee
cmp edi, 0x5265c00
jbe 0x415602
call fcn.00407140
push 0
mov esi, eax
call fcn.004deae0
add esp, 4
mov edi, eax
mov ebx, edx
mov dword [ebp - 4], 0
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x41561e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ebx
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push 0x531cbc
push eax
call fcn.0040c140
add esp, 0x10
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
push str.protect_time
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 4], 2
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415575
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00407140
mov edi, eax
push dword [edi]
push 1
push str.protect_days
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 4], 3
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x415628
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
inc esi
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 0x14]
push 0x531cbc
push eax
call fcn.0040c140
mov esi, dword [ebp - 0x14]
add esp, 0xc
push dword [edi]
push esi
push str.protect_days
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
mov dword [ebp - 4], 5
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x415602
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404780
push 0x80004005
call fcn.00404780
int3
Function at 0x415ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x548394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0x3d4
mov dword [ebp - 0x18], ebx
call fcn.0049684a
mov edi, eax
mov dword [ebp - 0x1c], edi
push 0x3d4
push 0
push edi
mov dword [ebp - 4], 0
call fcn.004d82b0
mov eax, dword [esi]
add esp, 0x10
mov byte [edi + 0x3c4], 0
mov dword [ebp - 0x18], eax
mov dword [edi + 0x3c8], 0
mov byte [ebp - 4], 2
call fcn.004049b0
mov ecx, eax
test ecx, ecx
je 0x416178
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x3cc], eax
mov byte [ebp - 4], 3
push 0x44
mov dword [edi + 0x3d0], 0
call fcn.0049684a
push 0x44
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call fcn.004d82b0
add esp, 0x10
mov dword [esi], vtable.CTrayPos.0
mov dword [esi + 0x34], 0
mov dword [esi + 0x18], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x41a710
push 0
push 0
call fcn.004e1cf0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x41a680
push 0
push 0
call fcn.004e1cf0
add esp, 0x30
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x20]
mov dword [esi], vtable.CMsgTrayPos.0
lea eax, [edi + 0x3c8]
cmp eax, ecx
je 0x416132
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
je 0x41613f
mov byte [ebp - 4], 4
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x41613f
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0041a7a0
push 0x3bc
push 0
push edi
call fcn.004d82b0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [edi + 0x3d0], eax
mov eax, ebx
mov dword [ebx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004965ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404780
int3