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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [ecx + 8]
pcmpeqd xmm0, xmm0
mov esi, ecx
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 4]
mov dword [esp + 0xc], 0xffffffff
movdqa xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x10], eax
cmp byte [ecx], 3
jne 0x45762f
mov dword [esp + 0x38], 0
mov byte [esi], 1
mov eax, dword [0x51d29c]
test eax, eax
je 0x457584
push 0x19a
call eax
add esp, 4
mov ecx, eax
mov eax, 0xa
test ecx, ecx
jne 0x457880
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
push 0
push dword [esi + 0x3c]
push dword [esi + 0x38]
call fcn.0045fc70
add esp, 0x10
test eax, eax
jne 0x457880
mov edi, dword [esi + 0x10]
test edi, edi
je 0x457605
cmp dword [0x51d1a8], 0
je 0x4575fb
mov eax, dword [0x51e858]
test eax, eax
je 0x4575c9
push eax
call dword [0x51d1f8]
add esp, 4
push edi
call dword [0x51d1d4]
add esp, 4
sub dword [0x51e800], eax
dec dword [0x51e824]
push edi
call dword [0x51d1cc]
add esp, 4
mov eax, dword [0x51e858]
test eax, eax
je 0x457605
push eax
call dword [0x51d200]
jmp 0x457602
push edi
call dword [0x51d1cc]
add esp, 4
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x457619
mov dword [esi + 4], eax
jmp 0x45761f
cmp dword [esi + 4], 0
je 0x457627
cmp byte [esi], 0
jne 0x457627
mov byte [esi], 2
mov dword [esp + 0xc], 0
mov edi, dword [esi + 0x74]
movzx edx, word [esi + 0x46]
mov dword [esp + 0x24], ebx
movsx ebx, byte [esi + 0x44]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x2c], edx
movzx ecx, byte [eax + edx*2]
movzx edx, byte [eax + edx*2 + 1]
movzx eax, word [edi + 0x1a]
shl ecx, 8
or edx, ecx
and edx, eax
add edx, dword [edi + 0x38]
cmp dword [edi + 0x14], 0
mov dword [esp + 0x14], edx
js 0x4576c4
test byte [esp + 0x34], 2
mov al, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], eax
je 0x4577b3
cmp byte [edi + 8], 0
je 0x457796
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0xa]
lea ecx, [edx + eax]
movzx eax, byte [edx + eax]
test al, al
js 0x4576dc
cmp byte [edi + 2], 0
je 0x457719
mov edx, 1
nop word [eax + eax]
lea ebx, [edx + 1]
cmp edx, 8
ja 0x4576c0
cmp byte [ecx + edx], 0
mov edx, ebx
js 0x4576b0
add ecx, ebx
jmp 0x45771a
mov ecx, edi
call fcn.004620e0
mov ecx, eax
mov eax, 0xb
test ecx, ecx
jne 0x457884
jmp 0x457666
and eax, 0x7f
xor edx, edx
mov dword [esp + 0x1c], edi
nop word cs:[eax + eax]
nop
movzx ebx, byte [ecx + edx + 1]
mov edi, eax
shl edi, 7
mov eax, ebx
and eax, 0x7f
or eax, edi
cmp edx, 6
lea edx, [edx + 1]
ja 0x45770d
test bl, bl
js 0x4576f0
mov edi, dword [esp + 0x1c]
add ecx, edx
cmp byte [edi + 2], 0
jne 0x4576a5
inc ecx
movzx ebx, word [edi + 0xe]
cmp eax, ebx
jbe 0x457759
movzx edx, word [edi + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
sub eax, edx
mov edx, dword [edi + 0x34]
mov edi, dword [edx + 0x28]
xor edx, edx
add edi, 0xfffffffc
div edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add edx, eax
cmp edx, ebx
cmova edx, eax
sub ecx, dword [esp + 0x14]
movzx eax, cx
lea eax, [eax + edx + 4]
jmp 0x45776a
sub ecx, dword [esp + 0x14]
add ecx, eax
mov eax, 4
cmp ecx, 4
cmova eax, ecx
mov ecx, dword [esp + 0x18]
movzx eax, ax
mov ebx, dword [esp + 0x28]
mov edx, 0xaaaaaaab
lea ecx, [ecx + eax + 2]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x28]
add eax, eax
mul edx
shr edx, 1
cmp ecx, edx
jg 0x457796
cmp word [edi + 0x18], 1
jne 0x4577ab
mov ecx, esi
call fcn.00446780
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
jmp 0x4577b3
mov dword [esp + 0x30], 0
cmp byte [edi + 8], 0
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], ecx
je 0x457807
mov al, byte [esi + 1]
test al, 0x20
je 0x45785b
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x45784e
mov edx, dword [esi + 0x40]
jmp 0x4577e7
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x45784a
cmp ecx, esi
je 0x4577e0
test edx, edx
je 0x4577f4
cmp dword [ecx + 0x40], edx
jne 0x4577e0
push esi
call fcn.00446610
add esp, 4
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
jmp 0x45785b
and byte [esi + 1], 0xf1
mov word [esi + 0x32], 0
cmp byte [esi], 0
je 0x457827
mov ecx, esi
call fcn.00461b80
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
jmp 0x4577c0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x457816
mov ecx, dword [ecx]
cmp byte [ecx + 8], 0
je 0x457816
dec eax
mov word [esi + 0x46], ax
mov dword [esp + 0xc], 0
jmp 0x4577c0
test esi, esi
je 0x457853
and al, 0xdf
mov byte [esi + 1], al
mov dword [esp + 0xc], 0
cmp dword [esi + 0x70], 0
je 0x45788c
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x14]
test byte [ecx + 0x1c], 4
je 0x457879
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jae 0x45790e
mov eax, dword [edx + 0x28]
test eax, eax
je 0x4578f9
mov dword [esp + 0xc], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb], 0
je 0x457861
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0xb], 0
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x4578c3
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x457861
test byte [ecx + 1], 0x10
je 0x4578c0
mov edx, dword [esp + 0x10]
mov byte [edx + 0xb], 1
cmp dword [ecx + 0x40], eax
jne 0x4578c0
mov ebx, dword [ecx + 0x24]
mov edx, edi
mov edi, dword [ecx + 0x20]
xor edi, dword [esp + 0x20]
xor ebx, dword [esp + 0x3c]
or ebx, edi
mov ebx, dword [esp + 0x28]
mov edi, edx
jne 0x4578c0
mov byte [ecx], 1
jmp 0x4578c0
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x45791b
call fcn.00445510
jmp 0x457920
cmp dword [edx + 0x60], 0
je 0x45792e
call fcn.0043b610
jmp 0x457920
call fcn.00445900
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
jmp 0x457936
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.004605c0
add esp, 4
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x52]
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, ebx
lea ebx, [esp + 0xc]
push ebx
mov ebx, eax
push dword [esp + 0x14]
call fcn.00462210
mov edx, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x457884
cmp byte [edi + 8], 0
je 0x457a4c
mov ecx, esi
call fcn.00462600
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
cmp byte [esi + 0x44], bl
jle 0x457b9a
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x48]
call fcn.004421c0
mov cl, byte [esi + 0x44]
dec cl
movsx eax, cl
cmp cl, bl
mov byte [esi + 0x44], cl
jle 0x457b80
mov dword [esp + 0x1c], edi
jmp 0x4579df
call fcn.00442220
movzx ecx, byte [esi + 0x44]
movsx eax, cl
cmp cl, bl
jle 0x457b80
dec cl
mov byte [esi + 0x44], cl
mov eax, dword [esi + eax*4 + 0x78]
test eax, eax
je 0x4579d0
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x4579cb
mov edi, dword [ecx + 0x14]
dec dword [edi + 0x78]
mov eax, dword [edi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [edi + 0x88], ecx
mov ebx, dword [ecx + 0x18]
mov eax, dword [edi + 0x98]
mov edi, dword [edi + 0x3c]
dec ebx
mov dword [esp + 0x10], eax
mov eax, ebx
mul dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
sar eax, 0x1f
imul eax, ebx
mov ebx, dword [esp + 0x28]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x2c]
call dword [eax + 0x48]
add esp, 0x10
jmp 0x4579d0
mov ecx, dword [edx]
cmp dword [ecx + 0x14], 0
js 0x457b5a
movsx eax, byte [esi + 0x44]
dec eax
cmp eax, ebx
lea eax, [esi + ebx*4 + 0x7c]
mov ebx, dword [ecx + 0x40]
cmovg edx, eax
mov eax, ecx
movzx ecx, word [ecx + 0x18]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx + ecx*2 - 2]
movzx ebx, byte [ebx + ecx*2 - 1]
mov ecx, eax
movzx eax, word [eax + 0x1a]
shl edx, 8
or ebx, edx
and ebx, eax
cmp ebx, 3
ja 0x457ab7
push 0x50d803
push 0x11e8f
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov eax, 0xb
jmp 0x457884
mov eax, dword [esp + 0x18]
add ebx, dword [ecx + 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
push ebx
push ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
call dword [eax + 0x4c]
add esp, 8
movzx eax, ax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
call fcn.00424050
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457b2b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add ebx, 0xfffffffc
mov ecx, edi
add eax, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push ebx
call fcn.00462320
add esp, 0x14
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
movzx edx, word [ecx + 0x18]
dec edx
push eax
push dword [esp + 0x18]
call fcn.00462210
add esp, 8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test eax, eax
jne 0x457884
jmp 0x45798b
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
call fcn.004620e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
jmp 0x457a58
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.00462600
test eax, eax
mov dword [esp + 0xc], eax
jne 0x457884
cmp byte [esp + 0x30], 0
je 0x457bd4
mov ecx, esi
call fcn.0045ff10
test byte [esp + 0x34], 2
mov dword [esp + 0xc], eax
je 0x457bc1
mov ecx, esi
call fcn.004466a0
mov byte [esi], 3
mov eax, dword [esp + 0xc]
cmp eax, 0x10
jne 0x457884
mov dword [esp + 0xc], 0
jmp 0x457bf9
mov eax, dword [esp + 0x2c]
mov byte [esi], 2
cmp ax, word [edi + 0x18]
jae 0x457bea
mov dword [esi + 4], 1
jmp 0x457bf9
mov dword [esi + 4], 0xffffffff
mov eax, dword [edi + 0x18]
dec eax
mov word [esi + 0x46], ax
xor eax, eax
jmp 0x457884