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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 4], edx
mov ebx, ecx
mov ecx, dword [esp + 4]
mov edx, eax
push esi
push edi
xor esi, esi
and edx, 1
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
cmp ecx, 1
jbe 0x48d229
cmp byte [ebx + 0x16], 0
je 0x48d229
cmp byte [ebx + 0x10], 1
je 0x48d21f
test al, 2
je 0x48d229
mov dword [esp + 0x24], 1
jmp 0x48d22d
mov dword [esp + 0x24], esi
cmp ecx, 1
ja 0x48d25b
test ecx, ecx
jne 0x48d25b
push 0x6f29f0
push 0xbca3
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00482f10
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x48d269
mov esi, eax
jmp 0x48d530
cmp dword [esp + 0x24], esi
je 0x48d423
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x48d2a6
lea edx, [esp + 0x14]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004903e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48d680
cmp dword [esp + 0x14], edi
jne 0x48d423
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x98]
lea edx, [esp + 0x10]
mov esi, dword [ebx + 0x3c]
dec ecx
push edx
push eax
push 0
cdq
push ecx
push edx
mov dword [esp + 0x24], edi
mov edi, dword [esi]
push eax
mov dword [esp + 0x40], ecx
call fcn.0063e790
push edx
push eax
mov eax, dword [edi + 0x44]
push esi
call eax
mov esi, eax
add esp, 0x14
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x48d680
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x48d423
cmp byte [ebx + 0x10], 1
mov edi, dword [esp + 0xc]
jbe 0x48d348
mov edx, edi
mov ecx, ebx
call fcn.0048d6b0
mov dword [esp + 0x20], eax
test eax, eax
je 0x48d340
push dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x30]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.0063e790
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
jmp 0x48d405
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x20], esi
test esi, esi
je 0x48d37d
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x88], eax
mov dword [esi + 0xc], 0
movzx eax, word [ebx + 0x8c]
push eax
push 0
push dword [esi + 8]
call fcn.006440e0
add esp, 0xc
jmp 0x48d3f6
movzx eax, word [ebx + 0x8c]
cdq
add eax, 0x28
mov dword [esp + 0x2c], eax
adc edx, 0
push edx
push eax
call fcn.00480960
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
je 0x48d3b6
push dword [esp + 0x2c]
push 0
push esi
call fcn.006440e0
add esp, 0xc
test esi, esi
jne 0x48d3e6
mov eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x98]
push 0
push dword [esp + 0x30]
mov edi, dword [esi]
cdq
push edx
push eax
call fcn.0063e790
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov esi, 7
jmp 0x48d405
lea eax, [esi + 0x28]
mov dword [esi + 0x18], 0x10040
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor esi, esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x48d41b
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x48d680
mov ecx, dword [ebx + 0xcc]
mov edi, dword [esp + 0xc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x7272d4]
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x48d4fd
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x1d], 2
je 0x48d4ea
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x48d484
nop dword [eax]
cmp word [ecx + 0x1a], 0
jne 0x48d47d
test byte [ecx + 0x18], 8
je 0x48d484
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x48d470
mov dword [eax + 8], ecx
test ecx, ecx
jne 0x48d4a2
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48d4c3
cmp word [ecx + 0x1a], 0
je 0x48d4a2
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x48d492
jmp 0x48d4c3
push ecx
push dword [eax + 0x24]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x48d4bf
cmp esi, 5
je 0x48d4bf
mov eax, dword [esp + 0x2c]
jmp 0x48d4de
mov eax, dword [esp + 0x28]
push 2
push edi
push dword [eax + 0x28]
call dword [0x7272d4]
xor esi, esi
add esp, 0xc
test eax, eax
mov ecx, 7
cmove esi, ecx
test esi, esi
jne 0x48d680
test eax, eax
jne 0x48d4fd
mov edi, dword [ebp + 8]
mov esi, 7
mov dword [edi], 0
jmp 0x48d683
mov edi, dword [eax + 4]
mov ecx, dword [ebx + 0xcc]
cmp dword [edi], 0
jne 0x48d51c
mov edx, dword [esp + 0xc]
push eax
call fcn.004886d0
add esp, 4
mov edi, eax
jmp 0x48d523
inc dword [ecx + 0xc]
inc word [edi + 0x1a]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [eax], edi
test esi, esi
jne 0x48d680
cmp dword [edi + 0x10], esi
je 0x48d550
test edx, edx
jne 0x48d550
inc dword [ebx + 0xb8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], ebx
cmp ecx, 0x7fffffff
ja 0x48d63a
mov eax, dword [0x72806c]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp ecx, eax
je 0x48d63a
cmp byte [ebx + 0xf], 0
mov edx, dword [esp + 0x18]
jne 0x48d5d5
cmp dword [ebx + 0x18], ecx
jb 0x48d5d5
test edx, edx
jne 0x48d5d5
mov eax, dword [ebx + 0x3c]
cmp dword [eax], edx
je 0x48d5d5
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x48d5b9
cmp dword [esp + 0x24], edx
jne 0x48d5b9
lea edx, [esp + 0x14]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004903e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48d658
mov edx, dword [esp + 0x14]
mov ecx, edi
inc dword [ebx + 0xbc]
call fcn.0048b5b0
mov esi, eax
test esi, esi
je 0x48d631
jmp 0x48d658
cmp ecx, dword [ebx + 0x9c]
jbe 0x48d5e4
mov esi, 0xd
jmp 0x48d658
test edx, edx
je 0x48d61e
mov eax, dword [0x73449c]
test eax, eax
je 0x48d5f7
call eax
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x1c]
ja 0x48d60a
mov edx, ecx
mov ecx, dword [ebx + 0x38]
call fcn.00488070
mov ecx, dword [esp + 0xc]
mov edx, ecx
mov ecx, ebx
call fcn.0048a5e0
mov eax, dword [0x7344a0]
test eax, eax
je 0x48d61e
call eax
push dword [ebx + 0x98]
push 0
push dword [edi + 4]
call fcn.006440e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6f29f0
push 0xbcfc
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00482f10
add esp, 0x10
mov esi, 0xb
test byte [edi + 0x18], 2
je 0x48d667
mov dl, 1
mov ecx, edi
call fcn.004885a0
mov eax, dword [edi + 0x1c]
push 1
dec dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
push dword [edi]
push dword [eax + 0x28]
call dword [0x7272d8]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x78], 0
jne 0x48d69c
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x48d69c
mov ecx, ebx
call fcn.0048aac0
mov dword [edi], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret