joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dc30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e50db
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48dcd2
cmp edi, ebp
je 0x48dca9
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48dcb6
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48dde8
cmp edi, ebp
je 0x48dcdf
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48dcec
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48dd86
cmp esi, 1
jne 0x48dd7d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48dd74
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48dd42
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48dda9
cmp edi, ebp
jne 0x48ddc2
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.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48dc4d
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e50db
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48dcd2
cmp edi, ebp
je 0x48dca9
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48dcb6
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48dde8
cmp edi, ebp
je 0x48dcdf
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48dcec
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48dd86
cmp esi, 1
jne 0x48dd7d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48dd74
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48dd42
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48dda9
cmp edi, ebp
jne 0x48ddc2
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.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48df30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x51347c]
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.004d3a22
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.00467260
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp eax, 1
jl 0x48dfd9
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.004d4b16
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ecx*4 + 4]
push eax
call fcn.004b04d9
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x48e2d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e51ab
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48e372
cmp edi, ebp
je 0x48e349
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48e356
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48e488
cmp edi, ebp
je 0x48e37f
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48e38c
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48e426
cmp esi, 1
jne 0x48e41d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48e414
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48e3e2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48e449
cmp edi, ebp
jne 0x48e462
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.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48e2ed
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e51ab
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48e372
cmp edi, ebp
je 0x48e349
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48e356
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48e488
cmp edi, ebp
je 0x48e37f
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48e38c
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48e426
cmp esi, 1
jne 0x48e41d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48e414
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48e3e2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48e449
cmp edi, ebp
jne 0x48e462
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.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48e5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e51e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x51347c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push str.select__from_IRSLOG_where_DM___s_and_PS___s_and_KY___s_
push edx
call fcn.004d3a22
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push edx
mov edx, dword [edi + 8]
push eax
push ecx
push edx
call fcn.00467260
mov eax, dword [esp + 0x3c]
add esp, 0x2c
cmp eax, 1
jl 0x48e671
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + eax*4 + 0x14]
lea ecx, [esi + 0x10]
push edx
call fcn.004d4b16
mov ebx, 1
mov eax, dword [esp + 0x18]
push eax
call fcn.0043fff0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00467560
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x48f230
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e538b
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48f2d2
cmp edi, ebp
je 0x48f2a9
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48f2b6
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48f3e8
cmp edi, ebp
je 0x48f2df
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48f2ec
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48f386
cmp esi, 1
jne 0x48f37d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48f374
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48f342
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48f3a9
cmp edi, ebp
jne 0x48f3c2
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___SDM_varchar_256___RDM_varchar_256___RSDM_varchar_256___
push ecx
call fcn.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48f24d
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e538b
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.00490230
mov ebx, eax
push ebx
call fcn.004902a0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0048cbc0
add esp, 0x10
cmp eax, ebp
je 0x48f2d2
cmp edi, ebp
je 0x48f2a9
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48f2b6
push ebx
call fcn.004afcac
add esp, 4
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call fcn.004dc440
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x48f3e8
cmp edi, ebp
je 0x48f2df
push edi
call fcn.004afcac
add esp, 4
cmp ebx, ebp
je 0x48f2ec
push ebx
call fcn.004afcac
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.004d49fb
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.00467260
mov eax, dword [esp + 0x28]
mov esi, 1
add esp, 0x18
cmp eax, esi
jl 0x48f386
cmp esi, 1
jne 0x48f37d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x20]
push edx
call fcn.004d49fb
mov eax, dword [esp + 0x20]
push 0x50b4b0
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
jne 0x48f374
mov edi, esi
lea ecx, [esp + 0x20]
call fcn.004d498d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x48f342
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043fff0
mov edx, dword [esp + 0x28]
push edx
call fcn.00467560
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, ebp
je 0x48f3a9
cmp edi, ebp
jne 0x48f3c2
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___SDM_varchar_256___RDM_varchar_256___RSDM_varchar_256___
push ecx
call fcn.00465a00
add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
call fcn.0048b5c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.004d498d
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 0x48f530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e53c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x51347c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str.select__from_IRSLOG_where_DM___s_and_PS___s_and_KY___s_and_SDM_s_and_RDM_s_and_RSDM_s_
push edx
call fcn.004d3a22
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x54]
push edx
mov edx, dword [edi + 8]
push eax
push ecx
push edx
call fcn.00467260
mov eax, dword [esp + 0x48]
add esp, 0x38
cmp eax, 1
jl 0x48f5dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + eax*4 + 0x14]
lea ecx, [esi + 0x1c]
push edx
call fcn.004d4b16
mov ebx, 1
mov eax, dword [esp + 0x18]
push eax
call fcn.0043fff0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00467560
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x48f620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e53e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x51347c]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str.insert_into_IRSLOG_DM_UT_PS_KY_VE_FG_SDM_RDM_RSDM_values__s__s__s__s__s__s__s__s__s__
push ecx
call fcn.004d3a22
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x34]
push edx
push 0
push 0
push eax
push ecx
call fcn.00465a00
mov edx, dword [esp + 0x48]
add esp, 0x40
push edx
call fcn.0043fff0
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x48f6e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e5408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x51347c]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str.Update_IRSLOG_Set_VE_s_UT_s_FG_s_Where_SDM_sand_RDM_s_and_RSDM_s_and_DM_s_and_PS_s_and_KY_s
push ecx
call fcn.004d3a22
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x34]
push edx
push 0
push 0
push eax
push ecx
call fcn.00465a00
mov edx, dword [esp + 0x48]
add esp, 0x40
push edx
call fcn.0043fff0
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4