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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x49], 1
jne 0x44ea7a
mov cl, byte [edi + 0x48]
test cl, 2
je 0x44ea7a
mov eax, dword [edi + 0x78]
cmp byte [eax + 2], 0
je 0x44ea7a
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
cmp edx, esi
jne 0x44ea59
cmp eax, ebx
jne 0x44ea59
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
test cl, 8
je 0x44ea7a
cmp eax, ebx
jg 0x44ea7a
jl 0x44ea68
cmp edx, esi
jae 0x44ea7a
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0xffffffff
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x44ea93
push ebx
call fcn.00476de0
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebx + 7], 0
jmp 0x44ea9a
mov dword [ebp - 0x10], 0
push edi
call fcn.0043d4f0
add esp, 4
test eax, eax
jne 0x44ee79
cmp byte [edi + 0x49], al
je 0x44ea68
mov eax, 1
sub eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
movsx eax, word [edi + 0x4c]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [edi + eax*4 + 0x78]
mov dword [ebp - 8], edx
movzx esi, word [edx + 0x12]
dec esi
mov ebx, esi
mov dword [ebp - 0x18], esi
sar ebx, cl
cmp dword [ebp - 0x10], 0
mov word [edi + eax*2 + 0x4e], bx
jne 0x44ec10
mov al, byte [edx + 3]
mov ecx, dword [edx + 0x40]
mov byte [ebp - 1], al
movzx eax, byte [edx + 7]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
movzx eax, byte [ecx + ebx*2]
movzx ecx, byte [ecx + ebx*2 + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [edx + 0x14]
and eax, ecx
add eax, dword [ebp - 0x18]
add eax, dword [edx + 0x38]
cmp byte [ebp - 1], 0
je 0x44eb3f
cmp byte [eax], 0x80
jb 0x44eb3e
mov ecx, dword [edx + 0x3c]
nop dword [eax]
inc eax
cmp eax, ecx
jae 0x44edeb
cmp byte [eax], 0x80
jae 0x44eb30
inc eax
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0045c660
mov ecx, dword [ebp - 0x24]
add esp, 8
mov eax, dword [ebp - 0x28]
cmp ecx, dword [ebp + 0x14]
jg 0x44ebb2
jl 0x44eb60
mov edx, dword [ebp + 0x10]
cmp eax, edx
jae 0x44ebb5
lea edx, [ebx + 1]
mov dword [ebp - 0xc], edx
cmp edx, esi
jle 0x44ebca
or edi, 0xffffffff
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x44ee1d
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 8]
movzx eax, word [ebx + 0x12]
cmp edx, eax
jl 0x44ed8b
movzx ecx, byte [ebx + 6]
add ecx, dword [ebx + 0x38]
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
jmp 0x44edbe
mov edx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jl 0x44ebe1
jg 0x44ebc0
cmp eax, edx
jbe 0x44ebe1
mov edx, dword [ebp - 0xc]
lea esi, [ebx - 1]
cmp edx, esi
jg 0x44ebda
mov ecx, dword [ebp - 0x20]
lea ebx, [esi + edx]
mov edx, dword [ebp - 8]
sar ebx, 1
jmp 0x44eb01
mov edi, 1
jmp 0x44eb6d
or byte [edi + 0x48], 2
mov dword [edi + 0x18], eax
movsx eax, word [edi + 0x4c]
mov dword [edi + 0x1c], ecx
mov word [edi + eax*2 + 0x4e], bx
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x44ee10
mov edx, ebx
mov dword [ebp - 0xc], edx
jmp 0x44eb7d
mov eax, dword [edx + 0x40]
movzx edi, byte [edx + 7]
movzx ecx, byte [eax + ebx*2 + 1]
movzx eax, byte [eax + ebx*2]
shl eax, 8
or ecx, eax
movzx eax, word [edx + 0x14]
and ecx, eax
mov eax, dword [ebp - 8]
add ecx, edi
add ecx, dword [edx + 0x38]
movzx eax, byte [eax + 8]
movzx edx, byte [ecx]
cmp edx, eax
ja 0x44ec53
push dword [ebp + 0xc]
lea eax, [ecx + 1]
push eax
push edx
call dword [ebp - 0x10]
add esp, 0xc
mov edi, eax
jmp 0x44ed5b
mov al, byte [ecx + 1]
test al, al
js 0x44ec85
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
cmp edx, eax
ja 0x44ec85
push dword [ebp + 0xc]
lea eax, [ecx + 2]
push eax
push edx
call dword [ebp - 0x10]
add esp, 0xc
mov edi, eax
jmp 0x44ed5b
mov esi, dword [ebp + 8]
sub ecx, edi
add esi, 0x18
push esi
push ecx
push dword [ebp - 8]
call fcn.0042c9b0
mov edi, dword [esi]
add esp, 0xc
mov eax, edi
mov dword [ebp - 0x20], edi
cdq
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x44ee65
test edx, edx
ja 0x44ee65
jb 0x44ecc4
cmp esi, 0x7fffff00
jae 0x44ee65
cmp dword [0x4d6c18], 0
je 0x44ed07
mov eax, dword [0x4d8690]
test eax, eax
je 0x44ece0
push eax
call dword [0x4d6c6c]
add esp, 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0043cf20
mov eax, dword [0x4d8690]
add esp, 8
test eax, eax
je 0x44ed02
push eax
call dword [0x4d6c74]
mov esi, dword [ebp - 0x14]
jmp 0x44ed13
mov esi, dword [ebp - 0x14]
jmp 0x44ed16
push esi
call dword [0x4d6c3c]
mov esi, eax
mov dword [ebp - 0x14], esi
add esp, 4
test esi, esi
je 0x44ee65
mov eax, dword [ebp + 8]
push 2
push esi
push edi
movsx ecx, word [eax + 0x4c]
push 0
push eax
mov word [eax + ecx*2 + 0x4e], bx
call fcn.00427a40
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x44ee5a
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x10]
push esi
mov edi, eax
call fcn.00422f30
mov esi, dword [ebp - 0x18]
add esp, 0x10
test edi, edi
jns 0x44ed67
lea edx, [ebx + 1]
mov dword [ebp - 0xc], edx
jmp 0x44ed76
jle 0x44ee32
mov edx, dword [ebp - 0xc]
lea esi, [ebx - 1]
mov dword [ebp - 0x18], esi
cmp edx, esi
jg 0x44eb6d
lea ebx, [esi + edx]
mov edx, dword [ebp - 8]
sar ebx, 1
jmp 0x44ec10
mov eax, dword [ebx + 0x40]
movzx ecx, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl ecx, 8
or ecx, eax
movzx eax, word [ebx + 0x14]
and ecx, eax
add ecx, dword [ebx + 0x38]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 0xc]
shl edx, 8
or edx, eax
movsx eax, word [edi + 0x4c]
push edx
push edi
mov word [edi + eax*2 + 0x4e], cx
call fcn.0043d350
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ee6a
mov edi, dword [ebp + 8]
jmp 0x44eac0
push 0x4c3c3c
push 0xe255
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004256b0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
xor edi, edi
mov dword [eax], 0
jmp 0x44ee6a
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov word [edx + eax*2 + 0x4e], bx
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
xor edi, edi
jmp 0x44ee6a
mov eax, dword [ebp + 0x1c]
xor edi, edi
mov edx, dword [ebp + 8]
mov ecx, 0xb
mov dword [eax], 0
movsx eax, word [edx + 0x4c]
mov word [edx + eax*2 + 0x4e], bx
mov eax, dword [ebp + 0xc]
cmp byte [eax + 7], 0
cmovne edi, ecx
jmp 0x44ee6a
push esi
call fcn.00422f30
add esp, 4
jmp 0x44ee6a
mov edi, 7
mov eax, dword [ebp + 8]
xor ecx, ecx
and byte [eax + 0x48], 0xf9
mov word [eax + 0x2c], cx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret