joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438ca0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4e4c4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push 0
push 0
push 0
push 0xa2
mov dword [esp + 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 5
call edi
push 0
push 0
push 0
push 0x4c
call esi
push 5
call edi
push 0
push 2
push 0
push 0x4c
call esi
push 5
call edi
push 0
push 2
push 0
push 0xa2
call esi
push 5
call edi
push 0x5188e8
lea ecx, [esp + 0x10]
call fcn.004d489b
mov ebp, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
mov dword [esp + 0x20], 1
call ebp
test eax, eax
je 0x438d3d
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 0
push 0xa2
call esi
push 5
call edi
push 0
push 0
push 0
push 0x43
call esi
push 5
call edi
push 0
push 2
push 0
push 0x43
call esi
push 5
call edi
push 0
push 2
push 0
push 0xa2
call esi
push 5
call edi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 8
push eax
call esi
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 7
push ecx
call esi
push 0
call ebp
test eax, eax
je 0x438dd9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x438dcd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x438dcd
push eax
lea ecx, [esp + 0x10]
call fcn.004d49b6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004d45a2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.004d482d
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x43a130
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x439730
push 0
push 0
call fcn.004af3a5
add esp, 0x1c
ret
Function at 0x447470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
jne 0x4474a1
mov ecx, dword [esi + 0x78]
push ecx
push eax
push esi
call fcn.004475e0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4475b0
mov ebx, eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jbe 0x4474dd
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.004b0480
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
push edx
push 5
push eax
call fcn.004475c0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], ecx
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4475a6
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 0x18]
cmp edi, eax
ja 0x44759b
test byte [ebp + 0x18], 0x20
jne 0x44759b
mov eax, dword [esi + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.004b0480
cmp edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x44752b
push ebp
call fcn.004470a0
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x80]
mov ebx, dword [ebp + 4]
push edx
mov edx, dword [esi + 0x3c]
push eax
push ecx
push ebx
push edx
call fcn.00445b80
add esp, 0x14
cmp edi, 1
mov dword [esp + 0x1c], eax
jne 0x447571
add ebx, 0x18
lea eax, [esi + 0x64]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
cmp edi, dword [esi + 0x20]
jbe 0x447579
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0x58]
inc edx
mov dword [esi + 0xa8], edx
mov eax, dword [ebp + 4]
push eax
push edi
push ecx
call fcn.0044e2a0
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x4474e1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x44ad00
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebp, dword [esi + 0x60]
cmp ebx, ebp
jle 0x44ae01
mov al, byte [esi + 6]
test al, al
je 0x44ae01
mov ecx, dword [esi + 0x5c]
lea eax, [ebx + ebx*2]
shl eax, 4
push eax
push ecx
call fcn.00440210
mov edx, eax
add esp, 8
test edx, edx
jne 0x44ad45
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
lea eax, [ebp + ebp*2]
shl eax, 4
lea edi, [eax + edx]
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x14], edi
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 4
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x5c], edx
jge 0x44ae01
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x40]
cmp dword [eax], 0
je 0x44ada9
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x44ada9
jg 0x44ada1
test ecx, ecx
jbe 0x44ada9
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x44adb6
mov ecx, dword [esi + 0x7c]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x34]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.00445e90
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x44ad3b
push esi
call fcn.00446250
add esp, 4
test eax, eax
je 0x44adf2
mov edx, dword [esi + 0xb8]
lea ecx, [edi + 4]
push ecx
push edx
call fcn.0044ae80
add esp, 8
lea eax, [ebp + 1]
add edi, 0x30
mov ebp, eax
mov dword [esi + 0x60], eax
cmp ebp, ebx
jl 0x44ad83
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x45b620
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
test ecx, ecx
jne 0x45b6d9
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebx + 0x40]
mov ebp, dword [ebx + 0x38]
lea edi, [ecx + edx*2]
xor ecx, ecx
mov cl, byte [ebx + 5]
xor edx, edx
mov ah, byte [edi]
mov esi, ecx
mov al, byte [edi + 1]
mov dword [esp + 0x14], esi
mov dh, byte [esi + ebp + 5]
mov dl, byte [esi + ebp + 6]
cmp eax, edx
jb 0x45b6c6
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [ebx + 0x34]
cmp edx, dword [ecx + 0x24]
ja 0x45b6c6
mov edx, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.0045b6e0
add esp, 0xc
test eax, eax
jne 0x45b6d3
mov eax, dword [ebx + 0x40]
xor edx, edx
mov dx, word [ebx + 0x10]
lea ecx, [eax + edx*2 - 2]
cmp edi, ecx
jae 0x45b6a5
sub ecx, edi
lea esi, [edi + 2]
inc ecx
shr ecx, 1
rep movsw word es:[edi], word [esi]
mov esi, dword [esp + 0x14]
dec word [ebx + 0x10]
mov ax, word [ebx + 0x10]
xor ecx, ecx
pop edi
mov cl, ah
mov byte [esi + ebp + 3], cl
mov dl, byte [ebx + 0x10]
mov byte [esi + ebp + 4], dl
add word [ebx + 0xe], 2
pop esi
pop ebp
pop ebx
ret
push 0xd259
call fcn.0048d590
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bc80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
push ecx
call fcn.0045be40
mov ebp, dword [esi + 0x38]
xor ecx, ecx
mov cx, word [esi + 0x10]
mov ebx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x34]
xor edx, edx
xor eax, eax
mov dl, byte [esi + 5]
mov ax, word [esi + 0xc]
mov esi, dword [ecx + 0x24]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x14], esi
mov cl, byte [edx + ebp + 6]
mov dword [esp + 0x28], ebx
mov edi, ecx
mov ecx, esi
sub ecx, edi
add esp, 4
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x2c], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
mov dword [esp + 0x18], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
lea edi, [eax + ecx*2]
mov dword [esp + 0x20], edi
jle 0x45bdb5
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x45bd17
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
mov esi, edx
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x45be1f
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp esi, eax
jg 0x45be1f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
add esi, ecx
push esi
push edx
call fcn.0045ad40
and eax, 0xffff
add esp, 8
sub ebx, eax
cmp ebx, edi
jl 0x45be0a
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jg 0x45be0a
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x45bd0f
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, ebx
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
sub ebx, edi
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov ecx, ebx
mov byte [edx + ebp + 7], 0
mov edx, ecx
xor eax, eax
add edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x34]
xor eax, eax
mov ax, word [ecx + 0xe]
cmp ebx, eax
je 0x45be34
push 0xc12d
call fcn.0048d590
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc11c
call fcn.0048d590
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0xc110
call fcn.0048d590
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x461550
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x48]
mov edi, dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x461577
mov ecx, dword [esp + 0x20]
push edi
push eax
push ecx
push esi
call fcn.0045f4c0
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4615a8
mov cx, word [esi + 6]
xor eax, eax
mov word [edi + 4], cx
and ecx, 0xffff
jle 0x4615a4
mov edx, dword [edi + 0x10]
add edx, 0x1c
test byte [edx], 1
jne 0x4615c4
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x461597
or byte [edi + 6], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push eax
push ecx
call fcn.0045f5e0
mov edx, dword [esp + 0x30]
add esp, 0xc
pop edi
pop esi
mov dword [edx], eax
ret
mov edx, dword [esp + 0x24]
pop edi
pop esi
mov dword [edx], 0xffffffff
ret

Function at 0x462fd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x462ffc
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x4eec10]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x462fe0
pop ebx
pop esi
ret
Function at 0x48dcf0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e4f7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov eax, dword [esi + 4]
push 0x4000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
setne dl
xor ebp, ebp
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
call fcn.004902f0
mov ebx, eax
push ebx
call fcn.00490360
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cc80
add esp, 0x10
cmp eax, ebp
je 0x48dd92
cmp edi, ebp
je 0x48dd69
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48dd76
push ebx
call fcn.004afb4c
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc2e0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48dea8
cmp edi, ebp
je 0x48dd9f
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48ddac
push ebx
call fcn.004afb4c
add esp, 4
push str.select_count___from__sqlite_master_where_typetable_and_nameActiveTimeLog
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.004d489b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0xdc], ebp
call fcn.00467320
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48de46
cmp esi, 1
jne 0x48de3d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d489b
mov eax, dword [esp + 0x20]
push 0x50b4d8
push eax
call fcn.004aea96
add esp, 8
test eax, eax
jne 0x48de34
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d482d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48de02
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004400b0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467620
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48de69
cmp edi, ebp
jne 0x48de82
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push str.create_table_ActiveTimeLog_Date_varchar_256__ActiveTime_INTEGER__
push ecx
call fcn.00465ac0
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b680
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d482d
mov eax, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret
Function at 0x48dd0d
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e4f7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov eax, dword [esi + 4]
push 0x4000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
setne dl
xor ebp, ebp
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
call fcn.004902f0
mov ebx, eax
push ebx
call fcn.00490360
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cc80
add esp, 0x10
cmp eax, ebp
je 0x48dd92
cmp edi, ebp
je 0x48dd69
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48dd76
push ebx
call fcn.004afb4c
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc2e0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48dea8
cmp edi, ebp
je 0x48dd9f
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48ddac
push ebx
call fcn.004afb4c
add esp, 4
push str.select_count___from__sqlite_master_where_typetable_and_nameActiveTimeLog
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.004d489b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0xdc], ebp
call fcn.00467320
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48de46
cmp esi, 1
jne 0x48de3d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d489b
mov eax, dword [esp + 0x20]
push 0x50b4d8
push eax
call fcn.004aea96
add esp, 8
test eax, eax
jne 0x48de34
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d482d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48de02
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004400b0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467620
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48de69
cmp edi, ebp
jne 0x48de82
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push str.create_table_ActiveTimeLog_Date_varchar_256__ActiveTime_INTEGER__
push ecx
call fcn.00465ac0
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b680
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d482d
mov eax, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret
Function at 0x48dff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x513458]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
push edx
lea eax, [esp + 0xc]
push str.select__from_ActiveTimeLog_where_Date___s_
push eax
call fcn.004d38c2
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
push eax
call fcn.00467320
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp eax, 1
jl 0x48e099
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + edx*4]
mov ecx, esi
push eax
call fcn.004d49b6
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx*4 + 4]
push eax
call fcn.004b0379
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004400b0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467620
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004d482d
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x48e3b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e504b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov eax, dword [esi + 4]
push 0x4000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
setne dl
xor ebp, ebp
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
call fcn.004902f0
mov ebx, eax
push ebx
call fcn.00490360
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cc80
add esp, 0x10
cmp eax, ebp
je 0x48e452
cmp edi, ebp
je 0x48e429
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48e436
push ebx
call fcn.004afb4c
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc2e0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48e568
cmp edi, ebp
je 0x48e45f
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48e46c
push ebx
call fcn.004afb4c
add esp, 4
push str.select_count___from__sqlite_master_where_typetable_and_nameIRSLOG
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.004d489b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0xdc], ebp
call fcn.00467320
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48e506
cmp esi, 1
jne 0x48e4fd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d489b
mov eax, dword [esp + 0x20]
push 0x50b4d8
push eax
call fcn.004aea96
add esp, 8
test eax, eax
jne 0x48e4f4
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d482d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48e4c2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004400b0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467620
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48e529
cmp edi, ebp
jne 0x48e542
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push str.create_table_IRSLOG_LOGID_integer_PRIMARY_KEY_autoincrement_DM_varchar_256__UT_varchar_256__PS_varchar_256___KY_varchar_256___VE_varchar_2048___FG_varchar_10___
push ecx
call fcn.00465ac0
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b680
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d482d
mov eax, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret
Function at 0x48e3cd
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e504b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x34]
mov eax, dword [esi + 4]
push 0x4000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [esi + 4]
setne dl
xor ebp, ebp
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
call fcn.004902f0
mov ebx, eax
push ebx
call fcn.00490360
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cc80
add esp, 0x10
cmp eax, ebp
je 0x48e452
cmp edi, ebp
je 0x48e429
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48e436
push ebx
call fcn.004afb4c
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc2e0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48e568
cmp edi, ebp
je 0x48e45f
push edi
call fcn.004afb4c
add esp, 4
cmp ebx, ebp
je 0x48e46c
push ebx
call fcn.004afb4c
add esp, 4
push str.select_count___from__sqlite_master_where_typetable_and_nameIRSLOG
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
xor edi, edi
call fcn.004d489b
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0xdc], ebp
call fcn.00467320
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48e506
cmp esi, 1
jne 0x48e4fd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d489b
mov eax, dword [esp + 0x20]
push 0x50b4d8
push eax
call fcn.004aea96
add esp, 8
test eax, eax
jne 0x48e4f4
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d482d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48e4c2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004400b0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467620
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48e529
cmp edi, ebp
jne 0x48e542
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ebp
push ebp
push str.create_table_IRSLOG_LOGID_integer_PRIMARY_KEY_autoincrement_DM_varchar_256__UT_varchar_256__PS_varchar_256___KY_varchar_256___VE_varchar_2048___FG_varchar_10___
push ecx
call fcn.00465ac0
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b680
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d482d
mov eax, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret