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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
cmp byte [ebx + 0x42], 1
push ebp
push esi
push edi
jne 0x44a7ac
mov cl, byte [ebx + 0x40]
test cl, 2
je 0x44a7ac
cmp byte [ebx + 0x45], 0
je 0x44a7ac
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x38]
cmp eax, edx
mov esi, dword [ebx + 0x14]
jne 0x44a787
cmp esi, dword [esp + 0x3c]
jne 0x44a787
mov eax, dword [esp + 0x44]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test cl, 8
je 0x44a7ac
cmp esi, dword [esp + 0x3c]
jg 0x44a7ac
jl 0x44a798
cmp eax, edx
jae 0x44a7ac
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
test esi, esi
je 0x44a7c5
mov eax, esi
call fcn.00432750
mov dword [esp + 0x18], eax
mov byte [esi + 7], 0
jmp 0x44a7cd
mov dword [esp + 0x18], 0
mov edi, ebx
call fcn.00447da0
test eax, eax
jne 0x44abd2
cmp byte [ebx + 0x42], al
jne 0x44a7f3
mov edx, dword [esp + 0x44]
mov dword [edx], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, 1
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
movsx eax, byte [ebx + 0x44]
mov esi, dword [ebx + eax*4 + 0x78]
movzx ebp, word [esi + 0x12]
mov edi, dword [esp + 0x18]
sub ebp, 1
mov dword [esp + 0x14], ebp
sar ebp, cl
test edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0
mov word [ebx + eax*2 + 0x50], bp
jne 0x44a923
mov eax, dword [esi + 0x40]
mov ax, word [eax + ebp*2]
mov ch, al
mov cl, ah
movzx eax, cx
movzx ecx, word [esi + 0x14]
and eax, ecx
add eax, dword [esi + 0x44]
cmp byte [esi + 3], 0
je 0x44a873
cmp byte [eax], 0x80
jb 0x44a870
mov ecx, dword [esi + 0x3c]
jmp 0x44a860
add eax, 1
cmp eax, ecx
jae 0x44aad5
cmp byte [eax], 0x80
jae 0x44a860
add eax, 1
lea edi, [esp + 0x24]
call fcn.0040dcb0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
cmp eax, edx
mov ecx, dword [esp + 0x24]
jg 0x44a8da
jl 0x44a894
cmp ecx, dword [esp + 0x38]
jae 0x44a8ce
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jle 0x44a8e7
or edi, 0xffffffff
cmp byte [esi + 5], 0
jne 0x44ab7f
movzx edx, word [esi + 0x12]
mov edi, dword [esp + 0x10]
cmp edi, edx
jl 0x44aa92
movzx eax, byte [esi + 6]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + ecx + 8]
jmp 0x44aaac
cmp eax, edx
jl 0x44a900
jg 0x44a8da
cmp ecx, dword [esp + 0x38]
jbe 0x44a900
lea eax, [ebp - 1]
cmp dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jg 0x44a8f9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ebp, [edx + eax]
sar ebp, 1
jmp 0x44a832
mov edi, 1
jmp 0x44a8a4
or byte [ebx + 0x40], 2
mov dword [ebx + 0x10], ecx
movsx ecx, byte [ebx + 0x44]
mov dword [ebx + 0x14], eax
mov word [ebx + ecx*2 + 0x50], bp
cmp byte [esi + 5], 0
jne 0x44aafe
mov dword [esp + 0x10], ebp
jmp 0x44a8ae
mov edx, dword [esi + 0x40]
mov ax, word [edx + ebp*2]
movzx edx, word [esi + 0x14]
mov ch, al
mov cl, ah
movzx eax, cx
and eax, edx
add eax, dword [esi + 0x44]
movzx edx, byte [esi + 8]
movzx ecx, byte [eax]
cmp ecx, edx
jg 0x44a95b
mov edx, dword [esp + 0x34]
push edx
add eax, 1
push eax
push ecx
call edi
add esp, 0xc
mov edi, eax
jmp 0x44aa58
mov dl, byte [eax + 1]
test dl, dl
js 0x44a98b
and ecx, 0x7f
movzx edx, dl
shl ecx, 7
add ecx, edx
movzx edx, word [esi + 0xa]
cmp ecx, edx
jg 0x44a98b
mov edx, dword [esp + 0x34]
push edx
add eax, 2
push eax
push ecx
call edi
add esp, 0xc
mov edi, eax
jmp 0x44aa58
movzx ecx, byte [esi + 7]
mov edx, dword [esi + 0x50]
lea edi, [ebx + 0x10]
push edi
sub eax, ecx
push eax
push esi
call edx
mov ebx, dword [edi]
add esp, 0xc
cmp ebx, 2
jl 0x44ab1c
lea eax, [ebx + 0x12]
cdq
push edx
push eax
call fcn.00415c30
mov esi, eax
add esp, 8
test esi, esi
je 0x44ab41
mov edi, dword [esp + 0x30]
movsx eax, byte [edi + 0x44]
push 2
push esi
push ebx
push 0
mov word [edi + eax*2 + 0x50], bp
call fcn.00447fa0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44ab5e
mov ecx, dword [esp + 0x34]
push ecx
push esi
push ebx
call dword [esp + 0x24]
add esp, 0xc
cmp dword [0x488008], 0
mov edi, eax
je 0x44aa46
mov eax, dword [0x48d140]
test eax, eax
je 0x44aa13
push eax
call dword [0x48805c]
add esp, 4
push esi
call dword [0x488038]
sub dword [0x48cf98], eax
sub dword [0x48cfbc], 1
add esp, 4
push esi
call dword [0x488030]
mov eax, dword [0x48d140]
add esp, 4
test eax, eax
je 0x44aa50
push eax
call dword [0x488064]
jmp 0x44aa4d
push esi
call dword [0x488030]
add esp, 4
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
test edi, edi
jge 0x44aa65
lea edx, [ebp + 1]
mov dword [esp + 0x10], edx
jmp 0x44aa72
jle 0x44aba2
lea eax, [ebp - 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jg 0x44a8a4
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea ebp, [eax + ecx]
sar ebp, 1
jmp 0x44a923
mov edx, dword [esi + 0x40]
mov ax, word [edx + edi*2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x14]
movzx edx, cx
mov ecx, dword [esi + 0x38]
and edx, eax
mov eax, dword [edx + ecx]
movsx edx, byte [ebx + 0x44]
bswap eax
push eax
mov eax, ebx
mov word [ebx + edx*2 + 0x50], di
call fcn.00443ef0
mov edi, eax
add esp, 4
test edi, edi
jne 0x44abc6
mov ecx, dword [esp + 0x20]
jmp 0x44a800
push 0x485634
push 0xe64b
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x44]
xor edi, edi
mov dword [eax], 0
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], di
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x485634
push 0xe694
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
mov ebx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x44abc1
mov ebx, dword [esp + 0x30]
and byte [ebx + 0x40], 0xf9
mov edi, 7
mov word [ebx + 0x24], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push esi
call fcn.00412080
mov ebx, dword [esp + 0x34]
add esp, 4
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
movsx ecx, byte [ebx + 0x44]
mov edx, dword [esp + 0x44]
mov word [ebx + ecx*2 + 0x50], bp
mov dword [edx], edi
xor edi, edi
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], di
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov dword [eax], 0
movsx ecx, byte [ebx + 0x44]
xor edi, edi
mov word [ebx + ecx*2 + 0x50], bp
cmp byte [edx + 7], 0
je 0x44abc6
mov edi, 0xb
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret