Function at 0x4866f0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x5aa038
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x486734
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
lea eax, [esp + 0xc]
push eax
call fcn.004866d0
mov eax, dword [eax]
push eax
mov dword [esp + 0x20], 0
call fcn.004887d0
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48677b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4867b7
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004866d0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4867b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
test eax, eax
je 0x48691d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Section_Open
push eax
call edi
mov ecx, dword [esi + 4]
push str.Section_Duplicate
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.Section_Close
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.Section_Insert
push eax
call edi
mov ecx, dword [esi + 4]
push str.Section_Restore
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 4]
push str.Section_DeleteBatchInfo
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.Section_GetNextRecord
push eax
call edi
mov ecx, dword [esi + 4]
push str.Section_DeleteRecord
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 4]
push str.Section_GetModifyId
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.Section_SetMaxSize
push eax
call edi
mov ecx, dword [esi + 4]
push str.Section_GetMaxSize
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 4]
push str.Section_GetTotalFileSize
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.Section_GetRecordCount
push eax
call edi
mov ecx, dword [esi + 4]
push str.Section_DeleteRecords
push ecx
mov dword [esi + 0x40], eax
call edi
cmp dword [esi + 0x10], 0
mov dword [esi + 0x44], eax
je 0x486916
cmp dword [esi + 0x14], 0
je 0x486916
cmp dword [esi + 0x18], 0
je 0x486916
cmp dword [esi + 0x1c], 0
je 0x486916
cmp dword [esi + 0x20], 0
je 0x486916
cmp dword [esi + 0x24], 0
je 0x486916
cmp dword [esi + 0x28], 0
je 0x486916
cmp dword [esi + 0x2c], 0
je 0x486916
cmp dword [esi + 0x30], 0
je 0x486916
cmp dword [esi + 0x34], 0
je 0x486916
cmp dword [esi + 0x38], 0
je 0x486916
cmp dword [esi + 0x3c], 0
je 0x486916
cmp dword [esi + 0x40], 0
je 0x486916
test eax, eax
je 0x486916
mov ecx, esi
call fcn.00486420
test eax, eax
je 0x486916
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4868fc
mov edx, dword [esi + 8]
push 0xfffffff
push edx
call eax
mov eax, 1
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, esi
call fcn.004863c0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret