Function at 0x4426d0
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 0x44273c
mov cl, byte [ebx + 0x40]
test cl, 2
je 0x44273c
cmp byte [ebx + 0x45], 0
je 0x44273c
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x38]
cmp eax, edx
mov esi, dword [ebx + 0x14]
jne 0x442717
cmp esi, dword [esp + 0x3c]
jne 0x442717
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 0x44273c
cmp esi, dword [esp + 0x3c]
jg 0x44273c
jl 0x442728
cmp eax, edx
jae 0x44273c
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 0x442755
mov eax, esi
call fcn.0042a6e0
mov dword [esp + 0x18], eax
mov byte [esi + 7], 0
jmp 0x44275d
mov dword [esp + 0x18], 0
mov edi, ebx
call fcn.0043fd30
test eax, eax
jne 0x442b62
cmp byte [ebx + 0x42], al
jne 0x442783
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 0x4428b3
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 0x442803
cmp byte [eax], 0x80
jb 0x442800
mov ecx, dword [esi + 0x3c]
jmp 0x4427f0
add eax, 1
cmp eax, ecx
jae 0x442a65
cmp byte [eax], 0x80
jae 0x4427f0
add eax, 1
lea edi, [esp + 0x24]
call fcn.00405d40
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
cmp eax, edx
mov ecx, dword [esp + 0x24]
jg 0x44286a
jl 0x442824
cmp ecx, dword [esp + 0x38]
jae 0x44285e
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jle 0x442877
or edi, 0xffffffff
cmp byte [esi + 5], 0
jne 0x442b0f
movzx edx, word [esi + 0x12]
mov edi, dword [esp + 0x10]
cmp edi, edx
jl 0x442a22
movzx eax, byte [esi + 6]
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + ecx + 8]
jmp 0x442a3c
cmp eax, edx
jl 0x442890
jg 0x44286a
cmp ecx, dword [esp + 0x38]
jbe 0x442890
lea eax, [ebp - 1]
cmp dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jg 0x442889
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ebp, [edx + eax]
sar ebp, 1
jmp 0x4427c2
mov edi, 1
jmp 0x442834
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 0x442a8e
mov dword [esp + 0x10], ebp
jmp 0x44283e
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 0x4428eb
mov edx, dword [esp + 0x34]
push edx
add eax, 1
push eax
push ecx
call edi
add esp, 0xc
mov edi, eax
jmp 0x4429e8
mov dl, byte [eax + 1]
test dl, dl
js 0x44291b
and ecx, 0x7f
movzx edx, dl
shl ecx, 7
add ecx, edx
movzx edx, word [esi + 0xa]
cmp ecx, edx
jg 0x44291b
mov edx, dword [esp + 0x34]
push edx
add eax, 2
push eax
push ecx
call edi
add esp, 0xc
mov edi, eax
jmp 0x4429e8
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 0x442aac
lea eax, [ebx + 0x12]
cdq
push edx
push eax
call fcn.0040dcf0
mov esi, eax
add esp, 8
test esi, esi
je 0x442ad1
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.0043ff30
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x442aee
mov ecx, dword [esp + 0x34]
push ecx
push esi
push ebx
call dword [esp + 0x24]
add esp, 0xc
cmp dword [0x47a008], 0
mov edi, eax
je 0x4429d6
mov eax, dword [0x47c4a8]
test eax, eax
je 0x4429a3
push eax
call dword [0x47a05c]
add esp, 4
push esi
call dword [0x47a038]
sub dword [0x47c300], eax
sub dword [0x47c324], 1
add esp, 4
push esi
call dword [0x47a030]
mov eax, dword [0x47c4a8]
add esp, 4
test eax, eax
je 0x4429e0
push eax
call dword [0x47a064]
jmp 0x4429dd
push esi
call dword [0x47a030]
add esp, 4
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
test edi, edi
jge 0x4429f5
lea edx, [ebp + 1]
mov dword [esp + 0x10], edx
jmp 0x442a02
jle 0x442b32
lea eax, [ebp - 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jg 0x442834
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea ebp, [eax + ecx]
sar ebp, 1
jmp 0x4428b3
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.0043be80
mov edi, eax
add esp, 4
test edi, edi
jne 0x442b56
mov ecx, dword [esp + 0x20]
jmp 0x442790
push 0x47735c
push 0xe64b
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
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 0x47735c
push 0xe694
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
mov ebx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x442b51
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.0040a140
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 0x442b56
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