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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], 0
and dl, 2
mov byte [esp + 0xf], dl
cmp byte [edi], 3
mov ebx, dword [edi + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
jne 0x44e22b
call fcn.00444b90
mov esi, eax
test esi, esi
jne 0x44e686
mov edx, dword [edi + 0x74]
movsx eax, byte [edi + 0x44]
movzx ecx, word [edi + 0x46]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
cmp dword [edx + 0x14], 0
mov dword [esp + 0x10], ecx
jge 0x44e27a
mov ecx, edx
call fcn.00445cb0
test eax, eax
jne 0x44e4c7
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
je 0x44e2dc
cmp byte [edx + 8], 0
je 0x44e2cb
push ecx
push edx
call fcn.00445160
movzx ecx, ax
add esp, 8
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
add esi, 2
add esi, ecx
mov ecx, dword [eax + 0x28]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
cmp esi, edx
jg 0x44e2cb
mov eax, dword [esp + 0x14]
cmp word [eax + 0x18], 1
je 0x44e2cb
mov dword [esp + 0x28], 1
jmp 0x44e2e0
mov ecx, edi
call fcn.004449a0
mov esi, eax
test esi, esi
jne 0x44e686
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x44e31e
and byte [edi + 1], 0xf1
xor eax, eax
mov word [edi + 0x32], ax
cmp byte [edi], al
jne 0x44e30f
movzx ecx, word [edi + 0x46]
test cx, cx
je 0x44e30f
mov eax, dword [edi + 0x74]
cmp byte [eax + 8], 0
je 0x44e30f
lea eax, [ecx - 1]
mov word [edi + 0x46], ax
jmp 0x44e31e
mov ecx, edi
call fcn.00449de0
test eax, eax
jne 0x44e688
mov al, byte [edi + 1]
test al, 0x20
je 0x44e34c
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x40]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x44e347
cmp ecx, edi
je 0x44e340
test edx, edx
je 0x44e3b8
cmp dword [ecx + 0x40], edx
je 0x44e3b8
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x44e333
and al, 0xdf
mov byte [edi + 1], al
cmp dword [edi + 0x70], 0
jne 0x44e393
cmp byte [ebx + 0xb], 0
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov ecx, dword [edi + 0x40]
je 0x44e393
mov eax, dword [ebx + 4]
mov byte [ebx + 0xb], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x44e393
nop
test byte [eax + 1], 0x10
je 0x44e38c
mov byte [ebx + 0xb], 1
cmp dword [eax + 0x40], ecx
jne 0x44e38c
cmp dword [eax + 0x20], edx
jne 0x44e38c
cmp dword [eax + 0x24], esi
jne 0x44e38c
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x44e370
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x44e3d0
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x44e3d0
cmp dword [edx + 0x60], 0
je 0x44e3fd
call fcn.0043ee80
jmp 0x44e3f5
test ecx, ecx
je 0x44e347
push edi
call fcn.00444a40
add esp, 4
test eax, eax
je 0x44e34c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x44e688
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x44e3f0
call fcn.004409a0
jmp 0x44e3f5
call fcn.00440920
test eax, eax
jne 0x44e688
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0044ada0
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x46]
push eax
call fcn.0044b330
mov esi, dword [esp + 0x18]
add esp, 8
test esi, esi
jne 0x44e686
cmp byte [ebx + 8], 0
jne 0x44e59b
mov ebx, dword [edi + 0x74]
cmp dword [ebx + 0x14], esi
jge 0x44e45c
mov ecx, ebx
call fcn.00445cb0
mov esi, eax
test esi, esi
jne 0x44e686
movsx eax, byte [edi + 0x44]
mov ecx, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jge 0x44e476
mov eax, dword [edi + ecx*4 + 0x7c]
mov esi, dword [eax + 4]
mov dword [esp + 0x24], esi
jmp 0x44e480
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
movzx ecx, word [ebx + 0x18]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x38]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jae 0x44e4d3
push 0x5190f4
push 0x11e8d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00434780
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x4c]
push ecx
push ebx
mov ecx, esi
call dword [0x4f4350]
call esi
mov ecx, dword [ebx + 0x48]
add esp, 8
movzx esi, ax
mov eax, dword [esp + 0x18]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x18], eax
je 0x44e51e
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x44e51e
cmp dword [edx + 0x60], 0
je 0x44e514
call fcn.0043ee80
jmp 0x44e545
mov dword [esp + 0x10], 0
jmp 0x44e54d
mov eax, dword [edx + 0x28]
test eax, eax
je 0x44e52b
mov dword [esp + 0x10], eax
jmp 0x44e576
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x44e540
call fcn.004409a0
jmp 0x44e545
call fcn.00440920
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44e576
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x28]
lea eax, [esi + 4]
push dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffffc
push eax
call fcn.0044b450
add esp, 0x14
movzx edx, word [ebx + 0x18]
lea eax, [esp + 0x10]
push eax
push esi
dec edx
mov ecx, ebx
call fcn.0044b330
mov esi, dword [esp + 0x18]
add esp, 8
test esi, esi
jne 0x44e686
mov ebx, dword [esp + 0x14]
mov ecx, edi
call fcn.0044d7b0
mov esi, eax
test esi, esi
jne 0x44e686
movsx eax, byte [edi + 0x44]
cmp eax, dword [esp + 0x1c]
jle 0x44e626
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x44e5c9
call fcn.0043e7f0
jmp 0x44e5ce
call fcn.0043a9e0
dec byte [edi + 0x44]
mov cl, byte [edi + 0x44]
mov esi, dword [esp + 0x1c]
movsx eax, cl
cmp eax, esi
jle 0x44e60f
nop
movsx eax, cl
dec cl
mov eax, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], cl
test eax, eax
je 0x44e605
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x44e600
call fcn.0043e7f0
jmp 0x44e605
call fcn.0043a9e0
mov cl, byte [edi + 0x44]
movsx eax, cl
cmp eax, esi
jg 0x44e5e0
movsx eax, cl
mov ecx, edi
mov eax, dword [edi + eax*4 + 0x78]
mov dword [edi + 0x74], eax
call fcn.0044d7b0
mov esi, eax
test esi, esi
jne 0x44e686
cmp dword [esp + 0x28], 0
je 0x44e664
mov byte [edi], 2
movzx eax, word [ebx + 0x18]
cmp dword [esp + 0x20], eax
jb 0x44e654
mov dword [edi + 4], 0xffffffff
mov ax, word [ebx + 0x18]
dec ax
mov word [edi + 0x46], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00449460
cmp byte [esp + 0xf], 0
mov esi, eax
je 0x44e67e
mov ecx, edi
call fcn.00444940
mov byte [edi], 3
xor eax, eax
cmp esi, 0x10
cmove esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret