Function at 0x441880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
push esi
push edi
push ebp
movsx eax, byte [ebp + 0x44]
mov esi, dword [ebp + eax*4 + 0x78]
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
call fcn.00463fd0
mov eax, dword [esp + 0x1c]
add esp, 4
mov edi, dword [ebp + 0x18]
movzx edx, word [ebp + 0x20]
mov ecx, dword [esi + 0x38]
add ecx, dword [eax + 0x24]
mov dword [esp + 0x24], edi
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x4418e9
push 0x4df4a4
push 0xe37b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043b3c0
add esp, 0x10
lea eax, [ebx + 0xb]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
cmp ebp, edx
jae 0x441962
lea eax, [esi + ebp]
mov edi, esi
cmp eax, edx
jbe 0x441902
mov edi, edx
sub edi, ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x48]
mov eax, dword [esp + 0x24]
add eax, ebp
test byte [esp + 0x44], 1
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x28], eax
je 0x441935
push ecx
call fcn.00495010
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x441942
push edi
push ebp
push dword [esp + 0x30]
jmp 0x441938
push edi
push eax
push ebp
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x40]
sub esi, edi
add eax, edi
mov dword [esp + 0x20], esi
xor ebp, ebp
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x441b47
mov edi, dword [esp + 0x24]
jmp 0x441970
mov eax, dword [esp + 0x40]
sub ebp, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x441b47
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0x24]
movzx eax, word [ecx + 0x20]
sub edx, 4
cmp dword [esp + 0x44], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
mov edi, dword [eax + edi]
bswap edi
mov dword [esp + 0x10], edi
je 0x441a12
test byte [ecx + 0x40], 4
jne 0x441a18
mov eax, dword [ecx + 0x1c]
sub eax, dword [esp + 0x28]
dec eax
add eax, edx
xor edx, edx
div dword [esp + 0x14]
mov dword [esp + 0x24], eax
cmp eax, dword [ecx + 0x38]
jle 0x4419f9
lea ecx, [eax*8]
mov eax, dword [esp + 0x34]
push 0
push ecx
push dword [eax + 0xc]
call fcn.004992d0
mov ecx, dword [esp + 0x40]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x4419e9
lea ebx, [eax + 7]
jmp 0x441a12
mov eax, dword [esp + 0x24]
add eax, eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push 0
push dword [ecx + 0xc]
call sub.MSVCRT.dll_memset
mov ecx, dword [esp + 0x40]
add esp, 0xc
or byte [ecx + 0x40], 4
test byte [ecx + 0x40], 4
je 0x441a3a
xor edx, edx
mov eax, ebp
div dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0xc]
cmp dword [edx + eax*4], 0
je 0x441a3a
mov edi, dword [edx + eax*4]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
jmp 0x441a3c
xor eax, eax
test ebx, ebx
jne 0x441b47
lea edx, [eax*4]
mov dword [esp + 0x24], edx
nop
test esi, esi
je 0x441b51
test edi, edi
je 0x441b51
test byte [ecx + 0x40], 4
je 0x441a6c
mov eax, dword [ecx + 0xc]
mov dword [edx + eax], edi
mov edx, dword [esp + 0x14]
cmp ebp, edx
jb 0x441ab2
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x441a90
mov edi, eax
sub ebp, edx
mov dword [esp + 0x10], edi
jmp 0x441b30
lea eax, [esp + 0x10]
push eax
push 0
push edi
push dword [esp + 0x24]
call fcn.00464a80
mov edx, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x10]
mov ebx, eax
sub ebp, edx
jmp 0x441b30
lea eax, [esi + ebp]
mov ebx, esi
cmp eax, edx
jbe 0x441abf
mov ebx, edx
sub ebx, ebp
mov eax, dword [esp + 0x44]
add eax, eax
not eax
and eax, 2
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push edi
push dword [eax]
call fcn.004932f0
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
jne 0x441b22
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
push esi
and eax, 1
mov ecx, dword [esi + 4]
push eax
push ebx
push dword [esp + 0x28]
mov edi, dword [ecx]
lea eax, [ecx + 4]
add eax, ebp
bswap edi
push eax
mov dword [esp + 0x24], edi
call fcn.0044be30
push esi
mov dword [esp + 0x40], eax
call fcn.00494f30
mov esi, dword [esp + 0x38]
add esp, 0x18
xor ebp, ebp
sub esi, ebx
add dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, 4
mov dword [esp + 0x24], edx
test ebx, ebx
je 0x441a50
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret
test ebx, ebx
jne 0x441b47
test esi, esi
je 0x441b47
push 0x4df4a4
push 0xe416
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043b3c0
add esp, 0x10
lea eax, [ebx + 0xb]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret