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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x30], edi
cmp byte [ecx], 4
jne 0x456ab0
mov esi, dword [ecx + 4]
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 8], ecx
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], eax
mov al, byte [ecx + 1]
test al, 0x20
je 0x456b1a
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x456b0d
mov edx, dword [esi + 0x40]
jmp 0x456ae7
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x456b09
cmp ecx, esi
je 0x456ae0
test edx, edx
je 0x456af4
cmp dword [ecx + 0x40], edx
jne 0x456ae0
push esi
call fcn.00446610
add esp, 4
mov esi, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x456aa6
jmp 0x456b1a
test esi, esi
je 0x456b12
and al, 0xdf
mov byte [esi + 1], al
mov dword [esp + 0x10], 0
mov eax, dword [esp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x456ba5
mov ecx, edx
and ecx, 2
or ecx, edi
je 0x456c94
test edi, edi
jne 0x456d25
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00446880
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
xor ecx, dword [edx + 0xc]
mov edx, dword [edx + 8]
xor edx, eax
or edx, ecx
jne 0x456d25
mov ecx, dword [esp + 0x18]
pcmpeqd xmm0, xmm0
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
lea edx, [esp + 0x50]
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, dword [ecx]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
jmp 0x456c45
cmp byte [ebx + 0xb], 0
je 0x456bfd
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 0x40]
mov byte [ebx + 0xb], 0
mov esi, dword [ebx + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
mov esi, dword [esi + 8]
jmp 0x456bd3
mov esi, dword [esi + 0x18]
test esi, esi
je 0x456bfd
test byte [esi + 1], 0x10
je 0x456bd0
mov byte [ebx + 0xb], 1
cmp dword [esi + 0x40], eax
jne 0x456bd0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
xor ecx, dword [esp + 0xc]
xor edx, dword [esp + 0x1c]
or edx, ecx
jne 0x456bd0
mov byte [esi], 1
jmp 0x456bd0
mov edx, dword [esp + 8]
test byte [edx + 1], 2
je 0x456c51
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [edx + 0x24]
xor eax, dword [edx + 0x20]
or eax, ecx
jne 0x456c51
cmp word [edx + 0x32], 0
je 0x456d25
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
add eax, dword [ecx + 0x1c]
cmp dword [edx + 0x2c], eax
jne 0x456d25
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
call fcn.00461ed0
mov esi, eax
jmp 0x456aa6
mov ebx, dword [ebp + 8]
test edi, edi
jne 0x456d25
mov ecx, dword [esp + 8]
xor eax, eax
test ebx, ebx
lea esi, [esp + 0x30]
setne al
xor edx, edx
push esi
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00456050
add esp, 0x10
mov esi, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x456aa6
jmp 0x456d25
mov edi, dword [esp + 0x18]
mov esi, edx
movzx ecx, word [edi + 0x18]
test cx, cx
je 0x456cea
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x50]
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x54], eax
mov word [esp + 0x58], cx
mov ecx, dword [esp + 8]
xor eax, eax
test esi, esi
lea esi, [esp + 0x30]
mov dword [esp + 0x5a], 0
mov byte [esp + 0x5e], 0
setne al
push esi
push eax
push 0
push 0
call fcn.00456050
jmp 0x456d08
mov edx, dword [edi]
mov ecx, dword [esp + 8]
xor eax, eax
test esi, esi
lea esi, [esp + 0x30]
setne al
push esi
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0045fc70
add esp, 0x10
mov esi, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x456aa6
mov edi, dword [esp + 0x30]
test edi, edi
je 0x456b3d
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x74]
cmp dword [edi + 0x14], 0
js 0x456d8a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], edi
mov esi, dword [eax + 0x54]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
movzx ebx, byte [edi + 0xa]
cmp byte [edi + 2], 0
mov dword [esp + 0x14], esi
je 0x456da1
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x10]
add edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp edx, 0x7f
mov dword [esp + 0xc], edx
ja 0x456dbe
mov edi, ebx
mov ebx, dword [esp + 0x14]
mov byte [ebx + edi], dl
inc edi
jmp 0x456e26
mov ecx, edi
call fcn.004620e0
mov esi, eax
test eax, eax
mov dword [esp + 0x10], eax
jne 0x456aa6
jmp 0x456d32
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ecx, dword [eax]
mov eax, dword [eax + 8]
cmp eax, 0x7f
mov dword [esp + 0x1c], ecx
ja 0x456de5
mov byte [esi + ebx], al
inc edi
jmp 0x456e9b
mov eax, dword [esp + 0x14]
mov edi, ebx
cmp edx, 0x3fff
lea ecx, [eax + ebx]
mov eax, edx
ja 0x456e11
shr eax, 7
add edi, 2
or al, 0x80
mov byte [ecx], al
mov ah, dl
and ah, 0x7f
mov byte [ecx + 1], ah
jmp 0x456e22
lea ecx, [esi + ebx]
cmp eax, 0x3fff
ja 0x456e80
mov edx, eax
shr eax, 7
add edi, 2
or al, 0x80
mov dword [esp + 0x20], edx
mov byte [ecx], al
mov eax, edx
and al, 0x7f
mov byte [ecx + 1], al
mov eax, edx
jmp 0x456e9f
sar eax, 0x1f
push eax
call fcn.0045fd80
add esp, 4
movzx eax, al
add edi, eax
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, 0x7f
xor esi, esi
cmp ecx, edx
mov ecx, 0
sbb ecx, eax
lea ecx, [ebx + edi]
jb 0x456e46
inc edi
mov byte [ecx], dl
jmp 0x456e76
mov ebx, edi
mov edi, 0x3fff
cmp edi, edx
sbb esi, eax
jb 0x456e69
mov eax, edx
mov edi, ebx
and dl, 0x7f
shr eax, 7
add edi, 2
or al, 0x80
mov byte [ecx], al
mov byte [ecx + 1], dl
jmp 0x456e76
push eax
call fcn.0045fd80
add esp, 4
mov edi, ebx
add edi, eax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
jmp 0x456e9f
mov ebx, esi
mov esi, eax
sar eax, 0x1f
mov edx, esi
push eax
call fcn.0045fd80
add esp, 4
movzx eax, al
add edi, eax
mov eax, esi
mov esi, ebx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x24]
mov ebx, edi
add edi, esi
movzx ecx, word [edx + 0xe]
cmp eax, ecx
jle 0x457103
movzx esi, word [edx + 0x10]
mov edx, dword [edx + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], esi
sub eax, esi
mov esi, dword [edx + 0x28]
mov dword [esp + 0x34], edx
xor edx, edx
add esi, 0xfffffffc
div esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov esi, edx
add esi, eax
cmp esi, ecx
cmovg esi, eax
lea ecx, [esi + ebx]
lea eax, [esi + ebx + 4]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
nop word [eax + eax]
cmp eax, esi
mov ebx, eax
mov dword [esp + 0xc], eax
cmovg ebx, esi
cmp ecx, ebx
jge 0x456f40
test ecx, ecx
jle 0x456f51
push ecx
push dword [esp + 0x20]
push edi
mov ebx, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, ebx
jmp 0x456f62
push ebx
push dword [esp + 0x20]
push edi
mov dword [esp + 0x2c], ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
jmp 0x456f5e
push ebx
push 0
push edi
mov dword [esp + 0x2c], ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0xc]
sub eax, ebx
jle 0x457142
add dword [esp + 0x1c], ebx
add edi, ebx
sub ecx, ebx
sub esi, ebx
jne 0x456f10
mov esi, dword [esp + 0x34]
mov dword [esp + 0x44], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
cmp byte [esi + 0x11], 0
mov edi, ebx
je 0x457014
mov eax, dword [0x51d800]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], eax
nop word [eax + eax]
mov edi, ebx
inc ebx
xor eax, eax
cmp ebx, 2
jb 0x456ffa
mov eax, 0xcccccccd
mov dword [esp + 0x38], edi
xor ecx, ecx
mul dword [esi + 0x28]
mov eax, dword [esp + 0x38]
mov esi, edx
lea edi, [eax - 1]
xor edx, edx
shr esi, 2
mov eax, edi
inc esi
div esi
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
sub edi, edx
xor edx, edx
div dword [esi + 0x24]
lea edx, [edi + 1]
cmp edx, eax
sete cl
lea eax, [ecx + edi + 2]
mov edi, dword [esp + 0x38]
cmp ebx, eax
je 0x456fb0
mov eax, dword [esp + 0x4c]
xor edx, edx
div dword [esi + 0x24]
cmp edi, eax
je 0x456fb0
mov ebx, dword [esp + 0x78]
inc edi
mov dword [esp + 0x28], edi
mov ecx, esi
lea edx, [esp + 0x44]
push 0
push edi
lea eax, [esp + 0x30]
push eax
call fcn.00447000
add esp, 0xc
mov ecx, esi
mov esi, eax
test eax, eax
mov dword [esp + 0x50], eax
jne 0x45706d
cmp byte [ecx + 0x11], 0
je 0x45706d
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x50]
cmp ebx, 1
mov eax, 4
sbb eax, 0
mov edx, edi
push esi
push ebx
push eax
call fcn.00448580
add esp, 0xc
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x45707d
jmp 0x457422
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x45749d
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
bswap edi
test ebx, ebx
mov dword [eax], edi
je 0x4570dd
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45709d
call fcn.00442220
jmp 0x4570dd
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 esi, dword [ecx + 0x18]
mov ebx, dword [edi + 0x98]
dec esi
mov eax, esi
mul ebx
sar ebx, 0x1f
imul ebx, esi
mov esi, dword [edi + 0x3c]
add edx, ebx
mov edi, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
mov esi, dword [esp + 0x44]
call dword [edi + 0x48]
add esp, 0x10
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x2c], eax
mov dword [ecx], 0
mov dword [esp + 0x48], ecx
mov edi, dword [eax + 0x38]
mov esi, dword [esi + 0x28]
add edi, 4
add esi, 0xfffffffc
jmp 0x456f02
add ebx, eax
mov esi, eax
mov eax, 4
cmp ebx, 3
cmovg eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
push ebx
push dword [esp + 0x20]
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add edi, ebx
sub esi, ebx
mov ebx, dword [esp + 0x14]
push esi
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov esi, dword [esp + 8]
jmp 0x45719e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x457196
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45715a
call fcn.00442220
jmp 0x457196
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 esi, dword [ecx + 0x18]
mov ebx, dword [edi + 0x98]
dec esi
mov eax, esi
mul ebx
sar ebx, 0x1f
imul ebx, esi
mov esi, dword [edi + 0x3c]
add edx, ebx
mov edi, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
cmp dword [esp + 0x30], 0
movzx edx, word [esi + 0x46]
je 0x457270
mov edi, ebx
jns 0x4571d0
mov eax, dword [esp + 0x24]
cmp word [eax + 0x18], 0
je 0x4571d0
inc edx
mov word [esi + 0x46], dx
and byte [esi + 1], 0xfd
movzx edx, dx
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0
push 0
push dword [esp + 0x48]
push edi
call fcn.00462320
add esp, 0x14
mov word [esi + 0x32], 0
cmp byte [ebx + 0xc], 0
je 0x4572b6
and byte [esi + 1], 0xfd
mov ecx, esi
call fcn.00462600
mov ecx, esi
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [ecx + 0x74]
mov byte [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov byte [ecx], 1
test al, 2
je 0x456aa6
test esi, esi
jne 0x456aa6
mov edi, dword [esp + 8]
mov ecx, edi
call fcn.004466a0
xor esi, esi
cmp dword [edi + 0x70], 0
je 0x4572e3
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
call fcn.0041c030
test eax, eax
mov dword [edi + 0x10], eax
je 0x457300
push dword [ebx + 8]
push dword [ebx]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
jmp 0x45730d
mov eax, dword [esp + 0x24]
pcmpeqd xmm0, xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
movdqa xmmword [esp + 0x50], xmm0
mov ecx, dword [eax + 0x48]
mov eax, dword [ecx + 0x14]
test byte [ecx + 0x1c], 4
je 0x4572a6
mov edi, edx
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x18]
mov edx, edi
jae 0x4572d6
mov esi, dword [eax + 0x28]
test esi, esi
je 0x4572bf
mov dword [esp + 0x10], esi
jmp 0x456aa6
mov esi, dword [esp + 0x10]
jmp 0x456aa6
mov esi, dword [eax + 0x94]
mov edi, edx
cmp esi, dword [eax + 0x98]
jbe 0x4572e9
call fcn.00445510
jmp 0x4572ee
cmp dword [eax + 0x60], 0
je 0x457323
call fcn.0043b610
jmp 0x4572ee
mov ebx, dword [esp + 0x18]
jmp 0x45730d
call fcn.00445900
mov esi, eax
test eax, eax
mov edx, edi
mov dword [esp + 0x10], eax
jne 0x456aa6
jmp 0x45732b
mov dword [esp + 0x10], 7
mov esi, 7
mov eax, dword [esp + 8]
mov byte [eax], 3
movq xmm0, qword [ebx + 8]
movq qword [eax + 0x38], xmm0
jmp 0x456aa6
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x24]
mov edi, edx
mov dword [esp + 0xc], edi
mov esi, dword [ecx + 0x40]
movzx eax, word [ecx + 0x1a]
movzx edx, byte [esi + edx*2]
movzx esi, byte [esi + edi*2 + 1]
shl edx, 8
or esi, edx
and esi, eax
add esi, dword [ecx + 0x38]
cmp byte [ecx + 8], 0
jne 0x457359
mov eax, dword [esi]
mov dword [ebx], eax
lea eax, [esp + 0x50]
mov edx, esi
push eax
call fcn.004605c0
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
and byte [eax + 1], 0xfb
movzx eax, word [esp + 0x62]
mov edi, dword [esp + 0x3c]
cmp edi, eax
jne 0x4573c1
movzx ecx, word [esp + 0x60]
cmp dword [esp + 0x5c], ecx
jne 0x4573c1
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 0x11], 0
je 0x4573a2
mov ecx, dword [esp + 0x24]
movzx ecx, word [ecx + 0x10]
cmp edi, ecx
jge 0x4573c1
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x38]
movzx ecx, byte [edx + 9]
lea eax, [eax + ecx + 0xa]
cmp esi, eax
jae 0x4573f2
push 0x50d803
push 0x11dc6
jmp 0x457404
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x10]
mov edx, edi
push esi
push eax
call fcn.00462210
add esp, 8
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x456aa6
mov esi, dword [esp + 8]
mov edx, edi
mov edi, ebx
jmp 0x4571d0
lea eax, [esi + edi]
cmp eax, dword [edx + 0x3c]
jbe 0x45743a
push 0x50d803
push 0x11dc9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov esi, 0xb
jmp 0x456aa6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45749d
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45744c
call fcn.00442220
jmp 0x45749d
push edi
push ebx
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
xor esi, esi
jmp 0x456aa6
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp + 0xc], eax
mov eax, edi
mul dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
mov ebx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x24]
push edi
call dword [eax + 0x48]
add esp, 0x10
test ebx, ebx
je 0x4572ad
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x4574b8
call fcn.00442220
jmp 0x4572ad
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp + 0xc], eax
mov eax, edi
mul dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x24]
push edi
call dword [eax + 0x48]
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x456aa6